Using Asyncpg with FastAPI and Air
A guide on integrating Asyncpg with FastAPI and Air for direct PostgreSQL database access, bypassing heavier ORMs like SQLAlchemy.
A guide on integrating Asyncpg with FastAPI and Air for direct PostgreSQL database access, bypassing heavier ORMs like SQLAlchemy.
Explains how to implement streaming updates for long-running tasks in Google's Agent2Agent (A2A) framework using asynchronous generators and SSE.
A reflection on Python's evolution over 12 years, focusing on its decline in server-side development due to performance and concurrency challenges.
Livestream notes on refactoring the kr8s Python library by replacing aiohttp with httpx to add trio support.
Explains how to create awaitable objects and async context managers in Python's asyncio, covering __await__, __aenter__, and __aexit__ methods.
Benchmark analysis shows async Python web frameworks often have worse throughput and higher latency variance than synchronous alternatives under realistic conditions.
Explores various methods for waiting on concurrent coroutines in Python's asyncio, comparing await, tasks, gather(), wait(), and TaskGroup.
A developer shares their journey of building a simple, concurrent HTTP server in Python using the asyncio library and non-blocking sockets.
Analyzes how major software changes like Python 3 and asyncio can be 'traumatic' for developer communities, causing wasted effort and code rot.
A developer explains how to create a simple mock service with delayed webhooks using the Starlette framework in Python.
A technical guide on building a Python asyncio benchmark tool to measure and compare the performance of different WebSocket servers and frameworks.
A technical guide on scaling a Python SSH polling application using asyncio and AsyncSSH to handle thousands of concurrent connections efficiently.
Introduces Python experts featured in the book 'Scaling Python', covering topics like distributed systems, performance, and APIs.
A summary of recent blog posts and presentations by Guido van Rossum, the creator of Python, covering topics like 0-based indexing and Python 3.