A
A
Artem2014-11-26 01:45:57
Scala
Artem, 2014-11-26 01:45:57

Will MongoDB and Couchbase be productive?

MongoDB has an asynchronous and non-blocking Scala driver ( reactivemongo.org ). Couchbase also pleases with its reactive driver ( reactivecouchbase.org ). Both use JSON as their document format.
I'm interested in the pros/cons of this approach:
MongoDB is the main storage;
Couchbase - cache.
Thanks in advance for your reply!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
@
@mgyk, 2014-11-26
_

I would recommend only mongodb or, if you really want to complicate your life, then simple redis / memcache. Firstly, couchdb is a rather specific storage for its range of tasks, only if you really need couch features (two-way replication, for example). Secondly, if you need to cache mongodb, you may not have the right storage design. Since for any nosql storage, the data structure must also take into account how this data is then read in an optimal way.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question