当前位置:网站首页>SAP commerce Cloud Architecture Overview
SAP commerce Cloud Architecture Overview
2022-07-02 17:29:00 【Hua Weiyun】
Even though we are “SAP Commerce Cloud introduction ” This paper introduces SAP Commerce Cloud Some advanced architectures of , But here we will focus on some of the actual architectural decisions that need to be made during your project . Use SAP Commerce Cloud when , You may find that there are some problems in On-Premises Restrictions that do not exist in the project . However , This is not the case . It's just a matter of designing your solution differently .
High-Level Software Architecture
SAP Commerce Cloud Contains a combination of mandatory and optional software packages that can be used to create custom business solutions . These include :
Cloud Automation
- Microsoft Azure - Public cloud infrastructure provider
- SAP Business technology platform - For hosting SAP Commerce Cloud Portal、SAP ntegration Suite and SAP Extension Suite Etc / Service business platform
- Kubernetes - Used to orchestrate the... Needed to run a business solution docker node
Customizable software
- SAP Commerce - stay Cloud Portal The core platform combined with your custom code during the build process
- Accelerator - be based on SAP Commerce Customized storefront of the template provided in .
- Spartacus JavaScript The store - A decoupled open source store , It uses a full range of business connections (OCC) API With your SAP Commerce Cloud The environment communicates . For more details , See for your SAP Commerce Cloud Solution select the store to use .
- Industry accelerator ( file ) - Industry specific store templates
- Data Center ( file )- For each SAP Commerce Cloud Environment import / Options for exporting master data . For more details , see also SAP Commerce Cloud Integration options .
- SAP Extension kits - Based on open source projects “Kyma” Microservice extension layer . For more details , see also SAP Commerce Cloud Integration options .
Additional Server Hosting & Third-Party Software Applications
Usually , You need to SAP Commerce Cloud The solution interacts with third-party applications . If your third-party application needs access to the server or cannot be achieved through a fixed build and deployment process ( That is, what is needed is not just through “ant all” What the goal can accomplish ), Then it can't be yours SAP Commerce Part of Cloud code , Need to be hosted elsewhere . This section documents some common examples in more detail , But other options may include third parties CMS Or set up a private repository for binary packages .
When planning your application , Please think carefully about which applications 、 Binaries or infrastructure components ( beyond Commerce Applications and databases ) Form part of your target architecture . The examples in this section do not exclude more diverse target architectures , But it does need an architectural design , To promote productive SAP Commerce Cloud Subscribe to other components that a single item depends on ( Not from SAP Provide ) Separation of concerns between Business cloud ).
Continuous Integration / Continuous Delivery (CI/CD)
If you're looking for a complex automation pipeline or build per commit , You will need to set your own CI/CD example . This will give you flexibility and control , To make sure you're building / Deploy to share SAP Commerce Cloud Build and test your code before one of the environments . You can use Commerce Cloud API Perform build remotely / Deploy . Your CI/CD The instance should be able to connect to SAP Commerce Cloud Use the same Git The repository . CI/CD The location of the application is not important , Because it will not directly affect SAP Commerce Cloud Performance of the solution . If you find from Git The delay in extracting code from the repository is too long , You may consider changing your CI/CD The hosting location of the application . About SAP Commerce Cloud Solution settings CI/CD For more information , Please see use SAP Commerce Cloud Implement continuous delivery .
Image Resizing
Image resizing is usually done in Commerce Through extension , This extension usually depends on the installed in Commerce Third party software on the server (ImageMagick). stay Cloud Automation 1912 In the version ,SAP Commerce Cloud Image conversion service is provided in , And you can include... In the manifest file cloudmediaconversion Enable when expanding .
Third Party Application
If your SAP Commerce Cloud The solution requires applications that are not yet hosted by a third party , You should consider where to host it . It is recommended to try with Commerce Cloud Subscribe to the same Azure The date center runs it to minimize delays . If you don't know which data center you're using , You can find this information through the cloud Availability Center . If you don't want to use Azure, You can find an equivalent public cloud provider in the same region , Although there may be additional delays when the call is transferred to an external data center . If it is an asynchronous call or an infrequent call , Then this additional delay may not be the key to your solution .
The above example contains an application running on a self managed server , And make it public REST service , One or more of these services can be provided by you SAP Commerce Cloud Aspect call .
E-mail Service
SAP Commerce Use Web Content management system (WCMS) Module to define and generate e-mail , So as to take advantage of the WCMS Components . Behind the scenes ,Apache Commons The e-mail library provides all the necessary software infrastructure , Integrate the solution with the Simple Mail Transfer Protocol (SMTP) Connect . SAP Commerce Cloud Acting as a client , But you need SMTP The server / service .
SAP Commerce Cloud Does not provide SMTP The server , This means that you must provide a backup SMTP Strategy .
Cloud Hot Folders (Extended Hot Folders)
Hot Folders Has developed into SAP Commerce Cloud File based integration strategy , Now known as Cloud Hot Folders.
The following figure provides an overview of how the solution works from SAP On the infrastructure SAP Commerce Cloud Evolve into a new SAP Commerce Cloud. The main updates are as follows :
- Remote storage support (Azure Cloud storage )
- Support ZIP file ( Core Data 、 Sample data and raw data ImpEx file )
- Support URL The media file
- File sorting
- Improved monitoring
stay SAP Commerce Cloud in ,Hot Folders The module has been expanded to include the above improvements . because SAP Commerce Cloud Use temporary disk storage , No more SSH File transfer protocol (SFTP) The server ( For uploading media ) Or data files ( Used to import ). contrary , You have a use Azure Blob Store cloud hot folders as file sources .
Caching
Content Delivery Network
Gets the name of the endpoint to cache IP( for example , The store 、 backstage ). To be in Cloud Portal Do this in , Please select the environment , Then click the endpoint link of the endpoint . When the edit endpoint screen opens , Locate the domain field in the basic configuration section . End point's DNS The name is the domain address . You can try NS Find to get IP.
During your environment , Of your endpoint IP Is static . If your environment is reconfigured ,IP It's likely to change . therefore , You also need to pass CDN Provider to update .
Will these IP For you CDN provider .
If your endpoint is not publicly accessible , Please make sure you have CDN Add to IP Filter list .
Region Cache
SAP Commerce Cloud utilize SAP Commerce Existing area cache for . however , because SAP Commerce Cloud Build process control Java Heap size , This may vary depending on the environment , Therefore, it is necessary to configure the cache area in a flexible way , Instead of setting a fixed value internally .
Cronjobs Execution
Prepare to use SAP Commerce Cloud A key consideration in is , When processing data sets representing production , Ensure that any batch processing jobs are in “backgroundProcessing” Reliable operation within the occupied range of fixed resources . If you come from SAP On the infrastructure SAP Commerce Cloud Or local instance migration , That's especially true . ‘backgroundProcessing’ Aspect will run any automatically triggered cronjob; If you come from “ backstage ” Aspect manually triggers the job , It will run on the node that triggered it .
for example , You can develop batch processing jobs that load price information , Load the entire price line file into memory for processing . When processing file import , This is usually considered bad practice . The reason lies in , Although when testing with small data sets , This can work reliably in a development environment , But in a production environment , The actual price line file size may be hundreds of megabytes , And you need to explicitly increase the allocation to Java Only the resources of the virtual machine can reliably load files into In the memory . If this happens in SAP Commerce Cloud On , The extension cannot be assigned to a single “ Background processing ” The resource of the node .
therefore , All batch processing jobs should be developed as :
- Effective use of allocated resources , Batch import and actively release references , To achieve a consistent memory profile throughout the import process .
- Avoid unnecessarily loading large data sets into memory .
- stay “backgroundProcessing” aspect Distribute mass processing tasks .
Migrate to... Using existing projects SAP Commerce Cloud Our customers should check their batch processing jobs , To verify that they comply with these guidelines .
Conclusion
Even though SAP Commerce Cloud Provides most of the infrastructure in a consistent Architecture , But there will always be external systems that need to interact with your business solution . Correct understanding SAP Commerce Cloud The features and advantages of the existing architecture will help you design new integrations .
边栏推荐
- 使用知行之桥的API端口,提供资源供合作伙伴访问
- [shutter] dart data type (dynamic data type)
- ROS知识点——消息过滤器 ( message_filters)
- 牛客 JS3 分隔符
- Green bamboo biological sprint Hong Kong stocks: loss of more than 500million during the year, tiger medicine and Beijing Yizhuang are shareholders
- Nexus简介及小白使用IDEA打包上传到Nexus3私服详细教程
- Helm kubernetes package management tool
- 关于我
- chmod命令原理及用法详解[通俗易懂]
- dstat使用[通俗易懂]
猜你喜欢
几行代码搞定RPC服务注册和发现
Example nonlinear integer programming
How to transfer business data with BorgWarner through EDI?
Microservice architecture practice: using Jenkins to realize automatic construction
博客主题 “Text“ 夏日清新特别版
GeoServer:发布PostGIS数据源
AP and F107 data sources and processing
Blog theme "text" summer fresh Special Edition
Believe in yourself and finish the JVM interview this time
Microservice architecture practice: Construction of highly available distributed file system fastdfs architecture
随机推荐
ROS知识点——消息过滤器 ( message_filters)
Niuke JS2 file extension
dstat使用[通俗易懂]
畅玩集团冲刺港股:年营收2.89亿 刘辉有53.46%投票权
One year is worth ten years
牛客 JS3 分隔符
Sword finger offer 21 Adjust the array order so that odd numbers precede even numbers
深度之眼(二)——矩阵及其基本运算
Sword finger offer 26 Substructure of tree
Vscode + eslint configuration
871. Minimum refueling times
QWebEngineView崩溃及替代方案
博客主题 “Text“ 夏日清新特别版
人生的开始
如何给 SAP Spartacus Storefront 创建新的页面
智能垃圾桶(五)——点亮OLED
13、Darknet YOLO3
The beginning of life
TCP拥塞控制详解 | 2. 背景
Connect Porsche and 3PL EDI cases