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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. Markdown supported. This note will be visible to only 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 β€’ DevOps Practitioner

I'm a systems-first developer who builds resilient, scalable infrastructureβ€”not just features. My approach combines deep system design knowledge 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

const approach = {
      learning: "Systems deeply, not superficially",
      building: "Mental models before frameworks",
      mindset: "Break things to understand them",
      scale: "Design for failure from day one",
      optimization: "Measure, don't assume"
  };

⚑ Fun Facts About Me

  • πŸ’₯ I'm obsessed with how systems behave under failure
  • πŸ”¨ I enjoy breaking things just to understand how to fix them properly
  • 🧠 I prefer mental models over frameworks
  • 🎯 I believe learning infra before Web3 makes everything clearer

πŸš€ 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)                    β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key Components Implemented:

πŸ“ˆ 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, order books on Solana, MEV protection
  • πŸ—οΈ Production-grade infrastructure thinking for blockchain systems
  • πŸ¦€ Transitioning to Rust with domain knowledge intact

Key Learnings from Building the Exchange:

  • How to handle concurrent order processing with Redis queues
  • ACID compliance in distributed systems (PostgreSQL transactions)
  • Real-time data streaming architecture (WebSocket + Pub/Sub)
  • Performance optimization: O(log n) order book, sub-ms latency
  • State management: Available vs Locked balance semantics
  • Event sourcing patterns 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 cluster with horizontal auto-scaling
  • Implement Solana smart contracts for decentralized order book
  • Build MEV-resistant order flow system with encryption
  • Add Grafana dashboards for real-time monitoring
  • Write comprehensive 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

Cloud Providers

AWS Google Cloud DigitalOcean

Monitoring & Observability

Prometheus Grafana

Frontend & Platforms

React Next JS TailwindCSS Vite Redux

Web3 & Blockchain

Solana Ethereum Web3.js Anchor

Tooling & Development

Git Linux Postman Visual Studio Code


✍️ Engineering Philosophy & Principles

const engineeringPrinciples = {
  systems: "Learn deeply, not superficially β€” understand the 'why'",
  building: "Mental models compound faster than frameworks",
  debugging: "Break things intentionally to learn how to fix them",
  scale: "Design for failure; systems fail, always",
  optimization: "Measure first, optimize second β€” premature optimization kills",
  infrastructure: "Master the fundamentals before abstractions",
  web3: "Understand centralized systems before decentralized ones"
};

// Production mindset
const approach = (problem) => {
  return {
    step1: "Understand the system constraints",
    step2: "Model failure scenarios",
    step3: "Build, measure, iterate",
    step4: "Document mental models, not just code"
  };
};

// How I approach learning
const learningPath = {
  theory: "Read papers, understand algorithms",
  practice: "Build from scratch, no libraries",
  production: "Deploy, monitor, debug in real scenarios",
  sharing: "Write docs, teach others, solidify understanding"
};

Core Beliefs

  • 🎯 Mental models > Frameworks β€” Frameworks change, principles don't
  • πŸ”§ Build from scratch first β€” Understanding emerges from implementation
  • πŸ“Š Observability is not optional β€” You can't fix what you can't measure
  • ⚑ Systems thinking β€” Everything is a distributed system at scale
  • πŸš€ Infrastructure before abstraction β€” Learn Kubernetes before serverless
  • πŸ’‘ Failure is a feature β€” Design for it, test for it, monitor for it
  • 🧠 Read code, lots of it β€” Best way to learn is from production systems

🎯 What I Bring to the Table

System Design & Architecture

  • Designing scalable distributed systems from 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 patterns
  • ⚑ High-performance backend optimization
  • ☸️ Kubernetes & cloud-native infrastructure
  • πŸ”— Web3 protocols & decentralized systems
  • πŸ“ˆ Exchange mechanics & financial infrastructure
  • πŸŽ“ Mentorship in backend engineering or 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