본문으로 건너뛰기
아카데미
초급 코드 지구

Redis

캐시, 큐, 리더보드를 위한 인메모리 속도.

Redis keeps data in memory and typically answers in under a millisecond, which is why apps put it next to their main database. It is a key-value store whose values are real data structures: strings, hashes, lists, sets and sorted sets. This track starts from zero in redis-cli. You will store and expire keys, count with atomic increments and model objects with hashes. Then you will build the patterns that power real apps: a cache in front of a database, a rate limiter, a job queue, a leaderboard and live events with pub/sub.

Every example shows the exact replies redis-cli prints, so you always know what to expect.

레슨
14
시간
2시간
난이도
초급

이 코스의 레슨은 당분간 영어로 제공돼요.

  • 브론즈 도전 가능
  • 실버 도전 가능
  • 골드 잠김

실력을 증명할 준비됐나요?

브론즈, 실버, 골드 세 가지 시험이 기다리고 있어요.

시험 보러 가기

이 코스를 마치면 할 수 있는 것

  • Store, read and expire keys in redis-cli
  • Count safely with INCR and model objects with hashes
  • Put a cache in front of a database with cache-aside
  • Rate-limit requests and run a simple job queue
  • Build a live leaderboard with sorted sets
  • Choose between pub/sub and streams for events

여정

  1. 1
    챕터 1

    Keys in memory

    What Redis is, strings and counters, expiry, naming keys, and hashes.

    0 / 4
  2. 2
    챕터 2

    Patterns that power apps

    Caching, rate limiting, queues and sets, leaderboards, and live events.

    0 / 6
  3. 3
    챕터 3

    What comes next

    Transactions and scripts, persistence and replication, streams in depth, and Redis from code.

    0 / 4

빠른 탐색