Hi! I'm trying out self hosting convex
Hi! I'm trying out self hosting convex on fly.io with great success! So far I could get much better latency in my region (Brazil, São Paulo) as the cloud product is US only for now. With the cloud product a simple mutation/query update would take ~250ms, and self hosting in my region I get ~60ms.
My questions are:
Which image from ghcr.io should I use?
Always the one tagged as "latest"?
Should I update the backend only when a new image is tagged with "latest"?
Is there a way to know which versions of the client npm "convex" package is compatible with a giving version of the backend (apart from trying it out and checking for errors)?
Thanks in advance, convex is a great product.
3 Replies
Yep! You got it!
Once you have something stable, it's up to you if you want to upgrade it. You don't have to, but you can to get whatever is new.
Hi! Thanks for the reply.
So I can assume that the "latest" tag means the latest stable version, the version I should be using?
And about compatibility with the "convex" client package, is there a way to know which version are compatible with a giving backend version?
@nipunn can you help me clarify these points?
Using the latest of both the Backend container + CLI should get you a working setup.
Since you're self hosting, you get to decide when you want to upgrade it. It's up to you.