React Native Related
I am building a vehicle tracking app, currently I am receiving the longitute and latitude in real time every 5 seconds. I will end up adjusting accordingly. Most likely moving up to every minute. I eventually want to display the points on a map. What would be the best way for me to store these on my backend. Would this be to much a the db to handle? Thanks for any advice. Newbie here
2 Replies
Update every 5 seconds should be fine (and much more frequent as well). A single document can handle 10s of writes per second, problems usually come up when multiple clients try to repeatedly write at the same exact moment.
You get a real backend with
npx convex dev
, so you test and see what kind of load you get.
The cost of the updates might be of concern as well (see https://www.convex.dev/pricing for overview).Plans and Pricing
The backend application platform with everything you need to build your product.
Thanks!