↓ Skip to main content

#asyncio

19 posts

Posts

  1. gRPC High-Performance APIs with Python asyncio

    Service-to-service APIs with gRPC and Protobuf: grpcio asyncio server and client, streaming, deadlines, interceptors, schema evolution, HTTP/2 load balancing.

    7 min read Backend

  2. Advanced pytest: Fixtures, Mocking and Hypothesis

    Advanced testing with pytest 8: fixture scopes, parametrize, mocking with mocker and respx, async tests, Hypothesis property tests, snapshots and CI settings.

    8 min read Python

  3. Real-Time WebSockets with FastAPI and Redis

    Build a FastAPI WebSocket server, scale it across instances with Redis Pub/Sub, and handle pings, auth, Nginx proxying and client reconnects with backoff.

    7 min read Backend

  4. Celery vs Arq: Async Task Queues in Python

    Celery vs Arq for Python task queues: safe Celery settings, an async Arq worker, idempotency, visibility timeouts, retries and Arq's maintenance mode.

    8 min read Backend

  5. Redis Caching and Session Management in Python

    Redis caching and session management with redis-py asyncio: cache-aside with stampede protection, server-side sessions, Streams, locks and eviction policies.

    8 min read Backend