Prediction-market engine
10.4 µs p50, 58.8k msg/s single-thread peak, 55× faster than JSON over HTTP
One message from the Python signal to the C++ engine, median trip. Press play to watch it race the old JSON path in slow motion.
View
- Shared-memory engine · 10.4 µs
- JSON over HTTP · 577 µs
Shared-memory engine: racing
JSON over HTTP: 0 µs so far
Slowed about 10,000× for viewing: the 577 µs trip takes about 5.8 seconds here. Times are the measured medians.
Single-thread peak: 58.8k msg/sno dropped writes
Measured once on one machine (Apple M2 Pro, idle). Numbers do not transfer.