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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Pull requests:

Add a Pull Request

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-2020 The PHP Group
All rights reserved.
Last updated: Wed Nov 25 09:01:23 2020 UTC