首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > 纯Perl异步MySQL驱动程序

纯Perl异步MySQL驱动程序

资 源 简 介

Most MySQL drivers (and database drivers in general) are synchronous, i.e. the execution of a script is blocked until having connected to the database or having obtained the result of a query. This is often unacceptable for highload services, since one probably wants the script do something useful while MySQL server is executing a long query. So perl-mysql-async is developed to make asynchronous requests to the server: a script submits a query, specifies a callback for the result and continues executing in the libevent loop; when the result of the query is completely read from the server, the specified callback is called with the result as a parameter. New versions of MySQL 4.1 protocol and newer versions are supported.

文 件 列 表

perl-mysql-async-v1.1
MysqlPacket.pm
MysqlAsync.pm
AsyncCaller.pm
test.pl
AsyncTCPConnect.pm
VIP VIP
0.186304s