Skip to content
View wasif-exe's full-sized avatar
🕸️
what's your purpose
🕸️
what's your purpose

Highlights

  • Pro

Block or report wasif-exe

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

SYED WASIF

Systems Software Engineer · Kernel-Bypass Infrastructure · Low-Latency Architecture

Portfolio LinkedIn X / Twitter Email


Technical Stack & Core Domain

Domain Technologies & Architectural Focus
Languages Rust · C · C++20 · x86_64 Assembly · Huff EVM Assembly · Python · Bash
Systems & Kernel Linux 6.x · AF_XDP (XSK) · eBPF / XDP · 2MB HugePages (MAP_HUGETLB) · io_uring (SQPOLL + REGISTER_BUFFERS) · Direct I/O (O_DIRECT | O_DSYNC) · mmap · POSIX · TAP · sched_setaffinity
Networking & Protocols RFC 9000 (QUIC) · RFC 9001 (QUIC-TLS) · RFC 9114 (HTTP/3) · RFC 9204 (QPACK) · RFC 9293 (TCP) · Google BBR · RFC 6675 SACK · RFC 8200 (IPv6) · RESP v2 (Redis) · TLS 1.3 · ARP · DNS · ICMP
Concurrency & Memory Thread-per-Core (TxC) · Shared-Nothing Executors · Lock-Free Atomics · Flat Slab Allocators · SPSC / MPMC Rings · Vyukov Queues · EBR Reclamation · align(64) · mimalloc · Custom RawWakerVTable
Hardware & Performance rdtsc Cycle Profiling · x86_64 AVX-512 / AVX2 SIMD · SSE4.2 CRC32C · AES-128-GCM / HKDF-SHA256 · SmartNIC Metadata Offload · Word-Parallel Checksums · Cache Line Alignment · Fat LTO
Verification & Tools Deterministic Simulation Testing (DST) · Loom · ThreadSanitizer · perf · strace · Valgrind · GDB · CPUID Feature Dispatch

Tech Stack


Featured Systems Flagships

A 24-crate from-scratch HFT stack spanning full TCP/IP, kernel bypass, VFIO PCIe DMA, SIMD parsing, a flat-array matching engine, HugePage slab allocator, and lock-free MPMC queues in Rust and C.

  • Flat-Array Matching Engine: Price-time priority order book with O(1) price lookup via direct array indexing ([PriceLevel; 65536]), 16-byte cache-aligned OrderSlot structs (4 per cache line), and bounded best-bid/ask watermark scans. Core match loop at 11.20 cycles (3.7 ns) per fill, 267.8 Mops/s.
  • HugePage Memory Kernel: Thread-local slab allocator with 64/128/256B fixed size classes backed by 1GB HugePages (2MB/4KB fallback) via intrusive free lists. Alloc+free at 1.55 ns (646.4 Mops/s). Paired with a Vyukov-style lock-free MPMC bounded queue at 6.52 ns push+pop (153.3 Mops/s) with align(64) cursor isolation.
  • AVX2 Batch Order Cancellation: Vectorized 8-wide order slot scanning using _mm256_cmpeq_epi32 (user cancel) and _mm256_cmpgt_epi32 (price sweep) on align(32) packed arrays. 0.96 cycles per 8 slots (24,892 Mslots/s) for user-ID matching, 0.95 cycles for price threshold sweeps.
  • Bare-Metal Hardware Dataplane: VFIO PCIe BAR0 MMIO doorbell writes at 0.90 ns/tx, CME MDP 3.0 Little-Endian SBE decoding at 3.45 cycles/msg (870 Mpps), dual-feed A/B multicast arbitration at 4.41 cycles, POSIX LD_PRELOAD socket shim at 10.64 cycles/call, and PTP PI clock servo.
  • Full-Stack Foundation (v1–v8): From-scratch TCP/IP with PAWS/SACK/BBR, AF_XDP zero-copy UMEM rings, QUIC/HTTP3 with TLS 1.3 (AES-128-GCM + HKDF-SHA256), AVX-512 dual-stack L2-L4 parser, io_uring SQPOLL NVMe reactor (2.17 GB/s), eBPF XDP pre-trade risk filter, and 300-seed deterministic chaos verification.

A zero-dependency, 3-tier database engine built from raw Linux 6.x kernel primitives up to NVMe persistence.

  • Kernel-Bypass Networking: Thread-per-core event loop using recv_MULTISHOT and kernel-provided buffer rings (PBUF_RING), cutting steady-state syscalls by 80.1% compared to multi-threaded epoll (300k+ req/sec).
  • Lock-Free Concurrency: Custom Vyukov MPMC queue and 3-epoch Epoch-Based Reclamation (EBR) collector with align(64) cache-line isolation. Formally verified for race freedom via Loom model checking and ThreadSanitizer.
  • Storage & SIMD Engine: O_DIRECT sector-aligned WAL, lock-free SkipList MemTable (2.13M ops/sec), mmap SSTables (1.88x WAF), and x86_64 AVX2 SIMD-vectorized Bloom filter probes (1.27M ops/sec point reads).

An I/O-free Raft consensus kernel powered by seed-driven deterministic simulation testing.

  • Pure State Machine (raft-core): Zero threads, zero async runtimes, zero sockets. Pure deterministic execution driven strictly by tick() -> Vec<Action> and step(msg) -> Vec<Action>.
  • Deterministic Chaos Harness (raft-sim): Evaluates Election, Log Matching, and State Machine safety invariants across simulated network partitions, packet drops, and node crashes at ~397,000 ticks/sec.
  • Production Runtime (raft-server): Driven by O_DIRECT + O_DSYNC 4096-byte sector-aligned physical disk writes with CRC32 integrity, Pre-Vote protocol (§9.6), and strict Figure 8 commitments (§5.4.2).

A deterministic, zero-allocation in-memory mempool evaluation engine engineered for extreme low-latency execution.

  • Tick Latency: Achieved a 37 ns / tick (~185 CPU cycles at 5 GHz) average decision latency over 490,444 historical mainnet candidates (0.5M candidates in 18.5ms total wall time).
  • Mechanical Sympathy: Zero heap allocations, zero string hashing, and zero floats in the hot path. Built using align(64) POD candidate structures, FxHashMap integer lookups, mimalloc, and native fat LTO binary compilation.
  • Offline Precision: 99.89% floor coverage, 98% precision, and 1.00 recall on historical execution replay.

GitHub Activity

Wasif's GitHub Stats Top Languages GitHub Streak

"In low-latency systems, you aren't racing other developers. You are negotiating with cache lines, CPU branch predictors, and the speed of light."

Pinned Loading

  1. wire wire Public

    Wire v9: from-scratch ultra-low-latency HFT stack in Rust and C. 24 crates: TCP/IP, AF_XDP, VFIO PCIe DMA, LMAX Disruptor, AVX2/AVX-512 SIMD, flat-array matching engine (11 cyc), HugePage slab (1.5…

    Rust 87 9

  2. lsm-engine lsm-engine Public

    A zero-dependency, ultra-high-throughput Log-Structured Merge-Tree (LSM-Tree) storage engine integrated with a Thread-Per-Core (TPC) kernel-bypass network engine and custom Epoch-Based memory recla…

    Rust 19 2

  3. Apex-Wire Apex-Wire Public

    Apex-Wire V2: Unified Full-Duplex Exchange Appliance — 30 crates, 23 subsystems, 5-cycle matching engine (1.6ns p50), AVX2 SIMD cancel, ITCH 5.0, mmap WAL persistence, SPSC lock-free ring bridge.

    Rust 3