Skip to content

Conversation

astaticvoid
Copy link
Contributor

Issue #, if available:
#65

Description of changes:
Use maps in service and namespace cache.
This will reduce the number of calls we need to make to Cloud Map and avoid throttling. This allows us to reduce our namespace and service cache TTL and import changes faster.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@astaticvoid astaticvoid requested review from runakash and bendu December 9, 2021 21:18
@astaticvoid astaticvoid linked an issue Dec 9, 2021 that may be closed by this pull request
@bendu
Copy link
Contributor

bendu commented Dec 13, 2021

Change looks fine to me, but I will need more context to understand the pro/cons for this change.

@astaticvoid
Copy link
Contributor Author

Added a comment to provide context in the issue: #65

@astaticvoid astaticvoid merged commit 97072a6 into aws:main Dec 13, 2021
@astaticvoid astaticvoid deleted the cache-collections branch December 13, 2021 23:18
runakash pushed a commit to runakash/aws-cloud-map-mcs-controller-for-k8s that referenced this pull request Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cache service ID list by namespace name
3 participants