Currently, we use maps (in go map), channels (in go chan), and platform/common/utils/cache in multiple parts of the code including the token-sdk.
This Issues asks to the following:
- Identify the location where a they are used
- Check if entries are ever deleted
- Evaluate the possibility to replace them with a cache
- Add metrics to measure it.
Let's do the same work also for the Token-SDK.