Scripts for comparing write performance of Redis and PostgreSQL