• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

J4 ›› 2013, Vol. 35 ›› Issue (10): 89-97.

• 论文 • 上一篇    下一篇

云中SaaS应用的多租户数据动态迁移策略

任晓君1,郑永清1,2,孔兰菊1   

  1. (1.山东大学计算机科学与技术学院,山东 济南 250101;2.山东地纬计算机软件有限公司,山东 济南 250101)
  • 收稿日期:2013-06-10 修回日期:2013-09-08 出版日期:2013-10-25 发布日期:2013-10-25
  • 基金资助:

    国家自然科学基金资助项目(61272241,61303085);国家科技支撑计划(2012BAH54F01);山东省科学和技术发展规划纲要项目(2012GGX27036);山东大学自主创新基金(2012TS075,2012TS074);山东省自然科学基金资助项目(ZR2010FQ010,ZR2010FQ026);山东省自主创新重大专项(2013CXC30201)

Multitenant data dynamic migration strategy
of SaaS application in cloud          

REN Xiaojun1,ZHENG Yongqing1,2,KONG Lanju1   

  1. (1.School of Computer Science and Technology,Shandong University,Jinan 250101;
    2.Shandong Dareway Software Co.,Ltd,Jinan 250101,China)
  • Received:2013-06-10 Revised:2013-09-08 Online:2013-10-25 Published:2013-10-25

摘要:

云中SaaS应用服务提供商通过共享数据库共享表模式来存储租户数据,以获取规模经济。此外,租户需要的资源空间随着时间动态变化。这种情况下可能出现热点数据导致数据节点过载,租户SLA得不到保障。有效的数据迁移能够大大减轻这种情况。不幸的是,传统的数据迁移技术缺乏良好的多租户特性。为此,首先提出了针对云中SaaS应用多租户数据动态迁移策略,该策略能够识别租户特性。其次,为了确保租户对源数据节点和目标数据节点连续访问,提出“单写双读”模式,使得租户SLA得到满足。最后,扩展了传统两阶段提交策略来保证源和目标数据节点的一致性。通过实验分析表明了该动态迁移策略的有效性。

关键词: SaaS;云;多租户数据迁移;SLA;单写双读

Abstract:

In order to maximize profits, SaaS application service providers are motivated to use a data node to pack many tenants. Moreover, the resource footprint of each tenant is dynamic, and this can lead to hot data where a resource usage rate of a data node becomes overloaded and hurts the ServiceLevelAgreement (SLA). An effective solution is to perform data migration to prevent it from happening. Unfortunately, traditional database migration technology for the tenants’ data cannot well meet the multitenancy characteristics. Therefore, a multitenant data dynamic migration strategy of SaaS application in cloud is proposed. It can be aware of multitenancy characteristics. In order to ensure the continuous data access initiated by tenants to the source data node and target data node, the single write dual read mode is adopted, and the QoS is not affected. We also extend the traditional twophase commit strategy to ensure data consistency between source data node and target data node. The effectiveness of our multitenant data dynamic migration strategy is evaluated by the experiments.

Key words: SaaS;cloud;multitenant data migration;SLA;single write dual read