
Using Asynchronous Python with Celery
About this episode
Writing async code is important when building any application. You dont want your threads to be blocked on http calls and db look ups - esp if the language you are using is single threaded! I was surprised to find that most code written in Python is synchronous though that is now rapidly changing. Writing asynchronous code right now means using libraries like Celery which do all the work in a separate process. What is it, how do we use it and how does it work - this and more in this episode.
More from Karachi Wala Developer
A student at LUMS asked whether cloud and distributed systems roles still need strong coding, or whether understanding the concepts is enough while a harness writes the code. Cloud work is changing th…
A builder without a technical background asked how to make software factories actually work. My answer is simpler than a better harness: build your understanding as you go. Every instruction is a chan…
A question from a young engineer: should you build depth or breadth in a market nobody can predict? I start with a different question — what kind of work do you actually enjoy? — then walk through whe…
"Forward-deployed engineer" is the title everyone wants. I share what it actually looked like for me: two weeks sitting in a field office that runs 200 schools, taking phone-call tasks about broken so…
Every generation of engineers has been told their craft is ending — assembly to C, C to Java, Java to Python. Using the story of photography, I argue AI won't end software engineering; it will turn fa…