一句话:提出基于微服务的非侵入式定制框架 MiSC-Cloud,为多租户云 SaaS 实现租户级深度定制。
企业软件厂商将本地部署产品迁移为云上多租户 SaaS 后,原本在客户现场进行的深度定制不再适用,因为所有租户共享同一套 SaaS 实例,如何在共享实例下实现租户专属定制成为新问题。本文提出 MiSC-Cloud——一个基于微服务、面向多租户云 SaaS 的非侵入式定制框架:每个租户的定制逻辑被封装为独立微服务,与主产品以及其他租户的定制微服务相互隔离,定制通过 API 网关对定制微服务 API 与主产品 API 的授权调用来完成,从而无需修改主产品代码。作者以微软开源云原生参考应用 eShopOnContainers 为对象实现概念验证,展示了该方法的可行性,并总结了经验教训与未来工作方向。
Enterprise software vendors often need to support their customer companies to customize the enterprise software products deployed on-premises of customers. But when software vendors are migrating their products to cloud-based Software-as-a-Service (SaaS), deep customization that used to be done on-premises is not applicable to the cloud-based multi-tenant context in which all tenants share the same SaaS. Enabling tenant-specific customization in cloud-based multi-tenant SaaS requires a novel approach. This paper proposes a Microservices-based non-intrusive Customization framework for multi-tenant Cloud-based SaaS, called MiSC-Cloud. Non-intrusive deep customization means that the microservices for customization of each tenant are isolated from the main software product and other microservices for customization of other tenants. MiSC-Cloud makes deep customization possible via authorized API calls through API gateways to the APIs of the customization microservices and the APIs of the main software product. We have implemented a proof-of-concept of our approach to enable non-intrusive deep customization of an open-source cloud native reference application of Microsoft called eShopOnContainers. Based on this work, we provide some lessons learned and directions for future work.
DOI 原文 ·
@inproceedings{paperbot5166,
title = {Using microservices for non-intrusive customization of multi-tenant SaaS},
author = {Phu H. Nguyen and Hui Song and Franck Chauvel and Roy Muller and Seref Boyar and Erik Levin},
booktitle = {FSE},
year = {2019},
doi = {10.1145/3338906.3340452}
}