开发者

Is CouchDB a good persistent layer for Membase?

Membase is great for social game due to it's low latency. As I understand CouchDB is a MVCC system 开发者_开发问答using b+ tree, with a focus on append only design. (http://guide.couchdb.org/draft/btree.html)

One of the most important scenario of Membase is social game. Social game has a lot of write operations (50+%). And a good portion of them are in-place updates. So why is CouchDB a suitable persistent layer for Membase?


I'd also add that CouchDB's append-only log format really doesn't have much relation to whether application writes are new items or updates. The append-only format gives us much better reliability and performance than an in-place system (like sqlite...which is still quite reliable). It's also much easier to take backups of.

Does Membase NEED an append-only log format? maybe not...does it NEED CouchDB?...YES!

The benefits of map-reduce and indexing as well as eventually consistent replication that CouchDB brings are nothing less than huge for Membase...and the benefits of low-latency, clustering and UI that Membase brings to CouchDB are arguably just as important.

(Disclosure: I work for Couchbase)

Perry Krug


CouchDB has great file formats, great ability to recover from crashes, sophisticated authentication and authorization tools, and a universal, standard, interface: HTTP. CouchDB is poor at low-latency queries, optimized memory utilization, and heavy update speeds (a million per second).

Membase currently has only a simple SQLite file format for persistence, less sophisticated authentication and authorization, using a more obscure protocol. Membase is amazing for low-latency queries, ideal memory utilization, and heavy update speeds.

I think the two complement each other very well. Since the merging effort is coming from core developers in both projects, collaborating together, I expect to see the strengths of both and the weaknesses of neither. Yes, CouchDB is a good persistence layer for Membase.


Money speaks and if there ever was a vote of confidence then here it is, not only from a new lead investor but also from the existing ones as well.

http://www.couchbase.com/press-releases/couchbase-series-C

Besides, don't you think that Membase itself is more than well enough qualified to make an evaluation for such a merger decision?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜