# Quantoga — Principal Real-Time Systems & Clojure Engineering Consulting

> Resilient real-time systems, Clojure/JVM rescue engineering, and private self-hosted infrastructure — 15+ years building software that stays fast and correct over unreliable networks.

## Canonical Resources
- [Main Interactive Showcase & Consulting Portal](https://quantoga.com/): Live browser sandbox, case studies, benchmarks, and fixed-scope engagements
- [Engineering Dispatches](https://quantoga.com/dispatches): Benchmark-grounded JVM, state-sync, and distributed systems teardowns
- [Full LLM Technical & Commercial Dossier](https://quantoga.com/llms-full.txt): Complete Markdown specification of offers, case studies, measured benchmarks, ADRs, and FAQs

## Engineering Dispatches
- [Streaming 50,000–150,000 Live Vehicles to 1,000 Viewports on One JVM](https://quantoga.com/dispatches/streaming-50k-150k-vehicles-one-jvm) (2026-12-05): How a single JVM serves 50,000–150,000 moving vehicles to 500–1,000 concurrent map viewports within a 10 Hz budget without Redis, Kafka, or per-client spatial scans — using packed 64-bit Web Mercator slippy-tile pyramids, zoom-adaptive cadence gates, and lock-free two-tier Caffeine footprint caches.


## Fixed-Scope Consulting Engagements
- **Systems & Performance Audit** (01 · DIAGNOSTIC · 1–2 Weeks · Fixed Scope): Full empirical teardown before you commit to a rewrite — find the true latency, concurrency, DB, or Linux bottlenecks fast.
- **Clojure & Distributed Systems Rescue** (02 · STABILIZATION · 2–6 Weeks · Fixed Milestone): Turn an overgrown, flaky Clojure/JVM/CLJS platform into fast, deterministic, observable code your team actually understands.
- **On-Prem & Private LLM Deployment** (03 · PRIVATE AI & INFRA · 2–4 Weeks · Fixed Scope): Self-hosted inference and operational AI workflows on your own Linux hardware over WireGuard with zero external data exposure.

## Verified Benchmark Highlights
- **qtga-transit · Live Fleet Radar App — 150,000 Vehicles × 1,000 Live Map Viewers (65.2 ms / tick)**: Moves 150,000 GPS vehicles (buses, trains, ferries, aircraft) across a world map at 10 updates/sec while filtering each of 1,000 operator screens to its own map bounds, zoom level, and role permissions. 8-core server: 65.2 ms per 100 ms tick (75.3% CPU, 4.78 GB RAM). Entry 2-vCPU / 4 GB VM (~$28/mo): 50,000 vehicles × 500 viewers in 91.0 ms (1.72 GB RAM).
- **qtga-control · Edge Policy Control Plane — 100,000-Device Policy Cascade & RBAC (7.70 ms cascade)**: Manages 100,000 edge kiosks across divisions and 10,000 sites with 200 role-scoped operators, resolving inherited display and operational settings with locks and site overrides. 8-core server: 7.70 ms (9.11 ms p99) to propagate a single site edit (skipping 99,999 unaffected device branches) and 3.17 ms steady-state fleet check (38.6% CPU, 4.27 GB RAM). 2-vCPU VM: 50,000 devices in 11.3 ms steady-state / 25.5 ms edit (1.40 GB RAM).
- **qtga-dungeon · 3D Multiplayer Action Game — 12,000 Active Physics & AI Entities @ 30 Hz (16.9 ms / tick)**: Steps 4 dungeon realms at 30 ticks/sec (33.3 ms budget) with 2D rigid-body collisions, line-of-sight fog-of-war raycasts, NPC pathfinding AI, and per-player field-of-view state streaming. 8-core server: 12,000 entities across 4 realms in 16.9 ms/tick (79.5% CPU, 974 MB RAM), or 4,000 in one realm in 11.5 ms. 2-vCPU VM: 4,000 entities in 27.8 ms/tick (638 MB RAM).
- **qtga-clj · Shared Ops Dashboard Stream — 20,000 Concurrent WebSockets @ 10 Hz (195k frames/s)**: External load generator holds up to 20,000 real TCP WebSockets open against a live operations dashboard updating regional metrics 10 times/sec, computing one shared binary diff per tick. 8-core server: 10,000 sockets (97,661 frames/s, 19.6 MB/s) at 7.3% CPU and 741 MB RAM (~32.1 KB/socket), scaling to 20,000 sockets (195,317 frames/s, 39.2 MB/s). 2-vCPU VM: 10,000 sockets at 54.5% CPU and 545 MB RAM (~23.4 KB/socket).
- **qtga-clj · Personalized Client Streams — 10,000–15,000 Unique Client Views @ 10 Hz (145k diffs/s)**: Personalization stress test where every connected WebSocket subscribes to its own distinct moving state slice at 10 updates/sec — zero shared broadcast coalescing between clients. 8-core server: 10,000 unique views (97,093 diffs/s) at 18.5% CPU and 1.43 GB RAM, scaling to 15,000 unique views (145,637 diffs/s). 2-vCPU VM: 7,500 unique views (72,821 diffs/s, 80.3% CPU, 802 MB RAM).
- **qtga-mesh · Multi-Node Server Cluster — Client Action Ack & 25-Node Cluster Sync (0.67–2.36 ms)**: Measures end-to-end TCP round-trip latency when clients submit validated actions and when 25 independent server nodes synchronize a shared 40-entity state tree bidirectionally. 0.67 ms client action-to-ack RTT (2.36 ms 10-peer fan-out), and 2.01 ms full-mesh RTT across 25 server peers (12,447 frames/s) over Netty native epoll.

## Live Companion Demos
- [Live 150k-Vehicle Geospatial Radar](https://qtga-transit.quantoga.com/) (`qtga-transit`, GEOSPATIAL STREAMING): Viewport-culled MapLibre streaming across live global transit feeds (benchmarked up to 150,000 vehicles × 1,000 concurrent viewers in 65.2 ms) using a multi-zoom spatial tile pyramid, in-memory tile caching, and role-based filtering.
- [Authoritative Sharded 3D Multiplayer](https://qtga-dungeon.quantoga.com/) (`qtga-dungeon`, SHARDED 3D REAL-TIME): Deterministic multi-node 3D realm cluster with direct client handoff between shards, automatic failover, and per-player field-of-view streaming scaling to 4,000–12,000 live 30 Hz entities.
- [Distributed Edge Policy Control Plane](https://qtga-control.quantoga.com/) (`qtga-control`, POLICY & EDGE OPS): Hierarchical policy cascades with overrides, locks, expiry, and role-scoped access — backed by subtree-cached tree projections scaling past 100,000 edge nodes that survive offline partitions and resync automatically.
- [Multi-Node Failover Testbed](https://qtga-mesh.quantoga.com/) (`qtga-mesh`, SHARDED CLUSTERING): Sharded state across independent server nodes with automatic leader election, warm standbys, live node spawning, and seamless browser failover.
- [Fleet Control Plane & Multi-Env Launcher](https://quantoga.com/) (`qtga-console`, OPERATIONS PORTAL): Authenticated multi-environment launcher (prod, pre-prod, dev, test), live service discovery, benchmark regression tracking, and tunnel management.
- [50k-Node State Inspector & Flight Recorder](https://quantoga.com/) (`qtga-console`, LIVE DIAGNOSTICS): Real-time inspection of live server state trees, bandwidth churn, diff logs, and SQLite time-travel correlated directly to journald errors without pausing production workloads.
