Performance Leap: New Engine Nex Opens for Sandbox Testing
Polymarket's engineering VP Josh recently announced via social media that its new trading system, Nex, is now open for sandbox testing. Rewritten in Rust, this system is designed to fundamentally enhance the platform's transaction processing capabilities.
Performance Validation in Shadow Mode
Prior to opening the test environment, Nex ran for a week in "shadow mode." In this setup, the new system processed a live mirror of production order flow invisibly to users. This phase focused on validating several core metrics:
- System Latency: The response time for order processing.
- Load Stability: Performance under high concurrent order pressure.
- Matching Accuracy: Ensuring the correctness of trade matching logic.
The system is not yet handling live user traffic and remains in internal validation.
Dramatic Latency Reduction: From Seconds to Milliseconds
Internal test data shared by the team shows a remarkable performance improvement. The key metric—P99 order latency (the latency for 99% of orders)—plummeted from 1.55 seconds in the existing Central Limit Order Book (CLOB) system to just 3.76 milliseconds in Nex.
It's important to note that this metric reflects the core processing latency of the trading engine, not the full end-to-end latency from user click to confirmation. Nonetheless, this orders-of-magnitude improvement lays a solid foundation for higher-frequency trading and a smoother user experience.
The Path to Launch
The team has outlined a clear rollout plan for Nex. A four-week shadow test is currently scheduled to monitor its performance under simulated real-world load. If stability is maintained throughout this period, a full production launch is targeted for mid-December.
Additionally, improvements to WebSocket connections may be deployed ahead of schedule, further enhancing the real-time efficiency of data feeds.
This upgrade to the core trading system represents a critical step forward for Polymarket's infrastructure, aiming to deliver a faster and more reliable trading experience for its prediction market users.