Slotted classes with __slots__ in Python

PROGRAMMING

|

May 22, 2025

Discover how Python’s __slots__ can significantly reduce memory usage and improve performance in backend systems. This guide walks you through the basics of slotted classes, explains how they work, and shows real-world backend examples.

How the GIL Affects Real Python Workloads

PROGRAMMING

|

May 22, 2025

Discover how Python's Global Interpreter Lock (GIL) impacts real-world backend performance. This post breaks down the difference between CPU-bound and I/O-bound tasks, benchmarks threading vs multiprocessing, and shows you when Python threads help.

Implementing Singleton with Async/Await in Python

PROGRAMMING

|

May 22, 2025

Discover how to implement the Singleton design pattern in asynchronous Python using async/await. This in-depth guide covers practical patterns, real-world backend use cases.

Understanding Async Context Managers in Python

PROGRAMMING

|

May 21, 2025

Learn how to use async context managers in Python to manage resources like HTTP sessions and database connections in asynchronous applications. This guide covers everything from the basics to advanced patterns with backend examples.

Behind the Underscores EP13: Metaprogramming (__class__, __bases__, __mro__, __instancecheck__)

PROGRAMMING

|

May 21, 2025

In this blog post, we dive deep into Python's metaprogramming methods like __class__, __bases__, __mro__, __instancecheck__, and __subclasshook__. With real-world backend examples you'll learn when and why to use them, how they work, and where to be