-
Hello |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The MongoDB official favors multi-threading mode, so there is no support for multiplexing, which is one reason. I’d highly encourage to cast your votes on the MongoDB Feedback Forum for this request - Asynchronous variant of MongoDB C Driver – MongoDB Feedback Engine . https://www.mongodb.com/community/forums/t/why-not-supply-async-api-in-mongo-c-driver/16260 |
Beta Was this translation helpful? Give feedback.
The MongoDB official favors multi-threading mode, so there is no support for multiplexing, which is one reason.
The MySQL clients in PHP such as PDO_mysql, mysqli, etc. are based on the mysqlnd driver developed by PHP itself. mysqlnd is based on php_stream, which provides a good abstraction for socket operations, hence it can be easily hooked.
I’d highly encourage to cast your votes on the MongoDB Feedback Forum for this request - Asynchronous variant of MongoDB C Driver – MongoDB Feedback Engine .
https://www.mongodb.com/community/forums/t/why-not-supply-async-api-in-mongo-c-driver/16260