API
5 posts — newest first.
-
gRPC vs REST: Smaller Bytes Are the Least Interesting Difference
Protobuf is smaller than JSON until you gzip it. The real gRPC trade-offs are contracts, deadlines, status codes in trailers, and load balancing on Kubernetes.
-
Offset Pagination Works Until Someone Writes to the Table
?page=37 has two bugs: it duplicates and skips rows under concurrent writes, and it gets slower with depth. Keyset cursors fix both. Runnable demo inside.
-
Webhooks: Verify, Store, Say 200, Then Think
A webhook is a message queue whose producer belongs to someone else. The receiver pattern that survives retries, duplicates, replays and out-of-order events.
-
REST vs. GraphQL APIs – how to choose?
REST or GraphQL? How the two API styles differ in data fetching, versioning, caching, and tooling — and how to choose for your service.
-
GraphQL for API Development
GraphQL is a query language for APIs, created at Facebook in 2012. What it is, how it differs from REST, and where it fits in API development.