# I built a component to make high frequency updates work on Convex (kinda)

DevFeed: [I built a component to make high frequency updates work on Convex (kinda)](<https://devfeed.tech/articles/i-built-a-component-to-make-high-frequency-updates-work-on-convex-kinda-116283.md>)

Original publisher: [Read original article](<https://stack.convex.dev/batched-replay-component>)

Author: Stack

Published: 2026-11-03T16:30:00Z

Content type: article

Language: en

Sources: [Stack](<https://devfeed.tech/sources/stack.md>)

Topics: [Library](<https://devfeed.tech/topics/library.md>), [browser-game](<https://devfeed.tech/topics/browser-game.md>), [ydb](<https://devfeed.tech/topics/ydb.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [app](<https://devfeed.tech/tags/app.md>), [async](<https://devfeed.tech/tags/async.md>), [auth](<https://devfeed.tech/tags/auth.md>), [await](<https://devfeed.tech/tags/await.md>), [backend](<https://devfeed.tech/tags/backend.md>), [batch](<https://devfeed.tech/tags/batch.md>), [client](<https://devfeed.tech/tags/client.md>), [clients](<https://devfeed.tech/tags/clients.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [component](<https://devfeed.tech/tags/component.md>), [components](<https://devfeed.tech/tags/components.md>), [config](<https://devfeed.tech/tags/config.md>), [convex](<https://devfeed.tech/tags/convex.md>), [cost](<https://devfeed.tech/tags/cost.md>), [cursor](<https://devfeed.tech/tags/cursor.md>), [generic](<https://devfeed.tech/tags/generic.md>), [patterns](<https://devfeed.tech/tags/patterns.md>), [production](<https://devfeed.tech/tags/production.md>), [reactivity](<https://devfeed.tech/tags/reactivity.md>), [updates](<https://devfeed.tech/tags/updates.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

Batched Replay batches rapid client updates and stores them in Convex, letting other clients replay samples at their original timing while reducing write frequency. At a 250 ms flush interval, playback is about a third of a second behind; lowering the interval improves responsiveness but increases writes and cost. Stored batches also support history features such as drawing timelapses and racing ghosts. The article reports comfortable rooms of about 50 users, with around 100 possible in its cloud development test, while function calls grow with each recipient; it estimates roughly 10,000 calls per second for 50 users each sending four batches per second. The author sees it as viable for small rooms or useful history, but cautions that high-volume real-time workloads may be too costly or delayed. Retention can be configured, and public writes should use rate limiting.

## Source excerpt

A while back I made a video about faking really high frequency updates on Convex. I've finally turned it into a generic component called Batched Replay, so here's what you can build with it, what it costs and whether I'd use it in production.