What are the disadvantages of Redis?
- What should you not use Redis for?
- Is Redis unreliable?
- Can you lose data in Redis?
- Why Redis is not used as database?
What should you not use Redis for?
7 Redis Worst Practices1No password. ... 2KEYS. ... 3Numbered databases/SELECT. ... 4Unbounded Returns with HGETALL, LRANGE, SMEMBERS, and ZRANGE. ... 5One request per connection. ... 6Hot keys. ... 7Running ephemeral Redis as a primary database.
Is Redis unreliable?
Redis is actually a very reliable engine to store data, as long as you keep in mind its design principles. (the Aphyr post is great with that). The replication and cluster modes can add additional complexity (but of course mysql master-slave or master-master have their own risks and complexity as well.)
Can you lose data in Redis?
Redis supports so-called "snapshots". This means that it will do a complete copy of whats in memory at some points in time (e.g. every full hour). When you lose power between two snapshots, you will lose the data from the time between the last snapshot and the crash (doesn't have to be a power outage..).
Why Redis is not used as database?
As Redis is an in-memory storage, you cannot store large data that won't fit you machine's memory size. Redis usually work very bad when the data it stores is larger than 1/3 of the RAM size. So, this is the fatal limitation of using Redis as a database.
Related Questions
-
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago -
Anonymous2 weeks ago
Expert answer2 weeks ago