Build Your Own Redis in Python: Sockets & TCP Server (Part 1)
Автор: Logic & Layer
Загружено: 2026-02-26
Просмотров: 8
Описание:
Ever wondered how a database like Redis actually works under the hood? In this new series, we are peeling back the layers of backend engineering and building our own Redis-style server from scratch using pure Python!
In Part 1, we dive deep into the world of Network Sockets and TCP/IP. We start with a basic connection and quickly realize why "simple" isn't enough for a real-world database. You’ll learn about the "blocking" problem and how to solve it using Multi-threading to handle multiple clients at once.
By the end of this video, we will have a clean, class-based RedisServer that responds to PING commands just like the real thing!
What you will learn:
The Socket API: How computers talk over a network.
TCP/IP Fundamentals: Port binding, listening, and accepting connections.
Multi-threading: Using the threading module to create a non-blocking server.
System Design: Moving from a script to a professional Object-Oriented architecture.
📚 Resources & Links:
🔹 Backend Engineering Playlist: • Backend Engineering Masterclass in Python:...
🔹 Source Code: https://github.com/romjanxr/Backend-E...
🌐 Course Dashboard: https://courses.romjanali.dev/
📘 Facebook Page: / logicandlayer
💼 LinkedIn: / romjanxr
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: