03 November 2020

#Redis

Redis
What are the advantages and disadvantages of Redis
What are the advantages of Redis compared to memcached?
What are the benefits of using redis?
What are the commands related to Redis transactions?
What are the disadvantages of Redis partitions?
What are the Redis data elimination strategies?
What are the redis expiration strategies? Does the LRU algorithm know?
What are the suitable scenarios for Redis?
What are the underlying data structures used for Redis?
What do the terms "CPU bound" and "I/O bound" mean in context of Redis?
What happens if Redis runs out of memory?
What happens when Redis's memory runs out?
What is AOF persistence in Redis?
What is cache penetration? How to avoid it? What is a cache avalanche? How to avoid it?
What is Pipelining in Redis and when to use one?
What is Redis persistence?
What is Redis?
What is Redis? Briefly describe its advantages and disadvantages?
What is the difference between Redis replication and sharding?
What is the master-slave replication model of Redis cluster?
What is the maximum number of nodes in a Redis cluster?
What is the maximum storage capacity for a string type value?
What is the memory usage of Redis?
What is the persistence mechanism of Redis? Their advantages and disadvantages?
What is the use of pipelines in Redis?
What kinds of data elimination strategies does Redis have?
What kinds of persistence methods does Redis provide?
What physical resources does Redis consume?
What should the Redis cluster solution do? What are the options?
What to do if the cache is inconsistent with the database
Explain a use case for Sorted Set in Redis
Explain the Redis threading model
Why do Redis partitions?
Why does redis need to put all data in memory?
Why doesn't Redis officially provide a Windows version?
Why is Redis single-threaded
Why is Redis so fast
Why is the operation of Redis atomic, and how to ensure atomicity?
Why Redis does not support roll backs?
Why single-threaded redis is so fast
Why use redis/why use cache
Which data types does Redis support?
How are Redis pipelining and transaction different?
How can I exploit multiple CPU/cores for Redis?
How does Redis handle multiple threads (from different clients) updating the same data structure in Redis?
How does Redis optimize memory?
How does Redis realize ""people nearby""
How does the Redis recycling process work?
How is redis deployed in the production environment?
How is Redis different from other key-value stores?
How is replication between Redis clusters?
How many dbs does the database default in Redis?
How many keys can a Redis instance store at most? How many elements can be stored in List, Set, Sorted Set?
How much faster is Redis than MongoDB? Related To: MongoDB
How Redis implements delay queue
How to choose a database for Redis cluster?
How to choose a suitable persistence method
How to choose a suitable persistence method?
How to deal with a large number of requests
How to ensure the data consistency between the cache and the database when it is double-written?
How to expand Redis persistent data and cache?
How to set the expiration time and permanent validity of Redis key?
How to solve Redis's concurrent competition Key problem
How to understand Redis transaction?
How would you efficiently store JSON in Redis?
When choosing a cache, when to choose redis and when to choose memcached?
When to use Redis Hashes data type?
When to use Redis Lists data type?
When to use Redis over MongoDB?
When to use Redis Sets?
Redis common data structure and usage scenario analysis
Advantages and disadvantages of RDB and AOF
Are there any ways to reduce the memory usage of Redis?
Cache avalanche and cache penetration problem solutions
Cache penetration, cache breakdown, and cache avalanche solutions?
Do you know the persistence of redis? How is the bottom layer achieved? What are the advantages and disadvantages?
Do you know what Redis partitioning schemes are available?
Does Redis persist data?
Does Redis support transactions?
Does Redis transaction guarantee atomicity and does it support rollback?
Does Redis transaction support isolation?
Features of Reids
Have you ever used Redis as an asynchronous queue and how did you achieve it?
Have you used Redis as an asynchronous queue? How do you use it? What are the disadvantages?
If there's a way to check if a key already exists in a Redis list?
Is Redis a durable datastore ("D" from ACID)?
Is Redis just a cache? Related To: Caching
Lazy delete strategy
Lock mutual exclusion mechanism
Locking mechanism
Other implementations of Redis transactions
Overview of Transaction Management (ACID)
Periodically delete policies
RDB and AOF, which one should I use?
Redis common performance problems and solutions
Redis commonly used management commands
Redis data types and usage scenarios of each data type
Redis is single-threaded, how to improve the utilization of multi-core CPU?
Redis persistence mechanism (how to ensure that the data can be restored after redis hangs and restarts)
Redis's expiration strategy and memory elimination mechanism
Redis's expired key deletion strategy
Reids three different deletion strategies
Should distributed Redis be done at the early stage or at the later stage when the scale is up? Why?
Tell me about the concept of Redis hash slot?
The concept of Redis transactions
The three stages of Redis transactions
Under what circumstances will the Redis cluster solution cause the entire cluster to be unavailable?
Watch dog automatic extension mechanism
We know that the expiration time of the key is set through expire, so how to deal with the expired data?
What's the advantage of Redis vs using memory?
Will the modified configuration take effect in real time without restarting Redis?
Will there be write operation loss in Redis cluster? Why?
Redis
  • Redis is developed by Salvatore Sanfilippo. (2009) ((C language))
  • It is a flexible, open-source (BSD licensed), in-memory data structure store, used as database, cache, and message broker.
  • Installing Redis is so much easier. No dependencies required.
  • It is in-memory data structure store, used as database, cache and message broker.
  • It stores everything in primary memory. Read and Write operations are extremely fast because it.
  • Primary memory is in lesser in size and much expensive than secondary so, Redis cannot store large files or binary data.
  • You can receive this data later only if you know the exact key used to store it.
  • It is a NoSQL database so it facilitates users to store huge amount of data without the limit of a Relational database.
  • It supports various types of data structures like strings, hashes, lists, sets, sorted sets, bitmaps, hyperloglogs and geospatial indexes with radius queries.
  • There is no foreign key & triggers.
  • Sharding is used for partioning.
  • Redis supports master-slave replication.
  • Concurrency available in redis.
  • Redis' key-length has a maximum of 2GB.
  • Redis follows proprietary protocol.
  • Redis Client
  • Redis Server : Redis server is used to store data in memory . It controls all type of management and forms the main part of the architecture. You can create a Redis client or Redis console client when you install Redis application or you can use

No comments:

Post a Comment

Most views on this month