Back to Browse

Why event-driven architecture matters (Python + Kafka example)

479 views
Sep 23, 2025
10:58

Ever wondered how Starbucks manages queues so efficiently — and what that has to do with scalable software? ☕ In this video, we break down Event-Driven Architecture (EDA) using Python, FastAPI, Flask, and Kafka — from concept to real-world application. You’ll learn: ✅ What Event-Driven Architecture is (with a simple Starbucks analogy) ✅ Why EDA is better than long-running loops and synchronous code ✅ How Kafka works as the event broker ✅ How to build scalable, decoupled systems with Python, FastAPI, and Flask ✅ How adding consumers horizontally scales your app — without changing code Event-driven systems are the backbone of highly scalable microservices used by big tech companies. By the end of this video, you’ll understand how to design backends that process thousands (or millions!) of events in parallel. 🔧 Tech stack: - Python 🐍 - FastAPI ⚡ - Flask 🌐 - Kafka 📨 If you want to build real-time, scalable, fault-tolerant systems, this video is for you. Tutorials: 1- https://sefiks.com/2025/09/04/a-gentle-introduction-to-event-driven-architecture-in-python-flask-and-kafka/ 2- https://sefiks.com/2025/09/10/a-practical-guide-to-dependency-injection-and-event-driven-architecture-in-fastapi-and-kafka/ Repositories: 1- https://github.com/serengil/eda 2- https://github.com/serengil/fast-eda Please Subscribe! That's what keeps me going ► https://bit.ly/40NfIS7 Want more? Connect with me here: Blog: https://sefiks.com/ Twitter: https://twitter.com/serengil Threads: https://www.threads.net/@serengil Instagram: https://www.instagram.com/serengil Facebook: https://www.facebook.com/sefikscom Linkedin: https://www.linkedin.com/in/serengil/ If you do like my videos, you can support my effort with your financial contributions on - Patreon: https://www.patreon.com/serengil?source=youtube - GitHub Sponsors: https://github.com/sponsors/serengil - Buy Me a Coffee: https://buymeacoffee.com/serengil

Download

0 formats

No download links available.

Why event-driven architecture matters (Python + Kafka example) | NatokHD