Feb 15 · 20 min read · Welcome, fellow developers! 👋 I am absolutely thrilled to have you here today. Let’s face it: Multithreading can be a tangled mess. It’s one of those topics that can make even experienced developers sweat. But today, we are going to unravel that bal...
Join discussion
Feb 1 · 5 min read · Node.js is famous for its single-threaded, non-blocking I/O model. This design makes it incredibly good at handling thousands of concurrent connections with minimal overhead. But there’s a catch. What happens when your single thread is forced to perf...
Join discussionJan 24 · 5 min read · Semaphore là một cơ chế đồng bộ được sử dụng để điều phối quyền truy cập của nhiều luồng/tiến trình vào một số lượng tài nguyên hữu hạn hoặc để đồng bộ luồng trong môi trường đa luồng. 1. Cách thức hoạt động của semaphore Semaphore là một tập hợp các...
Join discussionJan 19 · 4 min read · Mutex là gì ? Mutex là chìa khóa để bảo vệ tài nguyên chung, tại một thời điểm chỉ cho phép một luồng truy cập. Nếu coi Tài nguyên chung là một cái phòng có một cửa thì Mutex chính là cái chì khóa phòng. Luồng nào lấy được chìa khóa và đi vào phòng t...
Join discussionJan 9 · 10 min read · Part 1: The basics Have you ever wondered how your computer or phone makes so many different apps work simultaneously? Or how you can have things running in the background doing their work, while you’re watching netflix in the foreground? These Backg...
Join discussion
Dec 27, 2025 · 4 min read · As a backend developer, I’ve spent most of my time working at the top of the stack. Whether I was building APIs with Django Rest Framework, Flask, or Express.js, the hardest parts of networking were already solved for me. I defined routes, processed ...
Join discussion
Dec 26, 2025 · 18 min read · Python’s concurrency tools let you optimize programs by running tasks in overlapping periods—great for cutting down wait times in I/O-heavy work and taking advantage of multiple CPU cores for compute-intensive tasks. In this article, I’m focusing on ...
Join discussion