Skip to content
View Bharat1Rajput's full-sized avatar

Block or report Bharat1Rajput

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
Bharat1Rajput/README.md
██████╗ ██╗  ██╗ █████╗ ██████╗  █████╗ ████████╗    ███████╗██╗███╗   ██╗ ██████╗ ██╗  ██╗
██╔══██╗██║  ██║██╔══██╗██╔══██╗██╔══██╗╚══██╔══╝    ██╔════╝██║████╗  ██║██╔════╝ ██║  ██║
██████╔╝███████║███████║██████╔╝███████║   ██║       ███████╗██║██╔██╗ ██║██║  ███╗███████║
██╔══██╗██╔══██║██╔══██║██╔══██╗██╔══██║   ██║       ╚════██║██║██║╚██╗██║██║   ██║██╔══██║
██████╔╝██║  ██║██║  ██║██║  ██║██║  ██║   ██║       ███████║██║██║ ╚████║╚██████╔╝██║  ██║
╚═════╝ ╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝╚═╝  ╚═╝   ╚═╝       ╚══════╝╚═╝╚═╝  ╚═══╝ ╚═════╝ ╚═╝  ╚═╝
Typing SVG

LinkedIn GitHub LeetCode Twitter Email


$ whoami

package main

import "fmt"

type Engineer struct {
    Name        string
    Role        string
    Location    string
    Primary     string
    Focus       []string
    CurrentWork string
    Philosophy  string
}

func main() {
    me := Engineer{
        Name:     "Bharat Singh",
        Role:     "Go Backend Engineer",
        Location: "Bhopal, Madhya Pradesh, India",
        Primary:  "Go (Golang)",
        Focus: []string{
            "Distributed Systems",
            "Event-Driven Architecture",
            "Microservices",
            "System Design & Trade-Offs",
        },
        CurrentWork: "Building Scalable APIs & High-Performance Backends",
        Philosophy:  "Write boring code that ships reliably.",
    }

    fmt.Printf("Hello, World! I'm %s 👋\n", me.Name)
    fmt.Printf("I build systems that scale — %s\n", me.Philosophy)
}

$ cat tech_stack.yaml

languages:
  primary:   Go (Golang)
  secondary: [C++, JavaScript, SQL]

backend:
  frameworks:    [Gin, Chi]
  protocols:     [REST APIs, gRPC]
  patterns:      [Microservices, Event-Driven Architecture]

messaging:
  brokers:       [Apache Kafka, RabbitMQ]

databases:
  relational:    PostgreSQL
  cache:         Redis
  nosql:         MongoDB

devops:
  containers:    Docker
  orchestration: Kubernetes (learning)
  tools:         [Git, Linux]

core_concepts:
  - Concurrency & Goroutines
  - Idempotency
  - State Machines
  - Distributed Systems
  - Exponential Backoff & DLQ

testing:
  - Table-Driven Tests
  - Integration Tests
  - Go Race Detector

$ ls -la projects/

🏦 FlowPay — Event-Driven Payment System  Apr 2026

Stack: Go · gRPC · Kafka · PostgreSQL · Docker

A 4-service distributed payment system that doesn't cut corners.

Service Responsibility
API Gateway Entry point, auth, routing
Order Service Order lifecycle, consumes payment.succeeded
Payment Service Idempotent processing, state machine
Notification Service Async notifications via Kafka events

Engineering highlights:

  • gRPC for sync inter-service communication — typed, fast, versioned
  • 📨 Kafka as event backbone — decoupled, replayable, durable
  • 🔐 Idempotency enforced at DB level via UNIQUE constraint on idempotency keys
  • 🔄 Payment State Machine: CREATED → PROCESSING → SUCCESS/FAILED
  • 🔁 Retry logic with exponential backoff + Dead Letter Queue (DLQ) on exhaustion

GitHub

📡 DispatchGo — Distributed Webhook Dispatcher  Jan 2026

Stack: Go · PostgreSQL · RabbitMQ · Docker

Re-architected a monolithic webhook system into a distributed producer-consumer pipeline.

Engineering highlights:

  • 🏗️ Decoupled HTTP ingestion from async delivery using RabbitMQ
  • 🔄 Worker pool with goroutines — concurrent, resource-efficient delivery
  • Exponential backoff retry strategy for unreliable endpoints
  • 📋 Full job lifecycle tracking: pending → processing → success/failed
  • Idempotent processing — safe to retry, never double-deliver

GitHub

🔗 Scalable URL Shortener  Mar 2026

Stack: Go · PostgreSQL · Redis · Docker

A clean, layered URL shortener with production-grade architecture.

Engineering highlights:

  • 🏛️ Layered architecture: handler → service → repository — clean separation of concerns
  • Redis caching on the hot redirect path — massively reduced DB reads
  • ⏱️ TTL-based expiration for short URLs
  • 📊 Analytics tracking: click count, last accessed timestamp

GitHub

🤔HoldUp — Token Bucket Rate Limiter  Feb 2026

Stack: Go · Concurrency · HTTP Middleware

A thread-safe, O(1) rate limiter built from scratch as HTTP middleware.

Engineering highlights:

  • 🪣 Token Bucket algorithm — the industry-standard approach for smooth rate limiting
  • 🔒 Thread-safe with goroutines + mutex — zero data races (verified by Go race detector)
  • O(1) request handling with lazy refill strategy
  • 🧪 Verified with table-driven tests across edge cases

GitHub


$ git log --achievements

commit a1b2c3d  🏆 MP Super 100 Scheme
Author: Bharat Singh
Date:   2022

    Selected among Top 100 students statewide in competitive exam.
    Only PCM student selected from the entire district.


$ top — GitHub Stats


GitHub Streak


$ traceroute me

traceroute to bharat@backend-systems, 5 hops max

1  competitive-programmer  [250+ LC problems, MP Super 100]     ✓
2  go-backend-engineer     [Gin, Chi, gRPC, REST]               ✓
3  distributed-systems     [Kafka, RabbitMQ, State Machines]    ✓
4  infra-aware             [Docker, PostgreSQL, Redis]           ✓
5  bharat@prod             [building things that don't break]   ✓

Packets: 5 sent, 5 received, 0% packet loss

Let's build something that scales.

📬 developer.singh.bharat@gmail.com


GitHub Snake Animation


"The best code is the code that doesn't surprise you at 3am."

Pinned Loading

  1. FlowPay FlowPay Public

    Distributed Order & Payment System using Go, gRPC, Kafka (Event-Driven Microservices)

    Go

  2. DispatchGo DispatchGo Public

    Distributed webhook processing system in Go using RabbitMQ and worker pools to handle jobs asynchronously and reliably.

    Go

  3. HoldUp HoldUp Public

    Thread-safe HTTP rate limiter middleware in Go using the Token Bucket algorithm to control request rate.

    Go

  4. Url-Shortner Url-Shortner Public

    URL shortener service in Go with Redis caching and PostgreSQL for fast redirects, custom aliases, and analytics tracking.

    Go

  5. Bookify Bookify Public

    A production-ready full-stack appointment booking application built with modern web technologies, featuring role-based authentication, slot management, and real-time booking capabilities for seamle…

    JavaScript 1

  6. Distributed_Systems_from_0_to_1- Distributed_Systems_from_0_to_1- Public