PrepZone Logo
PrepZone
Back to Database

Database · Easy

What data structures does Redis provide and what is each used for?

DatabaseNoSQLFresherRedis

Answer preview

Redis is an in-memory data-structure server, not just a string cache. Choosing the right structure is what turns a multi-step application algorithm into a single atomic O(1) or O(log N) command.…