Skip to content
View JohnBasrai's full-sized avatar

Block or report JohnBasrai

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
JohnBasrai/README.md

Rust John Basrai

Senior Software Engineer Rust & C++ · Systems & Distributed Architectures · High-Performance Applications

About Me

Senior systems engineer with 15+ years of experience building backend and distributed systems, currently focused on Rust for high-assurance services spanning networking protocols, edge coordination, and authentication infrastructure. I care deeply about architectural clarity, explicit boundaries, and automated testing.

  • 🌍 Yuba City, CA
  • 🤝 Open to Rust-focused backend and distributed systems work

Current Focus

  • quelay — QUIC-based stream relay daemon in Rust for satellite and high-latency link environments. Implements priority scheduling via Deficit Round Robin, wire-level bandwidth enforcement, and lossless stream recovery. Validates BBR congestion control as a 4–5× throughput improvement over NewReno on degraded BLOS links.
  • mom-rpc — published Rust crate providing RPC over message-oriented middleware (AMQP, DDS, MQTT). Decouples application logic from broker mechanics while preserving explicit control over reliability, routing, and feature composition.

📌 Writing & Talks


🛰️ Project Spotlight — quelay

QUIC-based stream relay daemon written in Rust, designed for satellite and high-latency link environments.

Highlights

  • Priority scheduling via Deficit Round Robin with wire-level bandwidth enforcement
  • Lossless stream recovery across link outages using a three-pointer spool buffer
  • Retransmit accounting for accurate bandwidth allocation under degraded conditions
  • Validates BBR as a 4–5× throughput improvement over NewReno (750 ms RTT, 5% packet loss)
  • Maintains configured bandwidth allocation within ±3% under impairment
  • Docker-based link simulation harness using tc netem for reproducible satellite testing

Stack: Rust, QUIC, Docker, tc netem


🧩 Selected Projects

Repo Focus
rust-edge-agent Embedded Linux edge agent: ARM64 cross-compilation, MQTT coordination via mom-rpc, reproducible CI
tokn OAuth2/OIDC/JWT authorization server — RFC 6749/7519, token rotation, PostgreSQL, 10 security tests
axum-quickstart Async REST APIs in Rust with WebAuthn/Passkeys, PostgreSQL, Redis, Prometheus
zkp-cp Chaum–Pedersen zero-knowledge proofs in Rust (gRPC, tonic)
cr8s Rocket backend with JWT auth, role-based access, SQLx migrations, full integration testing
mempool-vortex Ethereum mempool monitoring and latency analysis in Rust

🛠️ Technical Focus

Systems & Architecture

  • High-latency and satellite link protocols (QUIC, BBR, RTP)
  • Secure sandboxed execution (Linux namespaces, cgroups v2)
  • Message-oriented middleware and edge coordination (MQTT, AMQP, DDS)
  • Explicit control/data-plane separation

Languages & Runtime

  • Rust (async, networking, systems)
  • C / Modern C++
  • Python, SQL, WebAssembly

Infrastructure & Observability

  • PostgreSQL, Redis, Docker
  • Prometheus, Grafana, Loki

Testing & CI

  • Integration-heavy testing strategies
  • Security-focused test coverage
  • GitHub Actions & GitLab CI

📋 Architecture Patterns

Explicit Module Boundary Pattern (EMBP)

A documented Rust pattern for enforcing architectural boundaries while preserving refactor freedom.


🤝 Let's Connect

If you're hiring for backend, distributed systems, or Rust-focused roles, feel free to reach out on LinkedIn.

LinkedIn GitHub

Pinned Loading

  1. tokn tokn Public

    OAuth2/OIDC authorization server and JWT token service in Rust with RFC 6749/7519 compliance

    Rust 1

  2. cr8s cr8s Public

    Full-stack Rust platform for managing crate metadata, release tracking, and user access — includes Rocket + SQLx backend, Redis caching, CI pipelines, and comprehensive integration tests

    Rust 2

  3. rust-edge-agent rust-edge-agent Public

    Rust edge agent for embedded Linux (ARM64)

    Rust 1

  4. mom-rpc mom-rpc Public

    RPC over message-oriented middleware (AMQP, DDS, MQTT, Redis...)

    Rust 1

  5. axum-quickstart axum-quickstart Public

    Async REST API in Rust using Axum, Redis, and Tokio. Demonstrates WebAuthn/Passkeys authentication with PostgreSQL credential storage, Redis challenge management, session-based auth, Prometheus met…

    Rust 2 1