|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #64829 The ability to use MySQLi really asynchronously with libevent, libev and etc.
Submitted: 2013-05-13 15:50 UTC Modified: 2017-04-06 10:00 UTC
Avg. Score:5.0 ± 0.0
Reproduced:5 of 5 (100.0%)
Same Version:5 (100.0%)
Same OS:5 (100.0%)
From: amal dot samally at gmail dot com Assigned:
Status: Suspended Package: MySQLi related
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
33 - 17 = ?
Subscribe to this entry?

 [2013-05-13 15:50 UTC] amal dot samally at gmail dot com
Please create the ability to use MySQLi really asynchronously with libevent, libev 
and etc.

Currently, the MySQLi can not be effectively used for asynchronous requests - you 
need to check results through 'mysqli_poll' in the cycle.

Instead, we would like to use libevent / libev and other alternatives. This 
requires an interface like in ZeroMQ for accessing raw socket resource:


Add a Patch

Pull Requests

Pull requests:

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-06 10:00 UTC]
-Status: Open +Status: Suspended
 [2017-04-06 10:00 UTC]
giving access to the socket could be done relatively easily through a mysqlnd_plugin, but keeping state in order might be non trivial. I'd rather see a common async framework in PHP, which then can be used in a consistent clean way.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Sep 30 02:01:25 2023 UTC