Salesforce平臺支援多租戶Multi tenant的核心設計思路
Multitenancy is the fundamental technology that clouds use to share IT resources cost-efficiently and securely.
多租戶支援是所有云服務提供商都需要著力實現的一種技術,用於雲基礎設施上在成本可控和保證安全性的前提下進行IT資源分享。
多租戶支援面臨的四大挑戰:
- how to keep tenant-specific data secure in a shared database so that one tenant can’t see another tenant’s data?
如何保證共享資料庫內不同租戶間的資料隔離,通俗的說,一個租戶不應該看到其他租戶的資料。
- 當一個租戶對其擁有的schema物件或者應用程式設計介面進行調整時,不應影響到其他租戶的功能和整個系統的可用性。
How can one tenant customize various schema objects and an application’s user interface in real time without affecting the functionality or availability of the system for all other tenants?
- How can the system’s code base be patched or upgraded without breaking tenant-specific schemas?
系統基層實現發生變動,比如程式碼版本升級,或者新的補丁進來時,不應該破壞每個租戶私有的物件。
- And how will the system’s response time scale as tens of thousands of tenants use the service?
隨著系統租戶數量的增加,整個系統的響應時間不應該急劇下降。
Force.com’s core technology uses a runtime engine that materializes all application data from metadata—data about the data itself. In Force.com’s well-defined metadata-driven architecture, there is a clear separation of the compiled runtime database engine (kernel), tenant data, and the metadata that describes each application. These distinct boundaries make it possible to independently update the system kernel and tenant-specific applications and schemas, with virtually no risk of one affecting the others.
Salesforce應對這些挑戰的設計是,採取了一種執行時引擎的思路,所有的應用資料都通過後設資料生成,即所謂後設資料驅動的架構(metadata driven architecture)。這樣一來,模型的後設資料作為輸入,交給執行時引擎加工,生成執行時使用的模型和資料,三者各司其職,有嚴格的區分,實現了一種高度動態的核心。
注:本文的英文文字和圖片來自Salesforce官網: https://developer.salesforce.com/page/Multi_Tenant_Architecture
中文文字為本文作者原創內容。
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/24475491/viewspace-2633189/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- OB運維 | tenant--刪除租戶的流程設計運維NaN
- SAP Hybris和Netweaver的租戶隔離(Tenant isolation)機制設計NaN
- Spring Boot 構建多租戶SaaS平臺核心技術指南Spring Boot
- OB運維 | tenant--刪除租戶的命令運維NaN
- 多租戶
- “淘寶” 開放平臺介面設計思路
- 【多租戶技術】
- maven 包管理平臺-05-multi module 多模組Maven
- 3.3.2 多租戶環境的工具
- 詳解ABP框架的多租戶框架
- Oracle多租戶特性的常用操作Oracle
- 大型 SaaS 平臺產品架構設計思路架構
- 【解決方案】多租戶技術架構設計入門(一)架構
- Part II 配置和管理多租戶環境概述-Oracle多租戶管理員指南Oracle
- 如何理解多租戶架構?架構
- HBase多租戶-Namespace Quota管理namespace
- 3.3.1 多租戶環境的任務
- 多租戶系統的建立目標
- 新零售SaaS架構:多租戶系統架構設計架構
- Spring Cloud Alibaba 多租戶 saas 設計的企業開發架構SpringCloud架構
- 探究平臺化設計的核心思想和Lattice的設計原則
- 平臺化建設思路淺談
- 生鮮行業SaaS多租戶服務平臺標準化管理,加強企業數字化建設行業
- 小米自動化運維平臺演進設計思路運維
- 多租戶商城系統解說
- 基於 SQL 解析的 JPA 多租戶方案SQL
- .NET支援多平臺後的一點拙見
- 擴充套件spring cache 支援快取多租戶及其自動過期套件Spring快取
- 探索 Python/Django 支援分散式多租戶資料庫,如 Postgres+CitusPythonDjango分散式資料庫
- 2 多租戶體系結構概述
- Oracle 20C 多租戶_新特性Oracle
- 實現saas多租戶方案比較
- 一種Django多租戶解決方案Django
- 多租戶軟體開發架構架構
- Oracle多租戶架構優勢分析Oracle架構
- 典型的SaaS平臺構建--Salesforce CRM介紹Salesforce
- 1.2. 多租戶體系結構的優點
- 【Dataguard】Oracle多租戶環境對Dataguard的影響Oracle