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

[Merged by Bors] - parametrize gossip sub queue and validation parameters #5291

Closed
wants to merge 6 commits into from

Conversation

dshulyak
Copy link
Contributor

@dshulyak dshulyak commented Nov 21, 2023

added 3 new metrics:

  • spacemesh_p2p_queue_full{"protocol"}
    counter for number of dropped messages due to inbox queue being full.
  • spacemesh_p2p_throttled{"protocol"}
    counter for number of dropped messages due to gossipsub global or per topic throttling
  • spacemesh_p2p_rejected{"protocol"}
    dropped messages for any other reason, such as validation didn't pass

and 3 new parameters in p2p section:

{
     "gossip-queue-size": 10000,
     "gossip-validation-throttle": 10000,
     "gossip-atx-validation-throttle": 10000
}

Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (0c3457a) 77.5% compared to head (0a4a4cf) 77.5%.

❗ Current head 0a4a4cf differs from pull request most recent head 355b7ca. Consider uploading reports for the commit 355b7ca to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop   #5291    +/-   ##
========================================
  Coverage     77.5%   77.5%            
========================================
  Files          253     251     -2     
  Lines        29632   29479   -153     
========================================
- Hits         22966   22872    -94     
+ Misses        5204    5162    -42     
+ Partials      1462    1445    -17     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dshulyak dshulyak changed the title allow more goroutines for atxs processinng parametrize gossip sub queue and validation parameters Nov 24, 2023
@dshulyak dshulyak marked this pull request as ready for review November 24, 2023 09:07
@dshulyak
Copy link
Contributor Author

bors try

spacemesh-bors bot added a commit that referenced this pull request Nov 24, 2023
@spacemesh-bors
Copy link

try

Build failed:

@dshulyak
Copy link
Contributor Author

bors try

spacemesh-bors bot added a commit that referenced this pull request Nov 24, 2023
@spacemesh-bors
Copy link

try

Build succeeded:

@dshulyak
Copy link
Contributor Author

bors merge

spacemesh-bors bot pushed a commit that referenced this pull request Nov 24, 2023
added 3 new metrics:
- spacemesh_p2p_queue_full{"protocol"}
counter for number of dropped messages due to inbox queue being full.
- spacemesh_p2p_throttled{"protocol"}
counter for number of dropped messages due to gossipsub global or per topic throttling 
- spacemesh_p2p_rejected{"protocol"}
dropped messages for any other reason, such as validation didn't pass

and 3 new parameters in p2p section:

```json
{
     "gossip-queue-size": 10000,
     "gossip-validation-throttle": 10000,
     "gossip-atx-validation-throttle": 10000
}
```
@spacemesh-bors
Copy link

Pull request successfully merged into develop.

Build succeeded:

@spacemesh-bors spacemesh-bors bot changed the title parametrize gossip sub queue and validation parameters [Merged by Bors] - parametrize gossip sub queue and validation parameters Nov 24, 2023
@spacemesh-bors spacemesh-bors bot closed this Nov 24, 2023
dshulyak added a commit that referenced this pull request Nov 24, 2023
added 3 new metrics:
- spacemesh_p2p_queue_full{"protocol"}
counter for number of dropped messages due to inbox queue being full.
- spacemesh_p2p_throttled{"protocol"}
counter for number of dropped messages due to gossipsub global or per topic throttling
- spacemesh_p2p_rejected{"protocol"}
dropped messages for any other reason, such as validation didn't pass

and 3 new parameters in p2p section:

```json
{
     "gossip-queue-size": 10000,
     "gossip-validation-throttle": 10000,
     "gossip-atx-validation-throttle": 10000
}
```
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.

2 participants