Anonymous Asked in Cars &Transportation · 2 weeks ago

What are the disadvantages of Redis?

There is no query language (only commands) and no support for a relational algebra. You cannot submit ad-hoc queries (like you can using SQL on a RDBMS). All data accesses should be anticipated by the developer, and proper data access paths must be designed. A lot of flexibility is lost. 5 июн. 2012 г.


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

Relevance
Write us your question, the answer will be received in 24 hours