Get the App
SLTechnology News&Howtos  ›  Servers  › 

Polymorphic Storage of Salesforce and metadata Repository of SAP C4C

Shulou Source: shulou.com Published: 2022-06-02 05:51:44 10月04日 Update

Salesforce

Force.com integrates and optimizes several different data persistence technologies to deliver transparent polyglot persistence for all your applications and devices. With Force.com, you don't have to deal with the complexity of trying to integrate, manage, test, and support several systems, and you only have to code to a single API, no matter which type of persistence is optimal for a given situation. The following figure is an overview of a sampling of Force.com's persistence technology.

Salesforce has a concept of Polyglot Persistence polymorphic storage. Applications can access data on the platform through the unified interface exposed by Polyglot persistence, regardless of whether the specific storage technology behind the data is Transaction Engine, provided by resident memory, or provided by a search engine that supports full-text search.

SAP C4C (Cloud for Customer)

As a SaaS CRM solution provided by SAP, C4C also has a Salesforce Polyglot Persistence-like design, which we call metadata warehouse storage.

We can see a lot of development objects under cloud application studio's package:

As you can imagine, the storage logic and technology of these 20 or 30 kinds of development objects are different in the background. Every time users log in to Cloud application studio and open their own package, they will take out the different types of development objects they have created from the background and display them in studio.

In order to provide Cloud application studio tools and other consumers (such as C4C front-end UI) with a unified and efficient API to read the data of these models in the C4C background, C4C designed a metadata storage warehouse, which provides an optimized API, which is equivalent to the Facade (appearance pattern / facade pattern) in the design pattern. The API forwards the request to the corresponding storage service provider (Access service provider) based on the object being accessed. For API consumers, the specific storage technology of these objects is completely transparent and does not need to be known.

For more original Jerry articles, please follow the official account "Wang Zixi":

Tags: Storage object data warehouse background technology pattern development design consumer consumption unity polymorphism same full-text public memory front-end original articles can be accessed through Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno Microsoft vpn Apple