דילוג לתוכן הראשי
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.