№ 02 / SUMMARIES

#backend

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

Tag · #backend
DAY 01Thursday 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 02Wednesday 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 03April 27, 2026 APR 27 · 20261 SUMMARIES
Level Up CodingSoftware Engineering

Go 1.26's Green Tea GC Cuts Backend Latency 6% for Free

Switching to Go 1.26 enables the Green Tea garbage collector by default, dropping average latency 6% and GC pauses 35% in services handling 5k-20k req/s—no code changes needed.

Level Up Coding
DAY 04April 25, 2026 APR 25 · 20261 SUMMARIES
Level Up CodingSoftware Engineering

Two-Layer Caching Slashes Rec Latency via Scoped TTLs

Stack per-user TTL cache (5min) over global TTL cache (5min) for shared interaction matrix and similarities to avoid O(n²) rebuilds on every request, serving most hits from memory without DB touches.

Level Up Coding
DAY 05April 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 06April 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 07April 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 08July 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