Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ecs): update application caching agent to store relationships #5340

Closed
wants to merge 0 commits into from

Conversation

piradeepk
Copy link
Contributor

This change updates the application caching agent to store the application name as well as the services associated to that application as relationships. Storing these objects allows the EcsApplicationProvider to be able to query and retrieve all applications and their related services. Improving the search experience and returning the records quicker.

Previously, if users had too many services in their associated aws accounts, the search would time out, and throw an exception.

Tested by using the current logic, to perform multiple application searches (both using the application search and well as the shared search modal), as well as clicking through an application and deploying to ECS. Then deployed these changes and redid the same tests to validate that the previous behaviour continued to work and the search was able to function as expected.

Fixes: spinnaker/spinnaker#6084

@piradeepk piradeepk changed the title feat(ecs): update application caching agent to store application and relationships feat(ecs): update application caching agent to store relationships Apr 23, 2021
@deverton
Copy link
Contributor

deverton commented Jun 1, 2021

Do you need some additional testing on this? We're running into this issue hard as we add more accounts for ECS.

@piradeepk
Copy link
Contributor Author

@deverton I haven't been able to reproduce the issue locally, which is why we reverted these changes in the last release. Would love to work with you to determine if this resolves the issue for you (and others)!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants