Redis Cache Interview Questions and Answers
Intermediate / 1 to 5 years experienced level questions & answers
Ques 1. Explain the Replication Features of Redis?
Replication is important in order to archive high level of availability in big data systems. The data needs to be replicated at n number of places. This follows the master-slave approach where the master copy is maintained by master-slave and replicated to n other nodes.
Is it helpful?
Add Comment
View Comments
Ques 2. What are the advantages of using Redis?
Following is a list of some important advantages of Redis:
- Redis is very fast.
- It supports a server-side locking.
- It has a rich client side library.
- It is a good counter.
- It supports Atomic Operation.
Is it helpful?
Add Comment
View Comments
Ques 3. What are the disadvantages/limitations of using Redis?
Following are the disadvantages/ limitations of Redis:
- It is single threaded.
- It has got limited client support for consistent hashing.
- It has significant overhead for persistence.
- It is not deployed widely.
Is it helpful?
Add Comment
View Comments
Ques 4. What is the difference between Redis and RDBMS?
There are a lot of differences between Redis and RDBMS:
- Redis is a NoSQL database while RDBMS is an SQL database.
- Redis follows the key-value structure while RDBMS follows the table structure.
- Redis extremely fast while RDBMS is comparatively slow.
- Redis stores all the dataset in primary memory while RDBMS stores its dataset in secondary memory.
- Redis is generally used to store small and frequently used files while RDBMS is used to store big files.
- Redis provides only official support for Linux, BSD, Mac OS X, Solaris. It doesn?t provide official support for Windows currently while RDBMS provides support for both.
Is it helpful?
Add Comment
View Comments
Most helpful rated by users:
Related interview subjects
MySQL interview questions and answers - Total 108 questions |
DBMS interview questions and answers - Total 73 questions |
MSSQL interview questions and answers - Total 50 questions |
Oracle interview questions and answers - Total 34 questions |
Redis Cache interview questions and answers - Total 20 questions |
SQL interview questions and answers - Total 152 questions |