- Notifications
You must be signed in to change notification settings - Fork3.2k
-
Hello |
BetaWas this translation helpful?Give feedback.
All reactions
❤️ 1
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 1 reply
-
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 |
BetaWas this translation helpful?Give feedback.
All reactions
-
I recently found this: https://www.mongodb.com/docs/languages/c/c-driver/current/async-c-driver/ Once this is out of preview, would this allow calls to MongoDB from swoole? |
BetaWas this translation helpful?Give feedback.
All reactions
👍 1