Skip to content
View hars-21's full-sized avatar

Highlights

  • Pro

Organizations

@recodehive @VertexFlow

Block or report hars-21

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.

Content in all repositories owned by your account will be closed.
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
hars-21/README.md

Harshil Gupta

Backend engineer building systems that handle real concurrency and state.

I build backend systems, developer tools and products from the ground up, currently going deep in distributed systems and developer tooling.

Portfolio LinkedIn X Discord


What I'm Building

A live exchange simulator with a price-time-priority matching engine, order book, REST API, and WebSocket market feed.

  • O(log n) price-level insertion and O(1) best-bid/ask lookup
  • Redis Streams for order sequencing and Redis Pub/Sub for correlated request/response
  • A separate worker consumes trades and builds OHLCV candles outside the matching path

Production benchmark

Scenario Workload Result p95 latency
Unmatched limit orders 10,000 517 orders/sec · 100% success 163.2 ms
Matched limit orders 5,000 507 orders/sec · 100% success 168.4 ms
Single-order sweep 1,000 maker orders Completed in 148.4 ms —
WebSocket fan-out 500 connections Opened in 107 ms · 500/500 received update 24.6 ms

Live · Source

A stateful alternative to curl, built from scratch in Rust - stores base URLs, headers and variables so you're not retyping the full request every time.

  • 50+ GitHub stars · 150+ release downloads · 70+ installs via Crates.io · 3 external contributors
  • Keeps base URLs, headers, variables, saved requests, and command history across sessions
  • Uses an AST-based parser with separate execution and session modules
  • Supports 7 HTTP methods and ships binaries for macOS, Linux, and Windows
  • Built with Rust, Reqwest, Reedline, and Serde

Website · Source · Releases


Tech

Languages

Rust TypeScript JavaScript

Backend

Bun Node.js Express.js REST APIs WebSockets

Data

PostgreSQL Redis MongoDB Prisma

Infrastructure

Docker Linux Nginx AWS GitHub Actions


Build systems. Ship software. Learn from what breaks.

Pinned Loading

  1. paperdrill paperdrill Public

    The exchange built for developers, not spectators.

    TypeScript

  2. reqsh reqsh Public

    Interactive, persistent shell for HTTP requests. Built with Rust for ultimate speed and simplicity.

    Rust 56 3