(stupid?) question: replacing mongo by etcd ?

586 views
Skip to first unread message

yannick grenzinger

unread,
Dec 22, 2015, 8:22:31 AM12/22/15
to etcd-dev
Hello,

I am a finishing a project were I use mongodb for application data and etcd for configuration info (and mainly the amazing 'watch' change capability).

After some time struggling, I have finally made work a cluster and I'm asking myself why not replacing mongo by etcd.

Why ? 
Because the applicative data are mainly configuration for an "applicative" router where some user will rarely change a bunch of routing configs.
In summary,
- mainly "key/value"
- really few data and write
- lots of read by second but I need mainly resilience
- having the capability to store the data in memory and 'watch' when it change can be really effective

What do you think ?

Thanks

Seán C. McCord

unread,
Dec 22, 2015, 9:15:09 AM12/22/15
to yannick grenzinger, etcd-dev
While MongoDB and etcd are designed around very different problem sets, and it is, thus, usually not a good idea to compare or interchange them, your case sounds more suited to etcd than to MongoDB.  I think you would be fine to use etcd instead, caveat the limitations and deployment guidelines of etcd itself (which are no more onerous than a production MongoDB deployment, anyway).


--
You received this message because you are subscribed to the Google Groups "etcd-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to etcd-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Seán C McCord
CyCore Systems, Inc

Seán C. McCord

unread,
Dec 22, 2015, 9:16:18 AM12/22/15
to yannick grenzinger, etcd-dev
I would say, though, if you are really heavy on the reads-per-second figure, consider something like Redis instead.
Reply all
Reply to author
Forward
0 new messages