Skip to content
View RajMandaliya's full-sized avatar
  • Los Angeles, USA

Block or report RajMandaliya

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

Hey, I'm Raj πŸ‘‹

Software Engineer specializing in Rust, low-level systems, and distributed infrastructure.

I build systems from the ground up β€” from custom CPU emulators and cache simulators to Rust-based edge services processing 10M+ requests daily and event-driven fintech pipelines.

  • πŸ¦€ High-performance systems in Rust (Tokio, Actix Web, lock-free data structures)
  • βš™οΈ CPU architecture β€” ISA design, pipeline simulation, cache modeling
  • πŸ“‘ Event-driven architecture with Apache Kafka at production scale
  • ☁️ Cloud-native infrastructure β€” Docker, Kubernetes, AWS

πŸš€ Featured Projects

πŸ–₯️ cpu16 β€” Custom 16-bit CPU Emulator

A complete CPU built from first principles in Rust. Every design decision β€” instruction encoding, memory layout, interrupt handling β€” made deliberately and documented.

  • Custom 35-instruction ISA with 16-bit fixed-width encoding and 5-bit FLAGS register
  • Two-pass assembler with forward-reference resolution compiling .asm β†’ binary
  • 5-stage in-order pipeline (IF β†’ ID β†’ EX β†’ MEM β†’ WB) with RAW data hazard stall detection, flag hazard detection for conditional branches, and 2-cycle branch flush
  • Direct-mapped write-through L1 cache classifying misses as cold vs conflict; demonstrates cache thrashing on bubble sort's non-sequential access pattern
  • 6 assembly programs: bubble sort, binary search, Sieve of Eratosthenes, RPN stack calculator, Fibonacci, Factorial
  • 49 integration tests Β· 5 versioned releases Β· CI: fmt + clippy + test on every push

Stack: Rust Β· Custom ISA Β· Pipeline Simulation Β· Cache Modeling Β· Systems Programming


πŸ¦€ Mini-Agent: Rust AI Agent Framework

Rust-based AI agent implementing the full plan β†’ act β†’ observe execution loop.

  • Modular tool system with dynamic tool registration and extensibility
  • Async architecture with Tokio for scalable multi-step task execution
  • Memory-safe by design using Rust ownership model
  • Published as a reusable library on crates.io
  • ⭐ 12 stars β€” organic traction from the Rust community

Stack: Rust Β· Tokio Β· LLM APIs Β· Async


🚨 Anomaly Detection System

Real-time detection pipeline across three live Kafka streams.

  • PyOD ensemble (IForest + LOF + HBOS) with majority voting
  • Automatic concept drift re-fitting every 500 events
  • FastAPI REST + WebSocket live alert feed Β· 44 pytest tests Β· Fully Dockerized

Stack: Kafka Β· PyOD Β· FastAPI Β· PostgreSQL Β· Docker Β· Python


πŸ›  Tech Stack

Languages Rust β€’ Python β€’ Java β€’ Go β€’ C++ β€’ TypeScript

Backend Tokio β€’ Actix Web β€’ Spring Boot β€’ FastAPI β€’ JAX-RS β€’ Hibernate

Infrastructure Kafka β€’ Redis β€’ Docker β€’ Kubernetes β€’ Terraform β€’ AWS β€’ GitHub Actions

Databases PostgreSQL β€’ MySQL β€’ Amazon S3 β€’ Redshift β€’ Snowflake

Concepts CPU architecture β€’ Cache simulation β€’ Pipeline hazard detection β€’ Distributed systems β€’ Memory safety β€’ Concurrency β€’ Event-driven architecture β€’ CI/CD


πŸ“Š GitHub Stats


πŸ“ˆ Activity Graph


🀝 Connect


πŸ’‘ Open to SDE II / SDE III roles in systems and backend infrastructure.

Pinned Loading

  1. mini-agent mini-agent Public

    A minimal, async-first AI agent framework in Rust with multi-provider support (OpenRouter, OpenAI, Anthropic, Ollama), JSON schema-based tool calling, and a clean ReAct-style agent loop.

    Rust 14

  2. anomaly-stream-detector anomaly-stream-detector Public

    Real-time anomaly detection over Kafka streams using PyOD ensemble ML (IForest + LOF + HBOS) β€” monitors server metrics, transactions, and IoT sensors with FastAPI REST + WebSocket alerts

    Python 1

  3. data-chat-agent data-chat-agent Public

    Upload any CSV and ask questions in plain English β€” LangChain ReAct agent with Pandas, Plotly charts, and statistical analysis powered by GPT-4o mini

    Python 1

  4. cpu16 cpu16 Public

    A custom 16-bit CPU emulator written from scratch in Rust β€” includes a hand-designed ISA, two-pass assembler, fetch-decode-execute engine, stack, flags register, and interrupt handling.

    Rust 2

  5. nft-escrow nft-escrow Public

    A Solidity escrow contract for NFT-based property transactions β€” multi-party approval flow with inspection status, earnest deposits, and atomic settlement.

    Solidity 1

  6. portfolio portfolio Public

    TypeScript 1