A small java code to benchmark speeds while writing to disk vs Redis. Although Redis includes the redis-benchmark utility that simulates running commands done by N clients at the same time sending M total queries, just for fun.
π https://github.com/amitmula/disk-vs-Redis