3 ms·
Couchbase, the nodejs of databases. Everything is async. Want indexes updated, async. Want replication, async. Want commiting stuff to disk, async. When you tr
by ddorian43 12y ago
Couchbase, the nodejs of databases. Everything is async. Want indexes updated, async. Want replication, async. Want commiting stuff to disk, async.
When you try to sync stuff (indexes + disk-commit) the performance will take a hit.
- jchrisa 12y agoMany applications find sync writes to replica memory on other rack(s) to be a good substitute for sync to disk. The disk sync can be batched every second or so for higher throughput and your application is safe. Where this really plays out well is when the disk goes slow for a minute (cloud-style) and the database stays fast.