Is Convex good for high read/writes
I’m creating an app that requires real time user tracking. There could be a room of up to 100 people and their locations updating every 5-10 seconds. I understand in a regular system you could use something like Redis stream to hold the location info and send it to every other client, but I’m wondering if Convex is an appropriate solution.
I’m mostly concerned because Convex reruns queries on every change. So if there’s 100 users updating their locations, and 100 users listening for those location changes, rerunning the query for a specific “room” of users every few seconds doesn’t sound very efficient. At the moment I have it implemented with a custom web socket that only sends the changed values (and using Redis for horizontal scaling). I understand Convex should cache these similar requests, but running a query to the database asking for 100 specific locations from the database every few seconds does not sound good either.
Is this a valid concern? Has anyone looked into high read/write performance with Convex or done any benchmarks?
