Closed cognusion closed 11 years ago
There's a couple problems here which would preclude us from accepting this patch, and so I'm closing this, sorry:
1) DCell registries must provide a total ordering of events in a distributed system (a.k.a in the CAP triangle it must provide "CP" properties ala Paxos or Raft). MongoDB does not provide these semantics 2) The registry API is in flux and we are in general not accepting patches for additional registries. We should probably get this into the contributor guidelines ASAP
I've never heard anyone place MongoDB as anything but a CP-solver (unless you set too small of a write concern and read from replicas, in which case it isn't as C as one would like; or if you're the company that wrote it and then it's a CAP-solver, of course). That notwithstanding, I appreciate your feedback and won't invest more time on it.
Hi,
I'm hacking a new Ruby framework and figured I'd give DCell a look as it seems to be doing some of the 0MQ heavy-lifting I need to do. I'm using MongoDB for a couple of other reasons, so I figured I'd hack in a MongoDB Registry.
It works fine for the Itchy/Scratchy demo, but likely breaks for anything harder. I'm going to be adding more features, but my Free Time is up for the night.
TODO: connection options, authentication options, error handling