AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Staying alive: surviving a restart, keeping copies, spreading the load and watching for trouble

Run a fast in-memory store you can trust: decide how much data a crash may cost, keep copies that take over when the main one dies, spread data across machines, and lock the door and watch the dials so trouble is caught early.

Memory is fast, and memory is forgotten when a machine loses power. The shop from the previous course now depends on its in-memory store for sessions, carts and queues, so a restart, a dead machine or a stranger on the network would each hurt. This course follows the same developer as they decide what a crash may cost, set up copies, plan for growth and make the store safe and visible.

The Python code in each lesson runs in your browser and imitates the ideas with made-up numbers; the real settings and commands are shown beside it. Take the first course in this pair before this one.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 04 25 min 🔒 AiTeky Pass Persistence: RDB, AOF and what you can lose Compare snapshots with a write log, count how many writes each can lose in a crash, see the speed cost of flushing to disk every time, watch a log shrink when it is rewritten, and estimate how long a restart takes.
  2. 05 30 min 🔒 AiTeky Pass Replication, Sentinel and clustering Keep a copy that follows the main server and see what a failover can lose, watch a small group of watchers vote before promoting a copy, and spread keys across machines with hash slots, including why some multi-key commands need a hash tag.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 06 35 min 🔒 AiTeky Pass Security and monitoring a Redis server Audit a store's settings for the common mistakes, give each application a user that can only run the commands and reach the keys it needs, read the numbers the server reports about itself, set alert thresholds, and find slow commands. Ends with interview questions.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in