February 2018
Intermediate to advanced
382 pages
11h 33m
English
Suppose we would like to get the ten restaurants that have been most recently added to our application. If using a RDBMS, we would have to run a SQL query, such as the following:
SELECT * FROM restaurants ORDER BY created_at DESC LIMIT 10
We can take advantage of a Redis list to solve this problem:
Read now
Unlock full access