Skip to content
View JohnBasrai's full-sized avatar

Block or report JohnBasrai

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 supported. This note will be visible to only you.
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 authentication infrastructure and secure, high-assurance services. 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

  • tokn — OAuth2/OIDC/JWT authorization server in Rust, implementing RFC 6749/7636 with automated protocol testing (PKCE, token rotation, scope enforcement).
  • rtp-opus-streamer — real-time audio streaming system in Rust using RTP (RFC 3550) and Opus (RFC 6716), exploring resilience, observability, and behavior under network constraints.

📌 Writing & Talks


🔐 Project Spotlight — tokn

OAuth2/OIDC authorization server in Rust with PKCE, refresh token rotation, and automated security testing.

Highlights

  • RFC-compliant OAuth2 server with PostgreSQL persistence
  • JWT lifecycle management (RFC 7519)
  • Redis-backed token revocation and replay protection
  • 10 automated integration tests covering security edge cases
  • Clean architecture using EMBP and trait-based abstractions

Stack: Axum, PostgreSQL (SQLx), Redis, Argon2id, Docker Compose


🧩 Selected Projects

Repo Focus
axum-quickstart Async REST APIs in Rust with WebAuthn/Passkeys, PostgreSQL, Redis, Prometheus
cr8s Rocket backend with JWT auth, role-based access, SQLx migrations, full integration testing
zkp-cp Chaum–Pedersen zero-knowledge proofs in Rust (gRPC, tonic)
mempool-vortex Ethereum mempool monitoring and latency analysis in Rust

🛠️ Technical Focus

Systems & Architecture

  • Secure sandboxed execution (Linux namespaces, cgroups v2)
  • User-facing ingress, scheduling, and backpressure
  • 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 or here on GitHub.

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. mempool-vortex mempool-vortex Public

    Real-time Ethereum MEV simulation engine in Rust. Modular pipeline for mempool observation using WebSocket streams (Tungstenite), Flashbots bundle encoding, latency tracking, and async event proces…

    Rust

  3. 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 1

  4. cr8s-fe cr8s-fe Public

    Yew/WebAssembly frontend for cr8s, with Playwright-based E2E tests and Docker-first dev flow. Supports crate release workflows, session auth, and cross-platform CI automation

    Rust 1 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 1 1

  6. zkp-cp zkp-cp Public

    Chaum-Pedersen Zero Knowledge Proof authentication protocol implementation using gRPC (tonic/prost). Demonstrates cryptographic protocol design, async Rust server architecture, concurrent client/se…

    Rust 1 1