№ 02 / SUMMARIES

#backend

Every summary, chronological. Filter by category, tag, or source from the rail.

Tag · #backend
DAY 01Friday MAY 8 · 20262 SUMMARIES
Level Up CodingSoftware Engineering

Token Bucket Fails at Window Boundaries—Use Sliding Window

Token bucket rate limiting lets clients burst 40 requests across a minute boundary despite 100/min limit; sliding window counters prevent this by tracking requests in the last N seconds from now, enforcing even distribution.

Level Up Coding
Level Up CodingSoftware Engineering

Skip Heavy Clean Architecture in Python Unless Scale Demands It

Over-applying clean architecture in Python FastAPI apps requires 7 changes for one field addition, killing velocity; Django's simple models need just 2 lines, proving less structure ships faster.

DAY 02Thursday MAY 7 · 20261 SUMMARIES
Python in Plain EnglishSoftware Engineering

Fire-and-Forget Background Tasks: Python's 500ms Rule

Keep request-response under 500ms by decoupling acknowledgment (HTTP 202) from execution. Use reference registries for asyncio, FastAPI BackgroundTasks for light work, multiprocessing for CPU tasks, or Celery for persistent, scalable jobs.

Python in Plain English
DAY 03May 6, 2026 MAY 6 · 20261 SUMMARIES
Level Up CodingSoftware Engineering

Ditch preferred_username for Azure AD Guest Auth

Using preferred_username as identity anchor worked for employees but failed silently for all B2B guests, causing 403 errors post-launch. Anchor on oid instead for reliable identification.

Level Up Coding
DAY 04April 18, 2026 APR 18 · 20261 SUMMARIES
AICodeKingAI & LLMs

GPT-5.4 Best for Coding; Kimi K2.6 Tops Value vs Opus 4.7

GPT-5.4 leads in backend, debugging, planning, and reliability across tasks. Kimi K2.6 Code excels in frontend UI and offers superior speed/cost value. Opus 4.7 underperforms on messy backend work unless paired with Verdent's workflows.

AICodeKing
DAY 05April 8, 2026 APR 8 · 20263 SUMMARIES
Towards AI

GraphQL Fits AI Agents' Token Limits Perfectly

GraphQL's introspection, exact field selection, and types prevent token waste in AI agents, unlike REST which forces over-fetching and lacks runtime self-description.

Towards AI
Level Up CodingDevOps & Cloud

Scale Stateless Backends by Broadcasting Client Updates

Horizontal scaling routes callbacks to replicas without client SSE/WebSocket connections, silently dropping updates—broadcast via Redis Pub/Sub so the owning replica delivers reliably.

Level Up CodingSoftware Engineering

Pure TypeScript Domains: Swap CRUD for Event Sourcing, Zero Rewrites

Use noDDDe's Decider pattern to build pure function-based aggregates decoupled from persistence—test without mocks and switch from SQL state storage to event sourcing by changing one config line.

DAY 06April 2, 2026 APR 2 · 20261 SUMMARIES
The PrimeTimeSoftware Engineering

Primeagen's Live SQL Bootcamp on boot.dev

Casey Muratori live-streams boot.dev's SQL course, building a PayPal clone hands-on from SELECT basics, while roasting GitHub outages and AI code horrors.

The PrimeTime
DAY 07July 10, 2025 JUL 10 · 20251 SUMMARIES
__oneoff__Software Engineering

JS Client for WooCommerce REST API CRUD Ops

Use @woocommerce/woocommerce-rest-api to GET, POST, PUT, DELETE WooCommerce data like products/orders via Axios promises; requires store URL, consumer key/secret.

__oneoff__

Showing 15 of 15