The following module was proposed for inclusion in the Module List:
modid: AnyEvent::MySQL
DSLIP: adpOp
description: MySQL client using async AnyEvent socket
userid: CINDY (Cindy Wang (CindyLinz))
chapterid: 7 (Database_Interfaces)
communities:
github
similar:
AnyEvent::DBI DBI DBD::mysql Net::MySQL
rationale:
DBI(+DBD::mysql) is mainly synchronous. Though it add an Async flag
a few months ago. But it only support in "prepare" and "do"
commands. And without a proper queueing scheme.
AnyEvent::DBI(+DBD::mysql) is using a forked worker process to run
DBI. There are much more overhead to drive a seperated process, and
extra work to serialize/unserialize data between the processes.
Net::MySQL is synchronous.
In addition, all of the three approaches didn't take advantage of
MySQL's prepared statement.
enteredby: CINDY (Cindy Wang (CindyLinz))
enteredon: Thu Nov 24 17:10:19 2011 GMT
The resulting entry would be:
AnyEvent::
::MySQL adpOp MySQL client using async AnyEvent socket CINDY
Thanks for registering,
--
The PAUSE
PS: The following links are only valid for module list maintainers:
Registration form with editing capabilities:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=b6800000_bc641695e4bf35b2&SUBMIT_pause99_add_mod_preview=1
Immediate (one click) registration:
https://pause.perl.org/pause/authenquery?ACTION=add_mod&USERID=b6800000_bc641695e4bf35b2&SUBMIT_pause99_add_mod_insertit=1
Peek at the current permissions:
https://pause.perl.org/pause/authenquery?pause99_peek_perms_by=me&pause99_peek_perms_query=AnyEvent%3A%3AMySQL