I’m continuing on my 行话破坏任务.
今天’s target: “multi-tenancy”‘ and it’据称是次等的兄弟姐妹，“single-tenancy”
What do they mean, and why should 您 care? I’我将首先从以下方面来回答该问题的第二部分“you”成为SaaS创业公司，然后从客户的角度出发。
Desktop software was designed to be installed on 您r computer and only accessed by 您 and therefore only contain 您r data. So 您 are the single tenant. The only person living in that application/database. This is single tenancy.
该软件’s designed from the ground up for the web is designed to be used by lots of people. One application/database, but lots of people using it. (for the techies amongst 您, I really do mean one database, not one instance of a SQL server but with multiple databases running in it). This is 多租户.
It does seem that 单租户 comes in two flavours: one set of code for the application (ie, one set of files serving the app), but multiple databases OR multiple sets of code as well as multiple databases. The former being only half as evil as the latter.
Why should 您 (a SaaS startup) care?
If 您’re not using the 多租户 model 您’再也无法获得一半的收益 SaaS商业模式.
Would 您 rather have just one database/set of files to maintain, or one db/set of files for each individual user?
When it comes to support issues, do 您 want to have to consider whether or not the user has the most recent version of everything in their personal installation or would 您 rather everyone had the exact same thing?
When 您 have to roll out an upgrade, would 您 rather one single schema/file set to update or one for each individual customer.
So 您 can get lots of installations on one server. Let’s be generous and assume one server can support 1000 instances of of 您r application and database. Customer 1001 is going to cost 您 a fortune as 您 will need to bring on a new server for it.
Why should 您 (a customer) care?
那’s simple – it costs the vendor a lot more to run a 单租户 model. Guess who, ultimately, is going to cover that extra cost? And when 您 have support issues, 您’re going to get them resolved much faster (for all the reasons stated above) by a 多租户 vendor than a singe-tenancy one.
我没有’t choose to rhyme, rhyming 选择了 me