Wayne Shao

Software Engineer

Quantitative Systems · Performance Engineering · Distributed Systems

中文

Full-time intern from 2016; software engineer since graduating in 2017. My work spans quantitative and internet systems, focusing on performance engineering, high-throughput backends and large-scale distributed systems.

Selected Results

Quantitative Systems & Performance

7.7×Rust vs. C# backtesting
Same 2,033-stock task
327 → 124 μsGPU end-to-end latency
Including feature packing

Internet Platforms & Architecture

93% → 98%+Low-fare calendar accuracy
Led Tongcheng refactor
300K / sPeak price validation
Architecture and key-module owner

Experience

A Quantitative Investment Firm

Quantitative Systems Developer

Develop backtesting and matching engines, live market data pipelines and inference optimizations; build the market data platform and cross-site GPU cluster supporting quantitative research and production.

Quantitative Engines & Low-Latency Pipelines

  • Backtesting: led development of a new Rust engine. The same 2,033-stock validation task fell from a 28.9 s C# baseline to 3.77 s, with SHA-256-verified byte-identical output.
  • Batch matching: built a C++ engine processing a full trading day across 2,306 Shanghai stocks in about 18.9 s on 32 threads; 15.47 million trades matched the existing simulator byte for byte.
  • Deterministic parallel replay: designed streaming replay with model inference for the C# engine. A persistent thread pool delivered a 19× speedup over the serial baseline, with output parity across repeated multithreaded runs as an acceptance check.
  • Live market data: asynchronous publishing and cache-layout restructuring cut consumer-thread stalls per model interval from 3,795 ms to 0–1 ms; parity tests for this refactor retained bit-identical output.
  • GPU inference: graph partitioning, concurrent streams and CUDA Graph reduced inference from 269 μs with monolithic TensorRT to 66 μs; end-to-end latency including feature packing fell from 327 μs to 124 μs.

Data Platforms & Compute Infrastructure

  • Market data: rewrote historical data transcoding in Rust, migrating to Arrow IPC with per-object checks against the source. Optimized C# streaming reads for monthly datasets above 10 billion rows: 2.4–2.8× faster, with read-time memory growth down from about 40 GB to 2–4 GB.
  • Compute cluster: built and now operate a cross-site Slurm cluster with GPU resources on the scale of a hundred cards; delivered dual-controller high availability and node automation. Maintain parallel storage, identity services and alerting, and handle compute, storage and network incidents.
  • Engineering acceptance: incorporated output comparisons, automated tests, code review and structured handoffs into multi-agent development; maintain shared tooling configuration and upgrade scripts for the team.
Workload & Validation Records
Replay workloads
The Rust full-market replay covers 4,932 stocks in 26.85 s, or 9.37 s with caching. A separate comparison on the same 2,033-stock task shows a 7.7× speedup over C#. C# replay of 2,306 stocks includes model inference and takes about 52 minutes.
Output parity
Parity checks cover Rust/C# outputs for the same task, C++ matched trades, repeated C# multithreaded runs, and outputs before and after the live-path refactor.
Numerical inference
GPU inference P99 latency fell from 4.7 ms to 73 μs. A hand-written CPU SIMD forward pass replaced ONNX Runtime, cutting inference from 29 μs to 2.9 μs per stock with maximum absolute error ≤ 1e-8.
Capacity and signal regression
An extreme session with over a billion events was replayed at the original rate with zero ring-buffer overruns. End-to-end validation passed on 11 trading days with pooled signal correlation ≥ 0.998. C++ strategy full-market parallel replay fell from about 3.5 hours to 422 s.
Incremental data and operations
Historical migration covers 2,500+ trading days. Daily increments complete in about 20 minutes including validation and cross-site sync, with rollback and backfill procedures. Trading-log ingestion into ClickHouse uses minute-level scans with a 3-day lookback, failure reruns and notifications.

Tongcheng Network Technology Co., Ltd.

Senior Engineer, Domestic Flight Search (T6)

Worked on Tongcheng's core domestic flight-search platform, serving tens of millions of active users and multi-channel distribution traffic; the system runs 25 horizontally scalable services on more than 1,000 instances at 99.9% annual availability.

35,000+ QPS peak request rate
1,000+ TPS peak throughput, one-way and connecting-flight APIs
150 / 500 ms query path average / P95 latency
98%+ low-fare calendar accuracy (from about 93%)
  • Children's fare pricing: owned and redesigned complex legacy fare logic as a composable pipeline.
  • Low-fare calendar: led a refactor to support finer-grained fare data, raising low-fare accuracy from about 93% to more than 98%.
  • Round-trip fare calculation: secondary owner; worked with the team to optimize the query flow, cutting average computation time from about 800 ms to about 400 ms.
  • Observability and resilience: instrumented key metrics through APM, structured logging, dashboards, and alerts, and improved circuit-breaking and degradation strategies. The core system stayed 100% available during a network-isolation drill; in a single-data-center drill, half of the fleet sustained the full production load.

Primary technologies: .NET 8, Redis, Docker, APM, and distributed service governance.

Price Monitoring and Alerting System

Dec 2023 — Feb 2025 · Primary owner of architecture and key modules

Validates real-time query prices against historical baselines and enforces safeguards across the booking flow, from automatic filtering in search to blocking at order placement; anomalies trigger phone or WeCom alerts within seconds.

1B+ / day price checks
300K / s peak validation rate
< 1% steady-state false-positive rate
Two-stage search filtering + order blocking
  • Owned the overall architecture and key modules; designed and implemented the price-deviation monitoring logic.
  • Used Flink for real-time price validation, persisted live prices to Hive, and computed historical averages through scheduled jobs.
  • Raised alerts and filtered anomalous products during search, with a second blocking check at order placement.

Primary technologies: .NET 8, Flink, Kafka, RocketMQ, Elasticsearch, Redis, MySQL, and Hive.

Stack

Languages & runtimes
C++, Rust, C# / .NET; Python for training and analysis scripts
Data & compute
Arrow / Parquet, ClickHouse, Flink, CUDA / TensorRT
Backend & distributed
ASP.NET Core, Redis, Kafka / RocketMQ, Elasticsearch, relational databases
Infrastructure
Slurm, BeeGFS, MinIO, FreeIPA, Ansible, Docker

Earlier Experience

Shenzhen Apu Technology Co., Ltd.

Growth Project Team Lead · Dec 2019 — Nov 2021

  • Led backend work for a real estate platform spanning property data, new-home distribution, and financial reconciliation; the property data system peaked at about 100K QPS.
  • Designed and implemented order workflow and reporting modules.
  • Drove GitFlow, DevOps, Scrum, and DDD practices; helped evolve a three-tier architecture toward DDD and extracted the housing module into an independent service.

.NET Core 3.1, Elasticsearch, Redis, SQL Server, Flutter, React

Guangzhou Duoyi Network

Web Backend Engineer · Apr 2018 — Sep 2019

  • Developed backend features for Duoyi University's training camp, public course, and examination systems.
  • Selected technologies and implemented new features; contributed to feasibility reviews, onboarding, and code review.

.NET Core 1.1, Elasticsearch, Redis, PostgreSQL, Docker

Guangzhou Chenrui Software Technology Co., Ltd.

Streaming Media Engineer · Nov 2016 — Apr 2018

  • Worked on the CRLIVE player, remote control, and distributed streaming services; developed and maintained the player's background service and streaming server components.
  • Contributed file management, upload/download, and voice-input features to CR Cloud Assistant over an internally designed network protocol.

WPF, WinForm, FFmpeg, WebSocket, SRS

Education

Guangdong Medical University

B.Eng. in Information Management and Information Systems

Primary programmer for the university's proposal management system; full-time internship from 2016.

Writing

Long-running technical notes on software engineering, distributed systems, cloud-native infrastructure, incident analysis, and AI engineering.