Hi Yariv,

I am looking at the mysql driver and it has connection pooling
option.  From what I understand, mysql statements are executed through
gen_server callback functions.  My understanding of gen_server is that
it doesn't process request concurrently by default.  That means you
can only use one connection to execute sql at any point in time.  To
process request concurrently you have to spawn process within the
callback functions.

http://code.google.com/p/erlang-mysql-driver/source/browse/trunk/src/mysql.erl

I do not know the internals of erlang mysql driver, can you shed some
light on this?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to