Skip to content
View KartikeyNamdev's full-sized avatar
🏠
Working from home
🏠
Working from home

Block or report KartikeyNamdev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
KartikeyNamdev/README.md
Typing SVG

LinkedIn Twitter Portfolio

Profile Views


πŸ’« About Me

Full Stack Developer β€’ Backend & Infrastructure Engineer β€’ Systems Architect

I'm a systems-first developer who builds resilient, scalable infrastructure β€” not just features. My approach combines deep system design with hands-on implementation across the full stack, from distributed backend services to cloud-native deployments.

What drives me:

  • πŸ—οΈ Architecture over Implementation β€” understanding why before how
  • πŸ”§ Production Systems β€” building for failure, monitoring, observability
  • πŸš€ Performance at Scale β€” distributed systems, concurrent processing, real-time data
  • 🎯 Infrastructure as Code β€” Kubernetes, Docker, CI/CD pipelines
  • 🌐 Web3 & Decentralized Systems β€” blockchain infrastructure, Solana, Rust

Core philosophy: learn systems deeply rather than superficially, build mental models before reaching for frameworks, break things intentionally to understand them, and design for failure from day one β€” measure, don't assume.


πŸš€ Current Focus: Building an Exchange from Scratch

πŸ“Š High-Frequency Trading Exchange (TypeScript β†’ Rust/Solana)

Building a production-grade exchange system to deeply understand financial infrastructure before transitioning to Web3/DeFi protocols.

System Architecture:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    WebSocket Server (Real-time)              β”‚
β”‚                   ↓ Market Data & Order Updates              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                      API Gateway (REST)                      β”‚
β”‚                  ↓ Order Placement & Queries                 β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                   Redis Pub/Sub + Queue                      β”‚
β”‚              ↓ Event Streaming & Sequencing                  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                    Matching Engine Core                      β”‚
β”‚         ↓ Order Book, Price-Time Priority, Fills             β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚              Balance Manager (ACID Compliance)                β”‚
β”‚         Available Balance ↔ Locked Balance                   β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚                PostgreSQL + Redis (State)                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ“ˆ Order Book Engine

  • Bid/Ask management with price-time priority
  • Partial & full order fills
  • O(log n) order matching using sorted structures
  • Real-time depth updates

πŸ’° Balance Management

  • ACID-compliant transactions
  • Available vs Locked balance tracking
  • Atomic state transitions
  • Rollback mechanisms for failed trades

⚑ Real-time Infrastructure

  • Redis queue for order sequencing
  • Pub/Sub for trade broadcasts
  • WebSocket server for market data streaming
  • Sub-millisecond latency optimization

πŸ”’ Risk & Settlement

  • Pre-trade balance validation
  • Post-trade settlement engine
  • Trade history & audit logs
  • Idempotency for order processing

Why this matters for Web3: understanding centralized exchange mechanics before building DEX protocols, mental models for AMMs and on-chain order books, and production-grade infrastructure thinking carried into Rust with domain knowledge intact.

Key learnings so far: concurrent order processing with Redis queues, ACID compliance in distributed systems, real-time streaming architecture (WebSocket + Pub/Sub), O(log n) order book performance, available-vs-locked balance semantics, and event sourcing for audit trails.


🌱 What I'm Currently Learning

πŸ—οΈ Distributed Systems

  • Consensus algorithms (Raft, Paxos)
  • Event sourcing & CQRS patterns
  • CAP theorem in production
  • Distributed tracing (Jaeger, OpenTelemetry)
  • Saga pattern for transactions

☸️ Kubernetes & DevOps

  • Helm charts & custom operators
  • Service mesh (Istio, Linkerd)
  • GitOps with ArgoCD & Flux
  • Prometheus + Grafana monitoring
  • Auto-scaling with HPA & VPA
  • CI/CD pipelines (GitHub Actions)

πŸ”— Web3 Infrastructure

  • Solana runtime & accounts model
  • Rust for blockchain development
  • DeFi protocol design patterns
  • Cross-chain bridges architecture
  • MEV (Maximal Extractable Value)
  • Smart contract security

Next on roadmap:

  • Rebuild exchange in Rust with tokio async runtime
  • Deploy to Kubernetes with horizontal auto-scaling
  • Implement Solana smart contracts for a decentralized order book
  • Build MEV-resistant order flow with encryption
  • Add Grafana dashboards for real-time monitoring
  • Write system design docs and architecture decision records

πŸ’» Tech Stack

Languages & Runtime

TypeScript JavaScript Python Rust Go Solidity

Backend & Infrastructure

Node.js Express.js NestJS FastAPI GraphQL WebSocket

Databases & Caching

PostgreSQL MongoDB Redis Elasticsearch TimescaleDB

Message Queues & Streaming

RabbitMQ Apache Kafka Redis Pub/Sub

DevOps & Cloud

Kubernetes Docker Helm GitHub Actions AWS Google Cloud DigitalOcean Prometheus Grafana

Frontend & Platforms

React Next JS TailwindCSS Vite Redux

Web3 & Blockchain

Solana Ethereum Web3.js Anchor

Tooling

Git Linux Postman Visual Studio Code


🎯 What I Bring to the Table

System Design & Architecture

  • Designing scalable distributed systems from the ground up
  • Event-driven architectures with message queues
  • Real-time data processing pipelines
  • High-availability & fault-tolerant systems

Backend Engineering

  • RESTful & GraphQL API design
  • WebSocket servers for real-time communication
  • Database optimization (SQL & NoSQL)
  • Caching strategies with Redis

DevOps & Infrastructure

  • Kubernetes cluster management & orchestration
  • CI/CD pipeline automation
  • Infrastructure as Code (Terraform, Helm)
  • Monitoring, logging, and alerting (Prometheus, Grafana)

🀝 Let's Connect

I'm always open to discussing system design & architecture, high-performance backend optimization, Kubernetes & cloud-native infrastructure, Web3 protocols & decentralized systems, exchange mechanics & financial infrastructure, or mentorship in backend engineering / DevOps.

LinkedIn Twitter Portfolio Email


πŸ’­ Random Dev Quote


⭐️ From Kartikey | Building systems that scale

"Learn systems deeply. Build before optimizing. Mental models compound."

Pinned Loading

  1. Medium Medium Public

    JavaScript 1

  2. Merchant-Paytm Merchant-Paytm Public

    TypeScript 1

  3. ChessTown ChessTown Public

    Chess Game using Websocket and Typescript

    TypeScript 1

  4. CMS CMS Public

    TypeScript

  5. Form-Builder Form-Builder Public

    TypeScript

  6. WebRTC_Project WebRTC_Project Public

    TypeScript