Skip to content
View ani03sha's full-sized avatar
👨‍💻
Distributed systems + production AI engineering
👨‍💻
Distributed systems + production AI engineering

Block or report ani03sha

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
ani03sha/README.md
Anirudh Sharma

        


About

I build backend systems at the intersection of scale, correctness, and clarity, and write about the parts that are usually hand-waved away.

A decade-plus of building things that have to keep working when nobody is watching: payments infrastructure handling billions of transactions a month, compliance-grade communication and archival platforms, and now cloud-connectivity primitives. The repositories below are the residue of that habit - code I wrote to understand something at depth, not to ship a feature.

Currently  ·  distributed-systems primitives in Go, written as failure laboratories  ·  AI-engineering reference implementations from first principles  ·  a long-form series at anirudhology.com


Selected work

A laboratory for the unhappy path.

Production-quality Raft consensus in Go — built not just to work, but to fail in reproducible ways that mirror real production incidents. Leader election, log replication, fast log backtracking, partition recovery, durability under fire.

A distributed KV store with the hard parts on display.

Tunable consistency, MVCC, replication-lag measurement, and the phantom-durability trap reproduced and documented. The internals are the product.

Retrieval-augmented generation, from first principles.

An end-to-end RAG platform: ingestion, hybrid retrieval, re-ranking, generation, caching, evaluation. Companion to an eight-part series on the trade-offs behind each layer.

Karpathy's micro-GPT, ported to the JVM.

A from-scratch GPT implementation in Java — tokenizer, attention, training loop — written to demystify what every import transformers line is hiding.

Clock primitives for distributed systems.

Logical, hybrid-logical, and vector clocks; bounded-skew time — implemented as a single, production-grade Go library so causality becomes a dependency, not folklore.

A decade of long-form, code-first writing.

The codebase that powered years of public technical writing — algorithms, Java internals, Spring, AEM, distributed systems. Read by engineers in 100+ countries.

browse all repositories →


Toolbox

Languages

Data & Messaging

Platform

Vector Databases

Reliability

AI Engineering


By the numbers

Profile details

Stats GitHub streak

Repos per language Most commit language

Contribution activity


Off-keyboard: avid reader · Potterhead · Trekkie · the three Cs — CS, comic books, cricket.

Pinned Loading

  1. microgpt-java microgpt-java Public

    Java implementation of Karpathy's microgpt

    Java 11 3

  2. raftly raftly Public

    A production-quality Raft consensus implementation in Go: written as a failure-simulation laboratory, not a tutorial.

    Go 16

  3. distributed-rag-system distributed-rag-system Public

    A production-gradeRAG platform built on distributed systems principles. Designed as a reference implementation for engineering teams who want to run RAG in production.

    Python 14 2

  4. kv-fabric kv-fabric Public

    Distributed KV store with tunable consistency, MVCC, replication lag measurement, and the phantom durability trap reproduced and documented.

    Go 9

  5. RedQuarkTutorials RedQuarkTutorials Public

    Code used in all my tutorials on my website - redquark.org

    Java 75 43

  6. Technical-Interview-Preparation Technical-Interview-Preparation Public

    This repository contains various interview questions with their answers. Edits are welcome!

    Java 42 17