摘要
多租户(Multi-Tenancy)是SaaS中的一项关键内容,其目标是在扩大经济规模的同时降低租赁的总成本。由于越来越多的企业开始采取SaaS的运营模式,现有的数据层解决方案的定制性和时间性能已经不能满足多租户的要求,因此迫切需要一种更好的解决方案来实现数据层。MongoDB是一种NoSql数据库,它的文档式和非关系型的特点使其相比其他数据库具有更好的定制性和时间性能。研究采用MongoDB解决SaaS数据层的多租户问题,在该种数据库上进行多租户设计模式研究,并通过与关系型数据库的对比实验证明其时间性能的优越性。实验显示,MongoDB对于简单查询和插入具有较强的优势,更能满足多租户的定制性和时间性能的要求。
Multi-Tenancy is a key element in SaaS,whose goal is to get greater economic scale while reducing the total cost in lease.As more and more enterprises begin to adopt the SaaS operating model,the customisation and time performance of existing data layer solutions can no longer meet the requirements of multi-tenancy,so there is an urgent need for a better solution to implement the data layer.MongoDB is a kind of NoSql-database,whose documental and non-relational features make it better at customisation and time performance compared with other databases.In this paper,we study to use MongoDB in resolving the problem in regard to multi-tenancy of SaaS data layer,and study the multi-tenancy design patterns upon it.Moreover,through the comparison experiments with the relational database,we prove its superiority in time performance.Experiment shows that MongoDB has stronger advantage for simple query and insertion,and can better meet the customisation and time performance requirements of multi-tenancy.
出处
《计算机应用与软件》
CSCD
北大核心
2013年第5期216-219,共4页
Computer Applications and Software