[erlang-questions] [ANN] iSQL: load balancing of mysql requests among multiple connections with pipelining, ibrowse-like interface
virtan
virtan@REDACTED
Sun Mar 30 18:29:17 CEST 2014
Hi, again.
The child of ibrowse and emysql parents: mysql client with load balancing among multiple connections with pipelining.
With ibrowse-like interface.
https://github.com/virtan/isql
Simplified usage:
application:start(isql),
SQLEntity = #sql_entity{host = "", port = "", ...},
isql:set_max_sessions(SQLEntity, 2),
isql:set_max_pipeline_size(SQLEntity, 10),
{ok, #result_packet{}} = isql:send_req(SQLEntity, "select 'hello world'").
Alpha version.
MIT license.
--
virtan / virtan@REDACTED / http://www.virtan.com
More information about the erlang-questions
mailing list