Sometimes the interviewer will ask about your previous project background, you don’t want them to hear something like “You know what? I used a lot of fancy technology for that project, but I know nothing about these technologies except how to find out the API that I need.”
The notes below is written during my last internship after reading the Redis Documentation. The notes are presented as interview questions to help those who still struggle with finding a nice job. (AKA me)
What is Redis?
Redis = REmote Dictionary Server. It is a key-value database where values can contain complex data types with atomic operations defined on those data types.
How is data stored in Redis?
Redis is an in-memory database, so it represents a trade off where very very high write and read speed is achieved with the limitation of data sets that can’t be larger than memory.
What are the limitation of Redis?
- It is single threaded.
- It has significant overhead for persistence.
- It is not deployed widely.
Some interesting features I found
- Redis is implemented by Linked List.
- Redis can be used as a message queue or pub-sub server.
- It supports Hyperloglogs. It is a probabilistic data structure used in order to count unique things that trade memory for precision.
- Redis automatically create and remove keys.