Improvement November 12, 2025

Treap-Based Subscription Engine Optimization

Convex Team

Convex Team

Published on November 12, 2025

Overview

A deep infrastructure optimization replaces the core data structure in Convex's subscription worker — the engine that tracks which queries need re-evaluation when data changes — with a treap-based structure. Internal charts show dramatic reductions in CPU usage and tail latency.

Feature Details