Skip to content
View harshlocham's full-sized avatar

Highlights

  • Pro

Block or report harshlocham

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 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
harshlocham/README.md

๐Ÿ‘‹ Hey, I'm Harshdeep Singh

I build real-time, scalable systems with a focus on low-latency communication, clean architecture, and production reliability.

Currently, I'm working on a next-gen chat platform that goes beyond simple messagingโ€”covering real-time presence, distributed systems, and peer-to-peer communication.


๐Ÿš€ Featured Project: ChatApp

A production-oriented real-time chat system designed for scalability, reliability, and seamless user experience.

๐Ÿง  Architecture

This project is structured as a modular, distributed system:

  • Web App (Next.js)
    Handles authentication, REST APIs, and data persistence.

  • Socket Server (Express + Socket.IO)
    Dedicated real-time transport layer for messaging and event fan-out.

  • Redis
    Powers presence tracking and pub/sub for cross-instance synchronization.

  • Shared Packages (Monorepo)
    Ensures type-safe communication and consistent contracts across services.


โšก Key Engineering Highlights

  • Real-time messaging system with low-latency event delivery
  • Horizontal scaling support using Redis pub/sub
  • Presence system (online/offline/typing) synced across multiple instances
  • WebRTC-based video calling (peer-to-peer communication)
  • Robust socket lifecycle handling (reconnects, state sync, edge cases)
  • Media upload pipeline using ImageKit with optimized delivery
  • Clean monorepo architecture for scalability and maintainability

๐Ÿ—๏ธ System Design Focus

  • Event-driven architecture for real-time updates
  • Separation of concerns between API and real-time layers
  • Stateless server design for horizontal scalability
  • Type-safe contracts across services
  • Designed with production constraints in mind (latency, reliability, consistency)

๐Ÿ“Œ What I Care About

  • Building systems that scale beyond a single server
  • Writing code that is clean, maintainable, and extensible
  • Designing architectures that handle real-world edge cases
  • Focusing on performance, latency, and user experience

๐Ÿ“ˆ Current Focus

  • Improving distributed system reliability
  • Exploring advanced real-time patterns
  • Building production-grade features (not just demos)

๐Ÿค Let's Connect

I'm always open to:

  • Backend / Full-stack roles
  • Startup environments
  • Systems-focused engineering challenges

If you're working on something interesting, feel free to reach out ๐Ÿš€

๐Ÿ› ๏ธ Tech Stack & Tools

Next.js React Tailwind CSS Node.js Express Socket.io MongoDB Mongoose NextAuth Zustand Docker TypeScript GitHub Actions


Pinned Loading

  1. chat-app chat-app Public

    Production-grade real-time chat system with scalable architecture

    TypeScript 2 2