Skip to main content
0

Ask Redis first

A player's profile is read thousands of times for every time it changes. Fetching it from PostgreSQL on every request wastes work. A cache keeps a copy in Redis, so most reads never reach the database.