Skip to content

Conversation

@odeimaiz
Copy link
Member

@odeimaiz odeimaiz commented Apr 8, 2025

What do these changes do?

This PR fixes the classic "duplicate requests flood" problem. It happens a lot when multiple cards in the dashboard fetch the same service's metadata in parallel.

To solve it, a shared fetch cache or request deduplication was implemented.

Before:
deduplication

After:
deduplicationAfter

Related issue/s

How to test

Dev-ops checklist

@odeimaiz odeimaiz self-assigned this Apr 8, 2025
@odeimaiz odeimaiz marked this pull request as ready for review April 8, 2025 08:54
@odeimaiz odeimaiz added this to the Pauwel Kwak milestone Apr 8, 2025
@odeimaiz odeimaiz added t:enhancement Improvement or request on an existing feature a:frontend issue affecting the front-end (area group) labels Apr 8, 2025
@odeimaiz odeimaiz added the 🤖-automerge marks PR as ready to be merged for Mergify label Apr 8, 2025
@odeimaiz
Copy link
Member Author

odeimaiz commented Apr 8, 2025

@Mergifyio queue

@mergify
Copy link
Contributor

mergify bot commented Apr 8, 2025

queue

✅ The pull request has been merged automatically

The pull request has been merged automatically at 2d2d69e

Copy link
Collaborator

@matusdrobuliak66 matusdrobuliak66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Btw if we would remove the total count from service listing and move to cursor, that would also speed up the listing 👍

@odeimaiz
Copy link
Member Author

odeimaiz commented Apr 8, 2025

Nice! Btw if we would remove the total count from service listing and move to cursor, that would also speed up the listing 👍

I think that the current services/latest listing time is quite acceptable, but sure, whenever 👌

@sonarqubecloud
Copy link

sonarqubecloud bot commented Apr 8, 2025

@mergify mergify bot merged commit 2d2d69e into ITISFoundation:master Apr 8, 2025
58 checks passed
@odeimaiz odeimaiz deleted the enh/service-calls branch April 8, 2025 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤖-automerge marks PR as ready to be merged for Mergify a:frontend issue affecting the front-end (area group) t:enhancement Improvement or request on an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants