Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

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.