In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
SAP Hybris platform and Netweaver cache design mechanism is what, in view of this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more small partners who want to solve this problem find a simpler and easier way.
Hybris Cache
(1) The Hybris cache is part of the Hybris persistence layer.
(2) It improves the performance of a single server node by reducing the amount of database queries.
(3) It transparently stores search results, item attributes, and item instances in memory.
Hybris caching is designed to reduce access to the database layer.
When caching data
Hybris cache works transparently. Each time the API is accessed, the cache intercepts the call and implicitly handles the cache. The following example illustrates how caching works:
(1) Cache Item Attributes:
When calling products. getCode () returns the underlying data from cache or retrieves and writes it to cache if it is not already cached.
When calling products. setCode (X), cache value will be removed from cache (invalid) because it is no longer valid.
(2) Cache FlexibleSearch results:
When a Flexible Search query is executed (such as selecting a code from a product), the result list is cached in the main cache.
When a product is deleted, its item data and cached FlexibleSearch results for the above query are removed from the cache.
From this point on, the Hybris platform cache does the same thing as the Netweaver table buffer. In ABAP, application developers never care whether the data currently read into the inner table with SELECT is read from buffer or DB when writing Open SQL.
Reading from buffer is much more efficient than reading from DB:
DATA: ls TYPE crmc_proc_type,ls2 TYPE comm_product.SELECT SINGLE * INTO ls FROM crmc_proc_type.SELECT SINGLE * INTO ls2 FROM comm_product.
Unit: microseconds
ST02 View Netweaver's table buffer:
Hybris View and manage cache in admin console:
About SAP Hybris platform and Netweaver cache design mechanism is what the answer to the question is shared here, I hope the above content can be of some help to everyone, if you still have a lot of doubts not solved, you can pay attention to the industry information channel to learn more related knowledge.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.