前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >SAP Hybris和Netweaver的集群模式以及集群模式下工作需要解决的问题

SAP Hybris和Netweaver的集群模式以及集群模式下工作需要解决的问题

作者头像
Jerry Wang
发布2020-02-27 15:42:11
3180
发布2020-02-27 15:42:11
举报

Hybris支持cluster mode的部署,不同节点间通过局域网使用UDP进行通信。

而SAP Netweaver经典的3层layer里就提到Application layer也支持multiple node:

比如在AG3用tcode SM53查看,发现其是由3个node组成:

Cache invalidation 无论Hybris,还是Netweaver,都面临一个需要解决的问题,即cache / buffer invalidation.

Cache Invalidation Concept in Hybris

The core of a Hybris Cluster is a network communication system that makes sure the cache of each individual cluster member only holds valid data. The nodes in the Hybris Cluster communicate using TCP (JGroups) or UDP, by sending signals to other nodes that mark some cache entries as invalid because a database item has been changed. The following is the overview of the cache invalidation process:

(1) A description of a product has changed. Therefore, all cache entries referring to the product are invalid. (2) A cluster node where the modification has been done sends a notification to all cluster nodes that all cache entries holding the product are invalid. (3) Nodes that hold the product in their cache discard the cached data of the product and re-retrieve the product from the database the next time the product is used.

node之间用于通知cache invalidation的协议有UDP Multicast, UDP Unicast, or JGroups.各有优缺点: (1) JGroups provides the fastest communication and can be used both in the cloud for testing purposes and in a LAN or WAN network. (2) UDP Multicast has some limitations in that some routers do not allow multicast network traffic by default. Amazon Elastic Compute Cloud (Amazon EC2) does not work using UDP, either.

Cache Invalidation Concept in Netweaver

SAP help上分了13个步骤详细讲解:

by default cluster mode is deactivated. See startup log:

cloud foundry也支持分布式部署,节点之间通过消息通信。通过组件NATS实现

在安装时也能观察到:

NATS是CF启动时需要执行的5个process之一:

要获取更多Jerry的原创文章,请关注公众号"汪子熙":

本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2020-02-25 ,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Cache Invalidation Concept in Hybris
  • Cache Invalidation Concept in Netweaver
相关产品与服务
数据库
云数据库为企业提供了完善的关系型数据库、非关系型数据库、分析型数据库和数据库生态工具。您可以通过产品选择和组合搭建,轻松实现高可靠、高可用性、高性能等数据库需求。云数据库服务也可大幅减少您的运维工作量,更专注于业务发展,让企业一站式享受数据上云及分布式架构的技术红利!
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档