amphp / mysql

An async MySQL client for PHP, optimizing database interactions with efficient non-blocking capabilities. Perfect for responsive, high-performance applications.
Other
358 stars 63 forks source link

Prepare mysql statements on other connections if the connections where it's already prepared are busy #18

Closed bwoebi closed 5 years ago

bwoebi commented 8 years ago

To avoid bigger latencies when multiple prepared statements are prepared on a same connection and they're all executed simultaneously.

[And not just when connections crashed.]

kelunik commented 6 years ago

@trowski Is this already been solved? IIRC, there have been changes to implement this, no? Currently the client falls over in case of many concurrent executions of a single prepared statement.