Alex
Alex3w ago

If someone opts to self host Convex, is

If someone opts to self host Convex, is it possible to set up a single deployment to host multiple databases in a multitenancy scenario?
1 Reply
nipunn
nipunn3w ago
How many are you trying to set up? If it's a handful, would just recommend setting up multiple deployments (one backend per database). You can update the docker-compose to get the flow smooth. Or update the dockerfile to get them all in one container if you prefer, though tbh the overhead per container isn't so bad. Internally, we operated like this up to ~100K databases before we worked on multitenancy of deployments. The strategy is definitely workable at relatively big scale.

Did you find this page helpful?