Anonymous Asked in Cars &Transportation · 2 weeks ago

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. 17 янв. 2011 г.


Can Redis be used as DB?

Many applications built today use Redis as a primary database. However, most Redis service providers support Redis as a cache, but not as a primary database. This means you need a separate database like DynamoDB in addition to using Redis.

Is Redis a reliable database?

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.)

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.

Related Questions

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