[Ur] Multitenancy

Adam Chlipala adamc at csail.mit.edu
Sun May 13 14:11:44 EDT 2018


I'm confused about something: do you really expect to add new tenants 
frequently enough that it would be a problem for you to have to log into 
the server and run a shell script each time?  Would it even be a problem 
if you had to edit configuration files manually on the server each time?

On 05/13/2018 02:02 PM, Simon Van Casteren wrote:
> As I see it now, I'll probably have an API endpoint "new_tenant" that 
> will run the following:
>
> * Run a shell script to set up a new DB and load default data.
> * Write the necessary config for a new fastCGI server with the new 
> connection string into my nginx config and reload nginx, as I've read 
> this should not impact the other servers. I'll probably add some 
> notification to myself whenever I do this so I don't silently start 
> thousands of servers when something goes wrong.



More information about the Ur mailing list