Re: How to keep from sending more than one email from multiple replicated couchdb instances

2010-11-17 Thread Mike Fedyk
On Sun, Nov 14, 2010 at 5:01 PM, Mike Fedyk wrote: > node.js + CouchDB == Crazy Delicious by Mikeal Rogers > http://jsconf.eu/2010/speaker/nodejs_couchdb_crazy_delicious.html > > I was watching this a couple days ago and I've been thinking about how > to deal with instance and service (think of se

Re: How to keep from sending more than one email from multiple replicated couchdb instances

2010-11-14 Thread Wout Mertens
I think you need to decouple the database from the replication. Replication management is not a first-class citizen in CouchDB (yet?) and the problems you present show that. Basically what you're looking at is a message board service, where clients post requests ("send this email") and servers

How to keep from sending more than one email from multiple replicated couchdb instances

2010-11-14 Thread Mike Fedyk
node.js + CouchDB == Crazy Delicious by Mikeal Rogers http://jsconf.eu/2010/speaker/nodejs_couchdb_crazy_delicious.html I was watching this a couple days ago and I've been thinking about how to deal with instance and service (think of sending emails as a "service") failures. Because it's easy to