Skip to main content
Dulan Wirajith Lokunarangodage - Engineering articles author/ blog
HomeArticlesSeriesTopicsTipsAbout
Read latest
HomeArticlesSeriesTopicsTipsAbout
Read latest articles β†’
Dulan Wirajith Lokunarangodage - Engineering articles author/ blog
ArticlesSeriesTopicsRSS GitHub LinkedIn
Β© 2026 Dulan Wirajith Lokunarangodage. All rights reserved.
www.dulanwirajith.com
Home/Author/Dulan Wirajith Lokunarangodage

Dulan Wirajith Lokunarangodage

Staff backend engineer writing about systems, scale, cloud, and engineering trade-offs.

This publication collects practical engineering writing focused on backend systems, AWS architecture, and distributed systems design.

Browse topics or view all articles.

πŸ—οΈ
Architecture
Engineering Time Synchronization in a Real-Time Auction System: A Deep Dive into Clock Calibration at Scale
How we fixed a 54-second clock skew bug in our auction platform using NTP-inspired calibration, zero backend changes, and five lines of math.
Jun 19, 2026 · 30 min read→
♾️
DevOps
When a Healthy Service Goes Dark: Debugging an Nginx Segmentation Fault in Production
Health checks passed. PM2 was online. SSL was valid. Yet every request returned 500. How a crashing Nginx worker hid behind a perfectly healthy application.
Jun 10, 2026 · 10 min read→
⚑
Performance
The Decisions, Near-Disasters, and 35% Cost Savings from Rebuilding a Live Bidding Engine
Why Redis and not Kafka? Why Fargate and not Kubernetes? And what happened in staging that nearly derailed the entire migration? The honest debrief, tradeoffs, the mistake that almost broke production, and the final results.
May 27, 2026 · 8 min read→
πŸ’°
Enhancements
AWS Cost Optimization in Australia: How AU Companies Save 40%+ in 2026
Most Australian companies waste 30% on AWS. Learn real cost-cutting strategies from Sydney startups. Complete guide with code and metrics.
May 21, 2026 · 13 min read→
πŸ—οΈ
Architecture
What Happens When a Container Dies Mid-Auction: Resilience Engineering in Practice
Building a reliable system means planning for failure, not just success. Here's how we engineered Multi-AZ failover, sub-30-second crash recovery, and observability that turned hour-long incidents into 10-minute fixes.
May 20, 2026 · 13 min read→
⚑
Performance
Connecting a Fleet: How Redis Pub/Sub Makes Socket.IO Scale Across Containers
The core challenge of scaling Socket.IO is that each server instance is an isolated island. Here's how we used @socket.io/redis-adapter and the Socket.IO v4 upgrade to bridge those islands into one unified real-time system.
May 13, 2026 · 8 min read→
πŸ—οΈ
Architecture
System Design Trade-offs Every Engineer Should Understand
The real-world engineering decisions behind scalable systems-consistency vs availability, monolith vs microservices, sync vs async.
May 7, 2026 · 5 min read→
πŸ—οΈ
Architecture
Redesigning for Scale: The Architecture That Replaced a Single Point of Failure
After the production outage, we had a clear mandate: no more single points of failure. Here's the new distributed architecture we designed, from ALB through ECS Fargate to Redis, and why we made each choice.
May 6, 2026 · 8 min read→
☁️
Cloud
Reducing AWS Costs by 40% Through System Optimization
Real-world cloud cost optimization strategies applied to a production AWS environment-without sacrificing performance or reliability.
May 6, 2026 · 3 min read→
⚑
Performance
Scaling Backend Systems for High Concurrency
How production systems handle 100K+ concurrent users without degrading latency or reliability.
May 5, 2026 · 4 min read→
⚑
Performance
The Day Our Auction Platform Went Dark: A Production Post-Mortem
A traffic spike brought down our entire real-time platform without warning. Here's the story of what broke, why it broke, and the architectural decisions that followed.
Apr 29, 2026 · 5 min read→