الانتقال إلى المحتوى الرئيسي
الأكاديمية
مبتدئ حيّ الكود

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.

الدروس
١٤
الوقت
٢ ساعة
المستوى
مبتدئ

دروس هذا المسار بالإنجليزية حاليًا.

  • البرونز متاحة
  • الفضة متاحة
  • الذهب مقفلة

مستعد لإثبات نفسك؟

ثلاثة امتحانات في انتظارك: البرونز والفضة والذهب.

إلى الامتحانات

ما ستتمكن من فعله

  • 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. ١
    الوحدة ١

    Keys in memory

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

    ٠ / ٤
  2. ٢
    الوحدة ٢

    Patterns that power apps

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

    ٠ / ٦
  3. ٣
    الوحدة ٣

    What comes next

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

    ٠ / ٤

التنقل السريع