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

Add cache for flan spans #6199

Merged
merged 11 commits into from
Jun 14, 2020
Merged

Add cache for flan spans #6199

merged 11 commits into from
Jun 14, 2020

Conversation

shayzluf
Copy link
Contributor

@shayzluf shayzluf commented Jun 10, 2020

What type of PR is this?
Feature

What does this PR do? Why is it needed?
flat spans are vary efficient in reading and setting nevertheless reading and writing a ~2mb chunk of data from db takes vary long for the required performance of slasher. This Pr introduces cache into flat span to avoid excessive IO read a write

@0xKiwi 0xKiwi marked this pull request as ready for review June 12, 2020 17:46
@0xKiwi 0xKiwi requested a review from a team as a code owner June 12, 2020 17:46
@0xKiwi 0xKiwi changed the title flat span cache Add cache for flan spans Jun 12, 2020
@0xKiwi 0xKiwi added the Ready For Review A pull request ready for code review label Jun 12, 2020
@0xKiwi 0xKiwi merged commit 4c66edf into master Jun 14, 2020
@delete-merged-branch delete-merged-branch bot deleted the flat_span_cache branch June 14, 2020 02:52
lee51525125 pushed a commit to lee51525125/prysm that referenced this pull request Jun 15, 2020
* flat span cache

* Plug cache into kv

* Add comments

* Fix

* Add doc.go

* Gaz

Co-authored-by: Ivan Martinez <ivanthegreatdev@gmail.com>
Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Ready For Review A pull request ready for code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants