diff options
author | leventecsanyi <levente.csanyi@est.tech> | 2024-01-11 12:53:26 +0100 |
---|---|---|
committer | Toine Siebelink <toine.siebelink@est.tech> | 2024-02-01 09:37:09 +0000 |
commit | 0f6f416f45d5ad0e9bba67d459858995196f7a73 (patch) | |
tree | b2fedbb61706817393dfe2bd118616da005820dc /docs | |
parent | 0f6a966b363e5347de2d44b1527d19b4cf2825a6 (diff) |
Introduce Hazelcast for alternateId-cmHandle relation
- added new Hazelcast config
- added cache initialization in CmHandleIdMapper
- added unit tests
- updated deployment.rst
- refactored cache updating
Issue-ID: CPS-1988
Change-Id: Iea6f884e584bf8cea8612ddbced4329e783c60a5
Signed-off-by: leventecsanyi <levente.csanyi@est.tech>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/deployment.rst | 48 |
1 files changed, 26 insertions, 22 deletions
diff --git a/docs/deployment.rst b/docs/deployment.rst index 7ba163d574..ca7824d6dc 100644 --- a/docs/deployment.rst +++ b/docs/deployment.rst @@ -1,6 +1,6 @@ .. This work is licensed under a Creative Commons Attribution 4.0 International License. .. http://creativecommons.org/licenses/by/4.0 -.. Copyright (C) 2021-2022 Nordix Foundation +.. Copyright (C) 2021-2024 Nordix Foundation .. Modifications Copyright (C) 2021 Bell Canada. .. DO NOT CHANGE THIS LABEL FOR RELEASE NOTES - EVEN THOUGH IT GIVES A WARNING @@ -316,24 +316,28 @@ These instances require some additional ports to be available. The default range Below are the list of distributed datastructures that we have. -+--------------+---------------------------------+----------------------------------------------------------+ -| Component | Datastructure name | Use | -+==============+=================================+==========================================================+ -| cps-core | anchorDataCache | Used to resolve prefix for the container name. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | moduleSyncStartedOnCmHandles | Watchdog process to register cmHandles. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | dataSyncSemaphores | Watchdog process to sync data from the nodes. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | moduleSyncWorkQueue | Queue used internally for workers to pick the task. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | untrustworthyCmHandlesSet | Stores untrustworthy cmHandles whose TrustLevel is NONE. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | trustLevelPerDmiPlugin | Stores the TrustLevel for the dmi-plugins. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | moduleSetTagCacheMapConfig | Stores the Module Set Tags for cmHandles. | -+--------------+---------------------------------+----------------------------------------------------------+ -| cps-ncmp | cmSubscriptionEventCache | Stores and tracks CmSubscription requests. | -+--------------+---------------------------------+----------------------------------------------------------+ - -Total number of caches : 8 ++--------------+------------------------------------+-----------------------------------------------------------+ +| Component | Datastructure name | Use | ++==============+====================================+===========================================================+ +| cps-core | anchorDataCache | Used to resolve prefix for the container name. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | moduleSyncStartedOnCmHandles | Watchdog process to register cm handles. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | dataSyncSemaphores | Watchdog process to sync data from the nodes. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | moduleSyncWorkQueue | Queue used internally for workers to pick the task. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | untrustworthyCmHandlesSet | Stores untrustworthy cm handles whose trust level is NONE.| ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | trustLevelPerDmiPlugin | Stores the trust level for the dmi-plugins. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | moduleSetTagCacheMapConfig | Stores the module set tags for cm handles. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | cmSubscriptionEventCache | Stores and tracks cm notification subscription requests. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | alternateIdPerCmHandleId | Stores the alternate id for each cm handle id. | ++--------------+------------------------------------+-----------------------------------------------------------+ +| cps-ncmp | cmHandleIdPerAlternateId | Stores the cm handle id for each alternate id. | ++--------------+------------------------------------+-----------------------------------------------------------+ + +Total number of caches : 10 |