64 articles · updated regularly Blog · Field notes

Thoughts on code, shipped from the trenches.

Architecture lessons, performance war stories, and engineering patterns from two decades of building production systems.

Search the blog…

64

Articles

101

Topics

20+

Years XP

Page 4

Articles archive

Page 4 / 7
13m Apr 23, 2025

API Keys & HMAC Signatures : Server-to-Server Authentication in Microservices

A comprehensive implementation guide to API key and HMAC signature authentication — covering API key generation and storage, HMAC request signing inspired by AWS Signature V4, Node.js implementation, rate limiting, and key rotation strategies.

AuthenticationSecurityMicroservices
Read
14m Apr 22, 2025

Mutual TLS (mTLS) Authentication : Server-to-Server Authentication in Microservices

A comprehensive implementation guide to Mutual TLS (mTLS) for service-to-service authentication — covering certificate chains, CA setup, certificate rotation, Node.js and Go implementations, Kubernetes cert-manager integration, and production patterns.

AuthenticationSecurityMicroservices
Read
10m Apr 21, 2025

Server-to-Server Authentication in Microservices

A high-level comparison of five authentication patterns for service-to-service communication — mTLS, API Keys & HMAC, OAuth 2.0 Client Credentials, Service Mesh Identity (SPIFFE/SPIRE), and JWT — covering when to use each, trade-offs, and real-world examples.

AuthenticationSecurityMicroservices
Read
13m Apr 20, 2025

WebSocket and SSE Communication : Server-to-Server Communication Technologies

A comprehensive guide to WebSocket and Server-Sent Events for real-time communication — covering the WebSocket protocol, SSE, scaling persistent connections, heartbeats, reconnection, and production patterns.

ArchitectureBackendWebSocket
Read
13m Apr 19, 2025

GraphQL Federation : Server-to-Server Communication Technologies

A comprehensive guide to GraphQL Federation for server-to-server communication — covering schema composition, subgraph design, entity resolution, the gateway router, performance optimization, and production deployment.

ArchitectureBackendGraphQL
Read
15m Apr 18, 2025

Event Streaming with Kafka : Server-to-Server Communication Technologies

A comprehensive guide to event streaming with Apache Kafka — covering topics, partitions, consumer groups, exactly-once semantics, Schema Registry, Kafka Streams, and production deployment patterns.

ArchitectureBackendKafka
Read
13m Apr 17, 2025

Message Queue Communication : Server-to-Server Communication Technologies

A comprehensive guide to message queues for server-to-server communication — covering RabbitMQ, Amazon SQS, delivery guarantees, dead-letter queues, backpressure, and production patterns.

ArchitectureBackendMessaging
Read
14m Apr 16, 2025

gRPC Communication : Server-to-Server Communication Technologies

A comprehensive guide to gRPC for server-to-server communication — covering Protocol Buffers, service definitions, streaming patterns, interceptors, error handling, load balancing, and production deployment.

ArchitectureBackendgRPC
Read
13m Apr 15, 2025

REST API Communication : Server-to-Server Communication Technologies

A comprehensive guide to REST API for server-to-server communication — covering API design principles, HTTP semantics, authentication patterns, error handling, rate limiting, circuit breakers, and production best practices.

ArchitectureBackendAPI
Read
9m Apr 14, 2025

Server-to-Server Communication Technologies

A high-level comparison of server-to-server communication patterns — REST, gRPC, Message Queues, Event Streaming, GraphQL Federation, and WebSocket/SSE — covering when to use each, trade-offs, and real-world use cases.

ArchitectureBackendMicroservices
Read