php.net |  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
Votes:6
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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: amal dot samally at gmail dot com
New email:
PHP Version: OS:

 

 [2013-05-13 15:50 UTC] amal dot samally at gmail dot com
Description:
------------
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:
http://toys.lerdorf.com/archives/57-ZeroMQ-+-libevent-in-PHP.html


Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-06 10:00 UTC] johannes@php.net
-Status: Open +Status: Suspended
 [2017-04-06 10:00 UTC] johannes@php.net
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-2025 The PHP Group
All rights reserved.
Last updated: Thu Mar 13 20:01:30 2025 UTC