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

febbraro’s picture

I 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.

BenK’s picture

Subscribing....

crea’s picture

Subscribing

dixon_’s picture

@febbraro: Is your code available somewhere? Although it was a while ago you wrote your post, it still sounds interesting.

marcingy’s picture

Status: Active » Closed (won't fix)

Mongodb itself does this