日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

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

發布時間:2023/12/19 编程问答 32 豆豆
生活随笔 收集整理的這篇文章主要介紹了 SAP Hybris和Netweaver的集群模式以及集群模式下工作需要解决的问题 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

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的原創文章,請關注公眾號"汪子熙":

總結

以上是生活随笔為你收集整理的SAP Hybris和Netweaver的集群模式以及集群模式下工作需要解决的问题的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。