Where Redis Stores Data

I am using redis for pub / sub as well as for server side cache. I mean, on my application server, the redis server runs as a single process (functioning as a cache). I have several thin clients (the redis client is running) connected to this application server in pub / sub mode. I would like to know where redis stores cache data? in one server or there will be a copy in clients. It is also a good idea to use Redis in this way if you can connect to 100 redis clients through the server through the pub / subchannel.

thanks

+7
caching scalability redis hazelcast
source share
5 answers

Redis is a (kind of) noSQL database in memory; but I found that my copy (running on linux) is dumped in / var / lib / redis / dump.rdb

+3
source share

All cache data will be stored in the server memory provided in the redis server configuration. Clients do not store any data; they only access data stored on the redis server.

+2
source share

Redis saves all the data in server memory and rarely saves the date to disk. For server <>, the client stream is all data transfer from the server. Redis can handle the number of clients ... the default limit is 10,000. If you need less .. you have to reconfigure the OS, server settings, etc. - http://redis.io/topics/clients

0
source share

I just installed redis on mac via homebrew. Without any configuration, I found dump.rdb in my working directory (where I started the redis server).

0
source share

Redis can manage a really large number of connections, by default its storage is in memory (due to the storage of material in RAM it can be so fast), but at the same time it can be configured as a permanent storage, so reset data caching (every x times or every x updated keys) to disk. Therefore, it can be customized depending on your needs, see here https://redis.io/topics/persistence

0
source share

All Articles