0Pricing
Redis Caching & Messaging (Pub/Sub, Streams) · درس

مقدمة إلى Redis

استكشفوا ماهية Redis وبنيته وأبرز حالات استخدامه في تطوير التطبيقات.

مقدمة إلى Redis درس مجاني في Redis Caching & Messaging (Pub/Sub, Streams) على CoddyKit. هذا هو الدرس 1 من أصل 4. يمكنك قراءة الدرس كاملاً أدناه مجاناً — ثم تمرن عليه مباشرة في المتصفح باستخدام محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7. هذا الدرس جزء من مسار التعلم في Redis Caching & Messaging (Pub/Sub, Streams)، وتقدمك يتزامن عبر الويب وتطبيق CoddyKit. تتضمن دورة Redis Caching & Messaging (Pub/Sub, Streams) 4 دروس في المجموع.

بعض أجزاء هذا الدرس لم تُترجم بعد وتظهر باللغة الإنجليزية.

Welcome to Redis!

Redis (Remote Dictionary Server) is a blazing-fast, in-memory key-value store. Developers reach for it for caching, sessions, and real-time analytics.

Data in RAM for Speed

Redis is in-memory: it keeps data in RAM, making reads and writes far faster than disk-based databases. It can still persist to disk when you need durability.

The Simple Power of Key-Value

At its core Redis is a key-value store — look up a value by its unique key, like a dictionary. Values can be strings, lists, hashes, or sets.

Blazing Fast Performance

Redis is fast for three reasons: it's in-memory, written in optimized C, and single-threaded — which avoids locks on data operations entirely.

Use Case: Caching

The classic use case is caching: store hot data in Redis so repeat reads come back instantly, sparing your slow database and speeding up the app.

Use Case: Session Store

Redis is great for user session data. Any server can read the shared session, so it scales web apps where requests hit different machines.

Use Case: Real-time Features

Speed plus rich data structures make Redis ideal for real-time features: leaderboards, live analytics, and Pub/Sub messaging between services.

Redis Architecture: Client-Server

Redis uses a client-server model: the server runs as a process waiting for connections, and your clients send commands and get responses back.

How We Interact with Redis

Two ways to talk to Redis: the redis-cli for manual testing and admin, or client libraries (Python, Java, Node) for talking to it from your code.

Quick Check: Redis Basics

Based on what you've learned, which of the following are key characteristics or common use cases of Redis?

Redis: Fast, Flexible, Fundamental

Recap: Redis is an in-memory key-value store, fast by design, used for caching, sessions, and real-time features over a simple client-server architecture.

الأسئلة الشائعة

هل درس «مقدمة إلى Redis» مجاني؟

نعم — نص درس «مقدمة إلى Redis» كامل متاح مجاناً هنا على الويب. لتمرينه بشكل تفاعلي (محرر أكواد مدمج ومدرس ذكاء اصطناعي متاح 24/7) وفتح باقي دورة Redis Caching & Messaging (Pub/Sub, Streams)، انتقل إلى CoddyKit PRO. تتضمن دورة Redis Caching & Messaging (Pub/Sub, Streams) 4 دروس في المجموع.

ماذا ستتعلم في «مقدمة إلى Redis»؟

استكشفوا ماهية Redis وبنيته وأبرز حالات استخدامه في تطوير التطبيقات. تتمرن على Redis Caching & Messaging (Pub/Sub, Streams) مع أكواد عملية تشغلها مباشرة في المتصفح، ومدرس ذكاء اصطناعي متاح 24/7 يجيب على أسئلتك أثناء عملك.

هل أحتاج إلى خبرة سابقة لأبدأ Redis Caching & Messaging (Pub/Sub, Streams)؟

لا تُشترط خبرة سابقة. Redis Caching & Messaging (Pub/Sub, Streams) على CoddyKit منظم للمبتدئين حتى المتقدمين، لذا يمكنك البدء من هنا أو من البداية والتقدم بسرعتك الخاصة. هذا هو الدرس 1 من أصل 4.

كم من الوقت يستغرق درس «مقدمة إلى Redis»؟

معظم دروس CoddyKit تستغرق حوالي 5–10 دقائق. كل منها موجز وتفاعلي، لذا تحرز تقدماً مستمراً وتستأنف من حيث توقفت عبر الويب والتطبيق.

هل يمكنني كتابة وتشغيل أكواد في درس Redis Caching & Messaging (Pub/Sub, Streams) هذا؟

نعم. كل درس في Redis Caching & Messaging (Pub/Sub, Streams) يتضمن محرر أكواد مدمج، لذا تكتب وتشغل أكواداً حقيقية مباشرة في متصفحك وتحصل على تعليقات فورية من الذكاء الاصطناعي — بدون إعداد محلي.

جميع الدروس في هذه الدورة

  1. مقدمة إلى Redis
  2. أساسيات Redis CLI
  3. هياكل البيانات الأساسية في Redis
  4. انتهاء صلاحية المفاتيح وTTL في Redis
← العودة إلى Redis Caching & Messaging (Pub/Sub, Streams)