Skip to content

Add helper for batching creator detail fetches to reduce database round trips #358

@Chucks1093

Description

@Chucks1093

Summary
Endpoints that resolve multiple creator details in a single request currently issue one database query per creator. A batching helper that fetches multiple creator records in a single query reduces round trips and improves response time under load.

Scope

  • add a helper that accepts a list of creator IDs and returns their details in a single database query
  • apply the helper wherever multiple creator detail fetches are performed in a request
  • add a unit test that confirms a single query is issued for multiple IDs

Acceptance Criteria

  • multiple creator details are fetched in a single database query
  • the helper returns results in the same order as the input IDs
  • a unit test confirms the single-query behavior

Contributor coordination: if you pick this up, reach out in Telegram for updates or clarification: https://t.me/accesslayerorg

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions