Skip to content

Conversation

@pmnoxx
Copy link
Contributor

@pmnoxx pmnoxx commented Feb 25, 2021

We should limit the amount of memory each peer is using by limiting size of it's FrameWrite's buffer.
In addition for each PeerActor we will print stats to detect whenever we are not draining it.

@pmnoxx
Copy link
Contributor Author

pmnoxx commented Feb 25, 2021

I extracted unrelated changes into #4015

@pmnoxx pmnoxx marked this pull request as ready for review February 26, 2021 06:56
@pmnoxx pmnoxx requested a review from bowenwang1996 February 26, 2021 21:57
Copy link
Collaborator

@bowenwang1996 bowenwang1996 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pmnoxx pmnoxx requested review from bowenwang1996 and matklad March 2, 2021 23:39
@pmnoxx
Copy link
Contributor Author

pmnoxx commented Mar 3, 2021

Please address https://github.com/near/nearcore/pull/4012/files#r585101813

done, all checks also pass

@pmnoxx pmnoxx self-assigned this Mar 3, 2021
@near-bulldozer near-bulldozer bot merged commit ef13a78 into near:master Mar 3, 2021
@pmnoxx pmnoxx deleted the piotr-monitor-write-buffer branch March 3, 2021 18:42
@pmnoxx
Copy link
Contributor Author

pmnoxx commented Mar 3, 2021

@bowenwang1996 bowenwang1996 mentioned this pull request Mar 8, 2021
3 tasks
bowenwang1996 pushed a commit that referenced this pull request Mar 11, 2021
We should limit the amount of memory each peer is using by limiting size of it's `FrameWrite's` buffer.
In addition for each `PeerActor` we will print stats to detect whenever we are not draining it.
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