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

(rpc_server): cache layer improvement #384

Merged
merged 8 commits into from
Jan 6, 2025
Merged

(rpc_server): cache layer improvement #384

merged 8 commits into from
Jan 6, 2025

Conversation

kobayurii
Copy link
Member

@kobayurii kobayurii commented Dec 26, 2024

This pull request enhances the cache layer for the rpc_server module, focusing on improving performance and fetching data from fastnear data.

Key changes include:

  1. Added Chunks Cache
  2. Improved Blocks Cache
  3. Enhanced Contract Code Cache

These improvements collectively aim to boost the overall efficiency of the RPC server, particularly for high-demand scenarios.

@kobayurii kobayurii requested a review from khorolets December 26, 2024 11:00
@kobayurii kobayurii self-assigned this Dec 26, 2024
@kobayurii kobayurii force-pushed the chunk_cache branch 3 times, most recently from 1eb438e to 9be2fc2 Compare December 30, 2024 09:11
rpc-server/src/config.rs Outdated Show resolved Hide resolved
rpc-server/src/config.rs Outdated Show resolved Hide resolved
rpc-server/src/config.rs Outdated Show resolved Hide resolved
rpc-server/src/config.rs Outdated Show resolved Hide resolved
@kobayurii kobayurii changed the title experiment with chunk and block cache (rpc_server): cache layer improvement Jan 6, 2025
@kobayurii kobayurii requested a review from khorolets January 6, 2025 13:05
@kobayurii kobayurii marked this pull request as ready for review January 6, 2025 13:05
@khorolets
Copy link
Member

@race-of-sloths score 5

@race-of-sloths
Copy link

race-of-sloths commented Jan 6, 2025

@kobayurii Thank you for your contribution! Your pull request is now a part of the Race of Sloths!
Do you want to apply for monthly streak? Get 8+ score for a single PR this month and receive boost for race-of-sloths!

Shows inviting banner with latest news.

Shows profile picture for the author of the PR

Current status: executed
Reviewer Score
@khorolets 5

Your contribution is much appreciated with a final score of 5!
You have received 55 (50 base + 10% lifetime bonus) Sloth points for this contribution

@khorolets received 25 Sloth Points for reviewing and scoring this pull request.

What is the Race of Sloths

Race of Sloths is a friendly competition where you can participate in challenges and compete with other open-source contributors within your normal workflow

For contributors:

  • Tag @race-of-sloths inside your pull requests
  • Wait for the maintainer to review and score your pull request
  • Check out your position in the Leaderboard
  • Keep weekly and monthly streaks to reach higher positions
  • Boast your contributions with a dynamic picture of your Profile

For maintainers:

  • Score pull requests that participate in the Race of Sloths and receive a reward
  • Engage contributors with fair scoring and fast responses so they keep their streaks
  • Promote the Race to the point where the Race starts promoting you
  • Grow the community of your contributors

Feel free to check our website for additional details!

Bot commands
  • For contributors
    • Include a PR: @race-of-sloths include to enter the Race with your PR
  • For maintainers:
    • Invite contributor @race-of-sloths invite to invite the contributor to participate in a race or include it, if it's already a runner.
    • Assign points: @race-of-sloths score [1/2/3/5/8/13] to award points based on your assessment.
    • Reject this PR: @race-of-sloths exclude to send this PR back to the drawing board.
    • Exclude repo: @race-of-sloths pause to stop bot activity in this repo until @race-of-sloths unpause command is called

@kobayurii kobayurii merged commit e7ab004 into develop Jan 6, 2025
3 checks passed
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