En este informe se estudian comparativamente desde el punto de vista del rendimiento tres soluciones NoSQL muy populares: Cassandra, MongoDB y Couchbase.
Podéis descargar el informe desde este link.
El informe está realizado por una consultora independiente
, aunque cuelga de la web de Couchbase.
Algunos puntos interesantes del informe:
· Cassandra is a distributed columnar key-value database with eventual consistency.
o It is optimized for write operations and has no central master—data can be written or read to and from any of the nodes in a cluster.
o Cassandra provides seamless horizontal scaling and has no single point of failure.
o If a node in the cluster fails, another node steps up to replace it.
o At the moment, Cassandra is an Apache 2.0 licensed project supported by the Apache Community.
· MongoDB is a schema-free, document-oriented, NoSQL database that stores data in the BSON format.
o A BSON document is essentially a JSON document in the binary format, which allows for easier and faster integration of data in certain types of applications.
o This database also provides horizontal scalability and has no single point of failure.
o A MongoDB cluster is different from a Cassandra or Couchbase Server cluster, as it includes an arbiter, a master, and multiple slaves.
o Since 2009, MongoDB is an open source project with the AGPL license supported by 10gen.
· Couchbase is an open source NoSQL document database for interactive Web and mobile applications.
o Documents in Couchbase Server are stored as JSON.
o With built-in caching, Couchbase provides low-latency read and write operations with linearly scalable throughput.
o The architecture has no single point of failure.
o It is easy to scale-out the cluster and support live
Los puntos estudiados son:
· Escalabilidad
· Rendimiento
· Disponibilidad
· Sencillez de desarrollo
Y las conclusiones:
· Cada solución está optimizada para un caso de uso y tiene sus pros y contras
· MongoDB procesa las peticiones de lectura algo más rápido que Cassandra pero más lenta que Couchbase
· Couchbase y Cassandra procesan escrituras mejor que Mongo, debido al conocido locking de MongoDB
· MongoDB ofrece un mecanismo muy potente de queries, incluyendo queries geoespaciles pero incrementar el tamaño del cluster es un proceso complejo
· Cassandra es flexible a la hora de redimensionar cluster, soportar rendimiento pero tiene limitaciones como no soporte de transacciones
· Couchbase provee una consola de administración para administrar el cluster, ofrece consistencia total.

Deja un comentario