Is there any plan to support replicated mongodbs? Meaning have writes going to a master and reads using a pool of slave servers similar to the MySQL replication support in Pressflow?
Is there any plan to support replicated mongodbs? Meaning have writes going to a master and reads using a pool of slave servers similar to the MySQL replication support in Pressflow?
Comments
Comment #1
febbraro commentedI have written an extension of MongoCollection that can take a single master connection and an array of slave connections, on find/count queries it proxies to a randomly selected read slave. I can post it here if there is interest. As I understand it, replica sets will eventually be the transparent way to handle this will only marking your query as safe to run on slave.
Comment #2
BenK commentedSubscribing....
Comment #3
crea commentedSubscribing
Comment #4
dixon_@febbraro: Is your code available somewhere? Although it was a while ago you wrote your post, it still sounds interesting.
Comment #5
marcingy commentedMongodb itself does this