News for hackers. Stuff that matters.
Re:A one-size-fits-all database doesn't fit anyone by WA on Wednesday June 27, 2018 @04:59AM (#17406722)
I mostly used MySQL. But for my app, I now use CouchDB. It has its limitations, but the automatic sync between devices is pure gold. I haven't written a single line of sync code and it just works.

It baffles me a bit that CouchDB isn't more popular and that people rather use MongoDB for NoSQL, which doesn't come with the same syncing capabilities.

Re:A one-size-fits-all database doesn't fit anyone by StavrosK on Wednesday June 27, 2018 @08:57AM (#17407738)
> It baffles me a bit that CouchDB isn't more popular

Agreed, it should be.

> and that people rather use MongoDB for NoSQL

I don't see why people would rather use MongoDB for anything, but that's just me.

> which doesn't come with the same syncing capabilities.

This is the main reason. CouchDB is amazing if you need to sync, but, if you don't, you may be better off using something else (like Postgres).

How does CouchDB handle conflicts, by the way?

Re:A one-size-fits-all database doesn't fit anyone by xj9 on Wednesday June 27, 2018 @09:10AM (#17407832)