System Status: ReadyLocation: Kathmandu, Nepal · RemoteFocus: Distributed Systems & APIs

Ashim Paudel — Backend Engineer designing scalable APIs & distributed systems.

I specialize in high-concurrency Node.js and TypeScript backends, ACID transactions in PostgreSQL, idempotent payment pipelines, Redis in-memory coordination, and decoupled message queues.

Core RuntimeNode.js · TypeScript · Python
Primary DatabasesPostgreSQL · Redis · MongoDB
System PatternsCaching · Queuing · Security
AvailabilityOpen for Roles
[01] Engineering Portfolio

Selected Work & Case Studies

Architectural breakdowns of production-grade backends, transaction handling, and worker pipelines.

All repositories
INDEX 01Backend & Payment Systems
2025

E-Commerce Payment Backend

Idempotent eSewa payments, Redis concurrency guards, modular Express architecture

Production-grade e-commerce REST API built with Express and TypeScript. Features a full payment flow with eSewa integration, Redis-backed idempotency guards to prevent duplicate charges, HMAC-SHA256 signature verification, and a clean modular folder structure (auth, users, products, cart, payment) with Prisma ORM and Docker.

✓Redis-backed idempotency cache prevents duplicate payment initiations — claimPaymentInitiation() uses atomic SETNX semantics
✓eSewa HMAC-SHA256 signature generation & response verification blocks all forged webhook callbacks
✓Typed AppError class with HTTP status codes and error codes for consistent error responses across all modules
✓Multi-stage Dockerfile with compose.yaml for deterministic local development and production parity
INDEX 02Distributed Systems
2025

JobFlow — Distributed Worker Platform

Turborepo monorepo with PostgreSQL job queue, heartbeat liveness, and graceful SIGTERM draining

Scalable background job processing platform built as a Turborepo monorepo with three apps (api, web, worker) sharing types and database access via @jobflow/shared. Workers register in PostgreSQL on startup, poll for jobs via an atomic claimNextJob(), send a 15-second heartbeat, and drain cleanly on SIGTERM before exiting.

✓PostgreSQL as the job queue — claimNextJob() atomically selects and locks the next pending job, no external broker needed
✓Worker heartbeat updates worker.lastSeen every 15s — enables dead-worker detection without an external health check
✓SIGTERM / SIGINT graceful shutdown drains the current job to completion before calling process.exit(0)
✓Turborepo @jobflow/shared package enforces type safety between API, web dashboard, and worker at compile time
INDEX 03Microservices & Machine Learning
2024

Crop Recommendation System

FastAPI ML microservice with scikit-learn Random Forest, Node.js backend, and Next.js farmer dashboard

Full-stack agricultural decision support platform with three independent services: a Next.js frontend, a Node.js/Express backend for farmer profiles and expense tracking (MongoDB), and a Python FastAPI microservice serving predictions from a scikit-learn Random Forest classifier pickled at training time and loaded in memory at startup.

✓Scikit-learn Random Forest classifier trained offline in Jupyter, serialized via pickle, loaded once at FastAPI startup for fast inference
✓Pydantic PredictionRequest schema validates all N/P/K/pH/temperature/humidity/rainfall inputs before reaching the model
✓Node.js backend proxies /predict to the FastAPI service — keeps ML service internal and avoids browser CORS issues
✓JWT-authenticated farmer profile and expense tracking API with MongoDB Atlas persistence
[02] Engineering Principles

Architectural Pillars

Core backend concepts prioritized across system design, data modeling, and API implementation.

01

Idempotency & Concurrency

Preventing double charges and duplicate actions through Redis distributed locks and atomic transactional guards.

Every critical financial and state-altering mutation utilizes unique request hashes and Redis SETNX mutexes, ensuring safety under network retries and webhook bursts.

02

Asynchronous Queues & Workers

Decoupling time-intensive workloads from HTTP response cycles using BullMQ and Redis Streams.

Offloading email delivery, image compression, data indexing, and payment reconciliation into resilient background worker pools with exponential backoff and dead-letter queues.

03

Cache Invalidation Strategies

Mitigating stale data and thundering herd conditions through version-tagged caching.

Implementing version-based cache tagging and stampede protection in Redis, slashing database read loads while preserving immediate consistency upon mutations.

04

Modular & Monorepo Architecture

Structuring maintainable multi-service repositories with Turborepo and strict TypeScript contracts.

Sharing data validation schemas, database client definitions, and typed API specifications across producer services, consumer workers, and frontend clients.

[03] Technology Matrix

Technical Stack & Tools

Technologies, databases, and architectural tools leveraged in active development.

Core Languages

TypeScriptStrict typing across full codebase
JavaScript (ES6+)Node.js runtime & event loop
PythonFastAPI microservices & ML algorithms
SQLRelational data modeling & query optimization

Backend & Runtimes

Node.jsEvent-driven asynchronous I/O
Express.jsREST APIs & custom middleware
FastAPIHigh-performance Python microservices
BullMQRedis-backed message & job queues
REST APIsContract-first API design

Databases & In-Memory

PostgreSQLACID transactions & relational schema
RedisDistributed caching, pub/sub, locks
MongoDBDocument storage & aggregation pipelines
Prisma / ORMType-safe database migrations

Architecture & DevOps

DockerContainerized environments & compose
TurborepoMonorepo task pipelines & caching
Git & GitHubBranching, PRs, semantic versioning
Next.jsModern full-stack client integrations
[04] Background & Philosophy

About Ashim

Engineering approach, system trade-offs, and technical mindset.

++++
Ashim Paudel

Ashim Paudel

Backend Engineer

Kathmandu, Nepal

Open to Remote

Engineering backend systems where reliability and data consistency are non-negotiable.

I am a backend developer based in Kathmandu. My interest in software engineering is focused on what happens behind the API interface: concurrency control, database transactions, cache coherency, message queuing, and how distributed services fail gracefully.

Instead of merely gluing pre-packaged boilerplate together, I prefer understanding the mechanics from the ground up. In my machine learning project, I coded the Random Forest algorithm from pure mathematical fundamentals without scikit-learn. In my commerce backend, I implemented strict idempotency locks to ensure zero double-charges on payment gateway retries.

I work comfortably across Node.js, TypeScript, PostgreSQL, Redis, and Docker, building modular systems that team members can maintain and scale with confidence.

ACID TransactionsDistributed LocksIdempotent APIsEvent-Driven WorkersCache InvalidationTurborepo Modularity
[05] Communication

Get In Touch

Available for full-time backend positions, contract engineering, and distributed systems discussions.

Let's discuss your backend challenges.

Whether you need someone to architect resilient API endpoints, optimize PostgreSQL queries, set up Redis caching layers, or manage asynchronous queue processing, feel free to reach out.

Send Direct Email