Giter VIP home page Giter VIP logo

Comments (10)

comtihon avatar comtihon commented on September 13, 2024

you connect to mongos instance, and it handles everything you mention.

from mongodb-erlang.

ericmj avatar ericmj commented on September 13, 2024

How about replica sets that are not sharded and doesn't have a mongos instance?

from mongodb-erlang.

comtihon avatar comtihon commented on September 13, 2024

mongos is always on top, even if there is no sharded claster. There is an image, but it is in russian. Althou it is easy to understand. http://hsto.org/getpro/habr/post_images/829/d6d/c86/829d6dc8666a0904d9f642f5f28f0377.jpg

from mongodb-erlang.

ericmj avatar ericmj commented on September 13, 2024

All deployments doesn't have mongos, our hosting provider is one of them. And what bout failover for multi mongos deployments?

Below are some links with the recommended behaviour for mongo drivers:

https://github.com/mongodb/specifications/blob/master/source/server-discovery-and-monitoring/server-discovery-and-monitoring.rst
https://github.com/mongodb/specifications/blob/master/source/server-selection/server-selection.rst

from mongodb-erlang.

comtihon avatar comtihon commented on September 13, 2024

Ok, I'll queue it for doing.

from mongodb-erlang.

alttagil avatar alttagil commented on September 13, 2024

When this feature is going to be released? It's kind of disappointing to read the announce file where connection to replica sets is declared but in fact there is no replica sets support in the driver. :(

from mongodb-erlang.

apuello avatar apuello commented on September 13, 2024

Hey guys, is this still a work in progress, or?

from mongodb-erlang.

comtihon avatar comtihon commented on September 13, 2024

Hi!
Work will be in progress next month.

from mongodb-erlang.

alttagil avatar alttagil commented on September 13, 2024

Everyone who needs this feature can test it in develop thread in this repository or in https://github.com/alttagil/mongodb-erlang (which is mine) and where I can react on your suggestions or fix requests faster. thx

from mongodb-erlang.

linbo avatar linbo commented on September 13, 2024

So Readme should corrent the connection info?

This version of the driver supports connecting to a single server or replica set, 
and pooling of both types of connections.

from mongodb-erlang.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.