RS

Designing event-driven serverless systems.

////Serverless Architecture

Decoupled, asynchronous systems that stay affordable when traffic spikes and cost nothing when it does not.

4+SaaS Products Shipped
35%Cloud Cost Reduction
10+M+ Traces Processed
AWSNode.jsReactNext.jsPythonTypeScriptMongoDBRedis

Serverless architecture is a set of constraints before it is a set of services: no long-lived state in compute, at-least-once delivery everywhere, and a hard concurrency ceiling on every downstream dependency. Systems designed around those constraints are cheap and resilient. Systems that treat Lambda as "a server I do not have to patch" inherit every scaling problem they had before, plus a larger bill.

Decouple ingestion from processing

The core pattern is API Gateway accepting and validating a request, writing it to SQS, and returning quickly, while a pool of workers consumes at whatever rate the system can actually sustain. Ingestion latency becomes independent of processing throughput, so a traffic spike fills a queue instead of throwing 429s at users — and a backlog becomes a lag metric you can see rather than an outage you discover.

Concurrency is a budget, not a switch

Unbounded concurrency is how a serverless application takes down its own database. Each function gets a reserved concurrency ceiling sized to what its dependencies can absorb, timeouts tuned to the workload instead of the platform default, and handlers that are idempotent because the queue will eventually deliver something twice. Dead-letter queues make those failures recoverable.

Making cost predictable at scale

Pay-per-request pricing is only cheaper if requests and idle capacity are both understood. Resource-level usage aggregated per service, a health index per candidate, and LLM-generated cleanup proposals reviewed before application produced an average 35% reduction in AWS spend across the systems I have worked on — with rollback available at every step.

Decisions that show up in production

  • Queue-first ingestion so traffic spikes become backlog instead of errors
  • Reserved concurrency sized to downstream capacity on every worker function
  • Idempotent handlers with deduplication keys to survive duplicate delivery
  • Dead-letter queues plus replay tooling, so no message is unrecoverable
  • Step Functions or chained queues for multi-stage pipelines with visible progress
  • Automatic scale-to-zero, which is the primary cost advantage at low traffic
  • FinOps automation that proposes optimisations and validates them against live usage

By the numbers

Average AWS spend reduction
35%Average AWS spend reduction
Lower cost than fixed compute at low traffic
3–10xLower cost than fixed compute at low traffic
Monitoring check success rate
99.9%Monitoring check success rate
Monthly cost when idle
0Monthly cost when idle

Stack

  • Lambda
  • API Gateway
  • SQS
  • SNS
  • EventBridge
  • DynamoDB
  • S3
  • ECS / Fargate
  • CloudWatch
  • AWS CDK
  • Serverless Framework
  • Node.js

Related writing

2026-08-22

How AI Can Cut Your Cloud Costs by 35%: A Technical Deep Dive

Manual cloud cost optimization is tedious and error-prone. Here is how I built an AI-powered pipeline that analyzes AWS infrastructure, computes health indices, and generates safe optimization recommendations — saving 35% on cloud spend.

Other focus areas

Selected Work.

A showcase of my recent projects, focusing on scalable architecture, AI integration, and sleek user experiences.

AI-Powered Server & Website Monitoring

PulseGuard

A real-time monitoring platform for websites and servers featuring uptime tracking, DNS monitoring, SSL expiry alerts, and AI-driven insights for anomaly detection. Monitors 500+ endpoints with 99.9% check success and sub-second alert latency.

Node.jsPythonRedisReactAWS
AI Observability & Governance Platform

Observyze

Enterprise-grade AI observability platform with a Zero-Trust/GDPR-compliant architecture. Features local in-memory PII scrubbing and direct proxy bypass. Processes 2M+ traces/month, reducing debugging cycles by 70%.

Next.jsNode.jsSecurity / ComplianceCloud Architecture
Developer Tool

Env Secret Lock

A developer environment Secret Manager that solves the problem of secret sprawl. Secures secrets locally with zero-overhead AES-256-GCM. Active in production across 5+ engineering teams.

CLICryptographyNode.js
Cloud Cost Optimization

SubTrackHub

Analyzes cloud infrastructure usage to identify idle resources. Integrates LLMs to generate efficiency scores and recommendations, yielding an average AWS spend reduction of 35%.

Node.jsReactMongoDBLLMs
AI Video Generator

VidVerbalize

Converts YouTube videos into short, captioned clips optimized for social media using AI-based transcription and automated highlight extraction.

Node.jsAI APIsVideo Processing
Web3 Static Platform

NFT Showcase

A responsive NFT showcase website featuring curated collections. Hosted on AWS S3 with Route 53 domain routing for scalable delivery.

AWS S3HTML/CSSJavaScript