Photo by Agathe on Unsplash
Read More

Python Concurrency

In Python, Process, Thread, and Async are three different concurrency mechanisms, but their behavior and applicable scenarios are often confused. In particular, when using FastAPI, a lack of understanding of its execution model can easily lead to writing code that blocks the system. This article starts from these fundamental concepts and explains how Python behaves in concurrent and practical applications.
Read More
Photo by Alex Alvarez on Unsplash
Read More

Dispatch Queue Tutorial

Grand Central Dispatch (GCD) provides efficient concurrent processing so that we don’t need to directly manage multiple threads. Its dispatch queues can execute tasks serially or concurrently.
Read More