store the temporary data in couchbase or redis

arachide

I have a nodejs project that using couchbase as database. Just wonder if I store the temporary data in

1.redis

or in

2.couchbase directly.

As I know there is socket delay for couchbase, I think store temporary data in redis while store the permanent data in couchbase is better. Is there any person has the experience on this?

Your comment welcome

Didier Spezia

I'm a big Redis fan, but in this situation I would use Couchbase only.

Couchbase is rather efficient, and comparable to the performance of memcached when the working set of your data fits in memory. Most of the time, an extra caching layer on top of Couchbase is not useful.

That said, if you really need a caching layer, or simply some storage for temporary data, you can simply create a memcached bucket hosted in the Couchbase cluster. So you would have an "eventually persistent" bucket for your persistent data, and a memcached bucket for the temporary data.

The bucket types are described here:

http://docs.couchbase.com/couchbase-manual-2.5/cb-admin/#data-storage

In that context, adding Redis as a extra storage layer does not really make sense.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Session to store temporary data in MVC

From Dev

Where does my browser store temporary data?

From Dev

Couchbase temporary failure

From Dev

Best way to store temporary data from forms in Django?

From Dev

SQL Store queried data to one table (either temporary or not)

From Dev

In Iphone where to store large but temporary data like 1000 of images

From Dev

What is better way to store temporary data [Memcache or MySQL]

From Dev

Best way to store temporary data from forms in Django?

From Dev

Store multiple versions of data in Redis cache

From Dev

Java framework to store relational data in Redis

From Dev

how to store voting data using Redis

From Dev

how to store voting data using Redis

From Dev

Spring Data Store Redis - Use Multiple Caches

From Dev

How to store array data into redis in PHP

From Dev

Couchbase BulkGet in spring data couchbase

From Dev

ASP.NET MVC get data from SQL Server with WCF : how to put temporary data store in controller

From Dev

How to connect Redis and Couchbase in spring

From Dev

Best practice to store couchbase views

From Dev

JSON object array to store data of a form in local storage temporary (PhoneGap project)

From Dev

Most logical way to store client side temporary data for dynamic fields before submitting

From Dev

How do I store customer class object data into Redis Cache?

From Dev

why redis store memory data only in little endian?

From Dev

Get array data from Redis - How to store and retrieve

From Dev

Store Temporary Variables Using PHP?

From Dev

Pattern to store temporary values with Ramda

From Dev

How to efficiently store temporary userdata

From Dev

Strategy for "user data" in couchbase

From Dev

Filter data in couchbase View

From Dev

Couchbase and GeoSpatial data

Related Related

  1. 1

    Session to store temporary data in MVC

  2. 2

    Where does my browser store temporary data?

  3. 3

    Couchbase temporary failure

  4. 4

    Best way to store temporary data from forms in Django?

  5. 5

    SQL Store queried data to one table (either temporary or not)

  6. 6

    In Iphone where to store large but temporary data like 1000 of images

  7. 7

    What is better way to store temporary data [Memcache or MySQL]

  8. 8

    Best way to store temporary data from forms in Django?

  9. 9

    Store multiple versions of data in Redis cache

  10. 10

    Java framework to store relational data in Redis

  11. 11

    how to store voting data using Redis

  12. 12

    how to store voting data using Redis

  13. 13

    Spring Data Store Redis - Use Multiple Caches

  14. 14

    How to store array data into redis in PHP

  15. 15

    Couchbase BulkGet in spring data couchbase

  16. 16

    ASP.NET MVC get data from SQL Server with WCF : how to put temporary data store in controller

  17. 17

    How to connect Redis and Couchbase in spring

  18. 18

    Best practice to store couchbase views

  19. 19

    JSON object array to store data of a form in local storage temporary (PhoneGap project)

  20. 20

    Most logical way to store client side temporary data for dynamic fields before submitting

  21. 21

    How do I store customer class object data into Redis Cache?

  22. 22

    why redis store memory data only in little endian?

  23. 23

    Get array data from Redis - How to store and retrieve

  24. 24

    Store Temporary Variables Using PHP?

  25. 25

    Pattern to store temporary values with Ramda

  26. 26

    How to efficiently store temporary userdata

  27. 27

    Strategy for "user data" in couchbase

  28. 28

    Filter data in couchbase View

  29. 29

    Couchbase and GeoSpatial data

HotTag

Archive