ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

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

2020-02-25 12:37:31  阅读:324  来源: 互联网

标签:product SAP cache invalidation UDP 模式 cluster 集群 Hybris


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的原创文章,请关注公众号"汪子熙":

汪子熙 博客专家 发布了6734 篇原创文章 · 获赞 646 · 访问量 111万+ 他的留言板 关注

标签:product,SAP,cache,invalidation,UDP,模式,cluster,集群,Hybris
来源: https://blog.csdn.net/i042416/article/details/104494985

本站声明: 1. iCode9 技术分享网(下文简称本站)提供的所有内容,仅供技术学习、探讨和分享;
2. 关于本站的所有留言、评论、转载及引用,纯属内容发起人的个人观点,与本站观点和立场无关;
3. 关于本站的所有言论和文字,纯属内容发起人的个人观点,与本站观点和立场无关;
4. 本站文章均是网友提供,不完全保证技术分享内容的完整性、准确性、时效性、风险性和版权归属;如您发现该文章侵犯了您的权益,可联系我们第一时间进行删除;
5. 本站为非盈利性的个人网站,所有内容不会用来进行牟利,也不会利用任何形式的广告来间接获益,纯粹是为了广大技术爱好者提供技术内容和技术思想的分享性交流网站。

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有