Tag: REST APIs
5 posts
Posts

Operating LLM Pipelines in Production
Versioned prompts in cache keys, shadow runs before flipping, async LLM tasks as rows that fail. The unglamorous parts of production AI.

Pooling Playwright browsers across FastAPI scans
A persistent Chromium instance with idle-timeout shutdown eliminates per-scan browser launch while isolating cookies via fresh contexts.

asyncio.gather Is Not Enough for a Sync Client
A job poller stuck at 48 seconds. asyncio.gather did nothing. Batching plus asyncio.to_thread cut it to 8 seconds without a new library.

Hardening an Admin Login: IPs, Timing, and a JWT Cookie
Spoofed x-forwarded-for, timing-leaky password checks, and a password gate per dashboard. Four small fixes that turn a toy login into a real one.

Aligning Five Form Components Around aria-describedby
Five form components, five approaches to displaying errors. One aria-describedby pattern turns inconsistency into a shared accessibility contract.