-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## 📝 Summary * Reset histograms periodically, otherwise recent changes do not affect them in the long running process. * Make fill_time less biased as we now record every fill instead of the finalized block fill (not every block is finalized) * Add counter for received orderpool commands by type (orderpool_commands_received) * Add histogram of order simualtion time (order_simulation_time) * Remove flawed e2e latency metric. * Remove gas per second metric from simulations. * Adds E2E global latency metrics Global E2E latency metrics are constructed in a way to cover the whole path of the bundle without gaps. For this we record events such as: bundle was received, bundle was simulated, bundle is considered for inclusion by this builder, etc. This is similar to tracing but expose aggregated metrics for each "bundle history". There are multiple steps that are needed to prevent bias: only consider bundle that arrive when we actively submit blocks, exclude bundles that can't be landed because of nonce or other bundle with the same nonce, etc. One of the findings from this is that: `2*fill time + finalize time` is a good proxy for p99 latency. (2x fill time because while builder building a block it does not take new bundle into account) and there are no major gaps in the builder that can't be explained. ## ✅ I have completed the following steps: * [x] Run `make lint` * [x] Run `make test` * [x] Added tests (if applicable) --------- Co-authored-by: Daniel Xifra <[email protected]>
- Loading branch information
Showing
13 changed files
with
562 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.