Madusha

Sandaruwan

Software Engineer CTO
Based in Colombo, LK

Building software and leading engineering at a startup. I focus on architecture, infrastructure, and creating systems that are simple to understand and maintain.

Madusha Sandaruwan

What I Work On

Bridging the gap between backend systems and user experiences.

System Architecture

Designing distributed systems. I focus on event-driven architectures and microservices that handle high throughput efficiently.

Kafka Redis gRPC

Frontend Engineering

Building accessible and performant user interfaces using Next.js, React, and modern CSS.

React TypeScript Tailwind

Backend Engineering

Developing APIs and optimizing database queries for speed and reliability.

Go PostgreSQL GraphQL

DevOps & Infrastructure

Managing cloud infrastructure and CI/CD pipelines on AWS and GCP.

Docker Kubernetes Terraform

Featured Case Study

Solving complex problems with scalable architecture.

Migration 2024 // FinTech

Enterprise Event-Driven Architecture

Role: CTO / Lead Architect

The Challenge

A legacy monolithic application was facing severe scalability bottlenecks during peak transaction periods, resulting in high latency and occasional downtime. The tight coupling made feature development slow and risky.

The Solution

Designed and led the migration to a microservices architecture using .NET 8 and Azure Kubernetes Service (AKS). Implemented Apache Kafka as the backbone for asynchronous messaging to decouple services and ensure eventual consistency.

The Outcome

  • 50% reduction in infrastructure costs via auto-scaling.
  • 99.99% uptime achieved during peak load seasons.
  • 10x improvement in system throughput.
C# .NET 8 Azure AKS Kafka Redis Terraform
Kafka
Auth
Order
Pay
Inv

About Me

The human behind the code.

[Profile_IMG]
Madusha Sandaruwan profile photo
Location Colombo, Sri Lanka
Status Building a startup
Focus Engineering & Architecture
"Good software is boring. It just works, and nobody notices."

01 // Biography

I'm currently the CTO and the Co-Founder of the startup, Wirity Labs. My days are full of writing code, designing systems, and figuring out elegant solutions for complex problems. It all started back in 2013 when curiosity got the best of me. I wanted to understand how things worked at a deeper level. These days, my focus is on backend architecture and infrastructure. I enjoy working on problems that ensure systems run reliably over time.

When I'm not coding, you'll find me diving into stuff about history or philosophy. It's interesting how understanding both technical and human systems benefits from learning to see the bigger picture.

Years Experience 6+
Projects Delivered 25+
Certifications
Teams Led 3

02 // Experience

Wirity Labs

2025 – Present

Co-Founder & CTO

  • Leading the technical vision and engineering strategy for a scalable SaaS product.
  • Architecting a cloud-native infrastructure on AWS using microservices and event-driven patterns.
  • Building and mentoring a high-performing engineering team while remaining hands-on with code.
C# .NET 9 Typescript AWS PostgreSQL React Docker

Freelance Consultant

2018 – 2025

Systems Engineer

  • Architected and delivered custom software solutions for international clients in e-commerce and logistics.
  • Migrated legacy monolithic applications to modern microservices architectures, improving scalability.
  • Provided technical consultation on cloud adoption and AI migration.
C# ASP.NET Core Azure SQL Server Next.js TypeScript

Perituza Lanka

2024 – 2025

.NET Developer

  • Developed internal tools for database performance benchmarking across MySQL, PostgreSQL, and SQL Server.
  • Implemented CI/CD pipelines using Azure DevOps to automate testing and deployment workflows.
C# .NET Azure DevOps Docker SQL

NIBM

2020 – 2021

Video Editor & Content Creator

  • Produced educational video content, mastering storytelling and visual communication.
  • Collaborated with creative teams to deliver high-quality media assets under tight deadlines.
Premiere Pro After Effects Adobe CC

Tech Stack

The tools I use to build reliable, scalable systems.

Languages

TypeScript logo
TypeScript
C# logo
C#
Go logo
Go
Python logo
Python
C++ logo
C++

Frameworks

.NET logo
.NET
Hono logo
Hono
Svelte logo
Svelte
Next.js logo
Next.js
Astro logo
Astro

Data & Messaging

PostgreSQL logo
PostgreSQL
MySQL logo
MySQL
MongoDB logo
MongoDB
Kafka logo
Kafka
Redis logo
Redis

Cloud & DevOps

Azure logo
Azure
GitHub Actions logo
GitHub Actions
Docker logo
Docker
Linux logo
Linux
AWS logo
AWS

Selected Work

Selected projects and experiments.

Wirity Labs Core (SaaS)

Wirity Labs Core (SaaS)

2025
System Architecture SaaS Cloud-Native

Architected the core infrastructure for a scalable SaaS product. Implemented a vertical slice architecture with .NET 9, utilizing Kafka for event-driven communication and AWS for cloud-native deployment.

C# / .NET 9 / AWS...
Distributed Transaction Engine

Distributed Transaction Engine

2024
FinTech Distributed Systems Backend

Designed a high-concurrency double-entry ledger system capable of 10k TPS. Implemented the Saga pattern with MassTransit to ensure eventual consistency across microservices without distributed locking.

C# / .NET 8 / Redis...
Serverless Video Pipeline

Serverless Video Pipeline

2024
Cloud Engineering Serverless DevOps

Built an event-driven video processing pipeline using AWS Lambda and S3. Features automated transcoding to HLS/DASH formats with a scale-to-zero architecture that reduced infrastructure costs by 60%.

AWS Lambda / S3 / DynamoDB...
Enterprise RAG Knowledge Base

Enterprise RAG Knowledge Base

2025
AI Systems Security RAG

Developed a secure internal search engine allowing employees to query proprietary documents. Integrated Azure OpenAI with pgvector for semantic search, enforcing strict role-based access control (RBAC).

Python / FastAPI / Azure OpenAI...

Featured Posts

Technical writing on systems, architecture, and software craftsmanship.

Let's Work Together

Have a project in mind? Let's build something great.

Get in Touch

Whether you need a technical co-founder, architect, or consultant — I'm here to help build scalable solutions.

Location
Colombo, Sri Lanka
Availability
Open to Projects
"I typically respond within 24 hours. Let's discuss how we can work together."

Send a Message

Fill out the form below and I'll get back to you within 24 hours.

Minimum 20 characters