What is the difference between Cassandra and CouchDB?

前端 未结 2 1430
借酒劲吻你
借酒劲吻你 2021-01-30 03:20

I\'m looking at both projects and I can\'t really see the difference

from Cassandra Site:

Cassandra is a highly scalable, eventually consistent,

2条回答
  •  走了就别回头了
    2021-01-30 03:26

    CouchDB is a document store. You put documents (JSON objects) in it and define views (indexes) over them. The objects can be arbitrarily complex with potentially deep structure. Further, they are not constrained to following some consistent schema.

    Cassandra is a ragged-table key-value store. It just stores rows, each of which has a set of named columns grouped in to families with values. It sounds quite close to BigTable; BigTable doesn't require each row to have the same structure (unlike an SQL database). The values may have some structure, but this kind of store doesn't know anything about that -- they're just strings/byte sequences.

    Yes, they are both non-relational databases, and there is probably a fair amount of overlap in their applicability, but they do have distinctly different data organization models. Each can probably be forced into emulating the other, but each model will map best to a different set of problems.

提交回复
热议问题