L
L
LastDragon2017-02-09 10:42:12
Software design
LastDragon, 2017-02-09 10:42:12

What is the best way to implement "launching" separate instances of the service for different users?

Suppose there is a forum (just for definiteness), now it is set separately for each client, the task is to get away from the need for this installation + I want to keep the ability to synchronize the code with the source. I personally see the following options:
1) Automate the installation.
+: simple; relatively fast implementation
-: a hundred clients - a hundred separate databases, how / by whom is it all to be maintained and updated?
2) Add client_id field to tables and separate data
+: same database, same code, easy to maintain and update
-: harder to implement, harder to synchronize code
Which would you choose and why?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
index0h, 2017-02-09
@LastDragon

1. We must start with this. Update automatically. According to the database, these are migrations.
2. If you provide hosting and support, it's a good idea to share in basins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question