[erlang-questions] [ANN] Asynchronous PostgreSQL driver
Tue Nov 1 07:18:02 CET 2011
There is asynchronous fork of Will Glozer's epgsql
https://github.com/mabrek/epgsql branch name 'async'
Asynchronous API is implemented by pgsql_sock.erl, see pgsql.erl for
It passes all tests from original driver except 3 timeout tests.
Backward compatibility is preserved by module pgsql.
Differences from original driver:
+ internal queue of client requests, so you don't need to wait
response to send next request
+ responses are delivered as regular erlang messages
+ single process to hold driver state and receive socket data
+ slight code reorganization
It's an early release and it has many things to do. Any suggestions on
API and implementation are welcome.
More information about the erlang-questions