-
-
Notifications
You must be signed in to change notification settings - Fork 190
Support for MongoDB Driver #299
Comments
This library will not be adapted to use the new driver. If you're looking for a replacement of this library, you can check out the MongoDB PHP library: https://github.com/mongodb/mongo-php-library. We are in the process of adapting Doctrine MongoDB ODM to use the new library (and thus the new driver). You can track progress for this rewrite in doctrine/mongodb-odm#1553. |
For the record,
That quote is taken from |
Gosh, you're right. I must have been blinded by hope. The lack of connection pooling is one of the most annoying performance bottlenecks when using MongoDB with PHP. Using mongos even with mono-shard setups helps a bit (but also reduces redundancy, because the only way to mitigate it is to point to only one mongos), but is very far from being a solution. Let's hope pooling will find it's way to the new PHP extension. Thanks a lot for pointing it out and redirecting me to the issue. |
The very idea of connection pooling conflicts with PHP's architecture for request handling. Note that this is a general problem for all database drivers (see: https://stackoverflow.com/q/39753/162228). |
Hi Folks,
Is anyone here already working on switching to the new PHP MongoDB Driver ( http://php.net/manual/en/set.mongodb.php )? Particularly the connection pooling of it is very interesting. If no one is working on it, I can give it a take and then hand it over.
Best Wishes!
Lorenzo
The text was updated successfully, but these errors were encountered: