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

[ENHANCEMENT] Backend based pagination in Leaderboard #19

Open
A91y opened this issue Oct 16, 2024 · 2 comments
Open

[ENHANCEMENT] Backend based pagination in Leaderboard #19

A91y opened this issue Oct 16, 2024 · 2 comments
Labels
ADVANCE enhancement New feature or request SWOC

Comments

@A91y
Copy link
Contributor

A91y commented Oct 16, 2024

Description:

Currently, all leaderboard data is sent to the frontend at once and paginated on the client side. This approach leads to heavy backend hits and can cause performance issues, especially as the amount of data grows.

Proposed Solution:

Implement backend-based pagination for the leaderboard data. This will allow the frontend to request only the necessary data for the current page, reducing the load on the server and improving performance.

Acceptance Criteria:

  1. Implement API endpoint for paginated leaderboard data.
  2. Modify the existing leaderboard component to fetch data from the new endpoint based on the current page.
  3. Ensure that the pagination controls work seamlessly with the backend data.
  4. Document the new API endpoint in the project's API documentation.

Benefits:

  • Reduced load on the server
  • Improved performance and faster load times for the leaderboard
  • Scalability for larger data
@A91y A91y added enhancement New feature or request SWOC ADVANCE labels Oct 16, 2024
@A91y A91y changed the title [Feature] Backend based pagination in Leaderboard [ENHANCEMENT] Backend based pagination in Leaderboard Oct 16, 2024
@PrayanshParmar
Copy link
Contributor

interested

@A91y
Copy link
Contributor Author

A91y commented Oct 18, 2024

interested

@PrayanshParmar Issue #22 is already assigned to you. Please finish it before getting the other one assigned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ADVANCE enhancement New feature or request SWOC
Projects
None yet
Development

No branches or pull requests

2 participants