INITIALIZING SECURE CHANNEL...
CPU MEM NET PING9.2 ms SECSECURED
COFFEE—WEB v4.0 // eu-1
ONLINE 2 847 --:--:--
/english > 10. Caching & Performance
// УРОК 10

Caching & Performance

B1

Caching & Performance Vocabulary

Performance optimization is a common topic. Know how to explain your approach clearly.

Caching Terms

TermMeaning
cache hitData found in cache — fast response
cache missData not in cache — must fetch from DB
TTL (Time To Live)How long cached data stays valid
cache invalidationRemoving stale data from cache
write-throughWrite to cache and DB simultaneously
lazy loadingLoad data into cache only when first requested

Performance Vocabulary

  • latency — time for a single request to complete
  • throughput — number of requests handled per second
  • bottleneck — the slowest part limiting overall performance
  • profiling — measuring where time/resources are spent

Useful Phrases

  • "I added a Redis cache with a 5-minute TTL to reduce database load."
  • "The bottleneck was the N+1 query problem in the ORM."
  • "After profiling, I found that 80% of latency came from a single slow query."
// TERMINAL CHALLENGE

Проверь себя

Q1. What is a 'cache miss'?
Q2. What does TTL stand for and what does it control?
Q3. Complete: 'The ___ was the slow database query on the users table.'
Q4. What is 'cache invalidation'?
Q5. Which phrase correctly describes reducing database load?
╔═ GL1TCH v0.1 ═[ПОДКЛЮЧЕНО]═╗ [×]
СОЕДИНЕНИЕ АКТИВНО
запросов:
// сессия #{} начата
>_
[ РАЗРЫВ СВЯЗИ ]
лимит исчерпан...
иду спать... zzZ
хочешь больше? [зарегистрироваться] // +10 запросов в день