February 2018
Intermediate to advanced
382 pages
11h 33m
English
You need to finish the installation of the Redis Server as we described in the Downloading and installing Redis recipe in Chapter 1, Getting Started with Redis. You should also finish setting up replication, as described in the Setting up Redis replication recipe in this chapter.
To generate a large amount of sample data, we use fake2db mentioned in the Managing keys recipe in Chapter 2, Data Types to populate some fake data to Redis. Due to differing hardware performance, it may take you several hours to finish the data population:
# fake2db --rows 3000000 --db redis
In addition, for testing purposes, we introduce another Redis testing data generator redis-random-data-generator to write sample data to Redis in real time. ...
Read now
Unlock full access