Top Redis interview questions and answers
1. What is Redis?
2. List the data structures supported by Redis.
- Sorted sets with range queries
- Geospatial indexes with radius queries
3. List some advantages of Redis?
- Exceptionally Faster than others
- Supports for rich data types like Hashes, Sets, bitmaps
- Rich client-side library.
- Support for server-side locking.
- Operations are atomic.
4. List some commonly used Redis commands?
|APPEND||Append a value to a key|
|AUTH||Authenticate to the server|
|BGREWRITEAOF||Asynchronously rewrite the append-only file|
|BGSAVE||Asynchronously save the dataset to disk|
|BITCOUNT||Count set bits in a string|
|CLIENT LIST||Get the list of client connections|
|CLUSTER INFO||Provides info about Redis Cluster node state|
Read more from Redis Commands List
5. In which language Redis is written?
6.List some Redis Clients supported by PHP?
- PHP Redis implementation / wrapper
- PHP Sentinel Client
7. What is redis-cli.
8. Explain REPL
9. List the programming languages supported by Redis?