node.js - store the temporary data in couchbase or redis -
i have nodejs project using couchbase database. wonder if store temporary data in
1.redis
or in
2.couchbase directly.
as know there socket delay couchbase, think store temporary data in redis while store permanent data in couchbase better. there person has experience on this?
your comment welcome
i'm big redis fan, in situation use couchbase only.
couchbase rather efficient, , comparable performance of memcached when working set of data fits in memory. of time, caching layer on top of couchbase not useful.
that said, if need caching layer, or storage temporary data, can create memcached bucket hosted in couchbase cluster. have "eventually persistent" bucket persistent data, , memcached bucket temporary data.
the bucket types described here:
http://docs.couchbase.com/couchbase-manual-2.5/cb-admin/#data-storage
in context, adding redis storage layer not make sense.
Comments
Post a Comment