Skip to content

MongoDB driver #5164

Answered by twose
ermya asked this question in Q&A
Oct 11, 2023 · 1 comment
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leocavalcante
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants