I Compared REST and RPC—Then Changed My Go API Design
What an action-based Go backend and a hand-rolled TypeScript RPC taught me about routing, HTTP status codes, validation order, authentication, and rate limits.
Aug 31, 202616 min read4

Search for a command to run...
Articles tagged with #backend
What an action-based Go backend and a hand-rolled TypeScript RPC taught me about routing, HTTP status codes, validation order, authentication, and rate limits.

One struct, one endpoint, one job. How production Go backends organize APIs around Run() + Handler() — and why I started preferring it over classic three-layer handlers.

Everyone adds WebSockets. Fewer build chat that survives scale, crashes, and multi-pod deploys. A standalone deep dive into durable delivery, Redis fan-out, and clean service boundaries.
