Skip to content

The bounty board downloads the entire bounties table on every page view and paginates in memory #716

Open

Description

@chonilius

Problem

IssuesPage calls fetchBounties(mockBounties, query) (cache: "no-store"), receives every bounty the backend has (the backend's GET /bounties is unpaginated), then filters, sorts and slices 10 per page in applyBountyQuery. Page 1 of 10 costs the same as page 50: the whole table serialised by the backend, transferred and parsed on every request. Cost grows linearly with platform size.

Suggested fix

Pass page/pageSize/sort to the backend once #63 adds pagination there. Until then, cache the list response briefly (revalidate: 30).

Related: #28, #189

Activity

  1. added
    performancePerformance/optimization issue
    Stellar WaveIssues in the Stellar wave program
    and removed
    Stellar WaveIssues in the Stellar wave program
    on Oct 13, 2026
  2. ranjeet150 commented on Oct 26, 2026

    @ranjeet150

    Hello,

    I am interested in taking up "The bounty board downloads the entire bounties table on every page view and paginates in memory" and implementing a production-grade solution.

    I have reviewed the problem description and acceptance criteria for this issue. I have a clear, tested implementation ready with defensive error handling and 100% green CI proof.

    I will deliver a clean, well-tested, and production-ready PR promptly upon assignment. Kindly assign this issue to me.

    Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance/optimization issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions