Hide Forgot
I'm working on the IT hosted infrastructure for pulp/mongodb. One thing we were interested in is the ability to scale our mongo replica sets for pulp out horizontally. The mongo driver for python should support a "read slaves" functionality that should set read-operations to randomly read from slaves in addition to the master, potentially increasing throughput. If you guys could enable this (or make it configurable) that would be awesome! I'm not sure what this is called in the python module. In ruby its "read_secondary" and in java its "slaveOK". Thanks!
http://api.mongodb.org/python/current/api/pymongo/master_slave_connection.html Details on the setting for pymongo ; "slave_ok" is what we want
Looks like this will required an upgrade to mongodb, I see the doc link says new in 2.0.
We added this feature in Pulp 2.2.1[0]. [0] https://pulp-user-guide.readthedocs.org/en/pulp-2.3/release-notes/2.2.x.html#pulp-2-2-1