Req #64829 [Opn->Sus]: The ability to use MySQLi really asynchronously with libevent, libev and etc.

From: Date: Thu, 06 Apr 2017 10:01:04 +0000
Subject: Req #64829 [Opn->Sus]: The ability to use MySQLi really asynchronously with libevent, libev and etc.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208354@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64829&edit=1 ID: 64829 Updated by: johannes@php.net Reported by: amal dot samally at gmail dot com Summary: The ability to use MySQLi really asynchronously with libevent, libev and etc. -Status: Open +Status: Suspended Type: Feature/Change Request Package: MySQLi related PHP Version: Irrelevant Block user comment: N Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2013-05-13 15:50:59] 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 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=64829&edit=1

« previous php.bugs (#208354) next »