Skip to content

Conversation

@byashimov
Copy link
Contributor

@byashimov byashimov commented Jan 27, 2026

Resolves NEX-2296.

Add singleflight to deduplicate concurrent GET/HEAD/OPTIONS/TRACE requests.

Deduplicate concurrent requests to shared list endpoints using singleflight.
Many resources, such as databases, do not have individual endpoints and instead share a single "list" endpoint (e.g., ServiceDatabaseList).

This often results in multiple simultaneous requests for the same data, which can cause redundant API calls and unnecessary load. Currently, the client uses only GET for reading, but additional methods may be supported in the future.

@byashimov byashimov requested a review from a team as a code owner January 27, 2026 07:24
@byashimov byashimov force-pushed the byashimov/NEX-2296/add-singleflight branch from 877fc70 to c8ea18d Compare January 27, 2026 07:27
@byashimov byashimov force-pushed the byashimov/NEX-2296/add-singleflight branch from c8ea18d to 4a14759 Compare January 27, 2026 08:14
Resolves NEX-2296.

Add singleflight to deduplicate concurrent GET/HEAD/OPTIONS/TRACE requests.

Deduplicate concurrent requests to shared list endpoints using singleflight.
Many resources, such as databases,
do not have individual endpoints and instead share a single "list" endpoint (ServiceDatabaseList).
This often results in multiple simultaneous requests for the same data,
which can cause redundant API calls and unnecessary load.
Currently, the client uses only GET for reading,
but additional methods may be supported in the future.
@byashimov byashimov force-pushed the byashimov/NEX-2296/add-singleflight branch from 4a14759 to aa4fe87 Compare January 27, 2026 08:33
@byashimov byashimov marked this pull request as draft January 27, 2026 17:11
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.

3 participants