Backend

APIs, protocols and building fast, reliable services.
04
Feb
Street photograph by Stalin Pereira

The Beginner's Guide to API Design: REST Principles Most Developers Get Wrong

Covering resource naming HTTP verbs status codes and hypermedia that make APIs intuitive
2 min read
08
Jan
Street photograph by Stalin Pereira

Is the Rust Rewrite Worth the Development Time?

Discussing the learning curve tax versus the runtime performance payoff
2 min read
02
Jan
Street photograph by Stalin Pereira

Implementing the BFF Pattern to Reduce Mobile Latency

Why you need a Backend for Frontend (BFF) to aggregate microservices
2 min read
20
Dec
Street photograph by Stalin Pereira

Dropping JSON for Protobufs in Internal Microservices

Debating internal service communication: JSON/REST vs Protobufs
1 min read
18
Dec
Street photograph by Stalin Pereira

Designing Idempotency Keys for Payment APIs

A lost response plus an automatic retry equals a double charge. How to design idempotency keys properly: client rules, a Postgres schema, atomic key claims, concurrent retries, crash recovery around external calls, and the edge cases.
9 min read
14
Dec
Street photograph by Stalin Pereira

Bun vs Node.js: Production Stability Benchmarks 2025

Real-world I/O benchmarks beyond Hello World; stability assessment
1 min read
12
Dec
Street photograph by Stalin Pereira

URL Aesthetics vs. Security: `/users/101` vs `/users/cuid`

Balancing clean URLs with the security risk of ID enumeration
1 min read
29
Nov
Street photograph by Stalin Pereira

When to Choose gRPC Over REST: A Performance-First Approach

Where gRPC's speed actually comes from (HTTP/2, Protocol Buffers, streaming), what a typed contract buys you, and the costs tutorials skip: load balancing, debugging, browser support, and schema evolution. Ends with a clear guide on when to choose gRPC and when REST is better.
7 min read