checkiz / elixir-mongo

MongoDB driver for Elixir
MIT License
101 stars 31 forks source link

Support for replica sets #10

Open thijsc opened 9 years ago

thijsc commented 9 years ago

Nice work on the driver so far! I'm wondering, do you have any plans to add support for replica sets including failover?

jerp commented 9 years ago

We don’t use this feature in our project right now, but will do one day when it grows.

Let’s keep this open.

On 22 Sep 2014, at 14:13, Thijs Cadier notifications@github.com wrote:

Nice work on the driver so far! I'm wondering, do you have any plans to add support for replica sets including failover?

— Reply to this email directly or view it on GitHub.

smashedtoatoms commented 9 years ago

This library rules. I have a need for repl compatibility as well. I may start work on one if you haven't already.

jerp commented 9 years ago

Great! No time now for big change but happy to support/review any ideas or project. Jerome

Le 19 Nov 2014 à 02:18, Jason Legler notifications@github.com a écrit :

This library rules. I have a need for repl compatibility as well. I may start work on one if you haven't already.

— Reply to this email directly or view it on GitHub https://github.com/checkiz/elixir-mongo/issues/10#issuecomment-63577011.

smashedtoatoms commented 9 years ago

On a separate note, I have a pending pull request for a small bug fix. If you get a chance, can you see if it's okay and merge it?

vitalis commented 8 years ago

:+1:

thijsc commented 8 years ago

Just a suggestion, not sure how feasible it is: Would it be possible to achieve this goal by writing an Elixir wrapper around the Mongo C driver? https://github.com/mongodb/mongo-c-driver

I used the same approach to get to a production quality Rust driver quickly: https://github.com/thijsc/mongo-rust-driver

Not sure how the concurrency model of Erlang and a C driver using threads and a connection pool would mesh though..