Skip to content

Commit 3e00a29

Browse files
authored
docs: more redis improvements (#453)
1 parent 2d3436d commit 3e00a29

10 files changed

+33
-0
lines changed

docs/docs/20230602-recent-performance-improvements.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
2023-06-02, by [@metachris](https://twitter.com/metachris)
44

5+
See also [part 2 of the performance improvements documentation](20230605-more-redis-performance-improvements.md).
6+
57
---
68

79
There have been a number of significant performance improvements in the mev-boost-relay codebase recently, and I wanted to shine some light on them and add more details and context about the nature of the changes as well as about the impact.
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# More Redis performance improvements in the mev-boost-relay codebase
2+
3+
2023-06-05, by [@metachris](https://twitter.com/metachris)
4+
5+
See also [part 1 of the performance improvements documentation](20230602-recent-performance-improvements.md).
6+
7+
---
8+
9+
There have been a few additional significant Redis performance improvements that are worth highlighting:
10+
11+
- [More Redis pipelining for block submissions - PR #447](https://github.com/flashbots/mev-boost-relay/pull/447)
12+
- [Redis: save ExecPayload in SSZ format - PR #448](https://github.com/flashbots/mev-boost-relay/pull/448)
13+
14+
_Shoutout to Benjamin Hunter from Bloxroute who first shared the Redis improvements in [mev-relay#3](https://github.com/bloXroute-Labs/mev-relay/pull/3)._
15+
16+
These changes significantly reduce Redis load, which the following screenshots show in detail:
17+
18+
![Redis stats 3](../images/redis-stats-3.png)
19+
![Redis stats 4](../images/redis-stats-4.png)
20+
![Redis stats 5](../images/redis-stats-5.png)
21+
![Redis stats 7](../images/redis-stats-7.png)
22+
![Redis stats 8](../images/redis-stats-8.png)
23+
24+
Additionally, there's a big impact to the performance of fast-tracked submissions in this PR:
25+
26+
- [Don't fast-track large block submissions - PR #451](https://github.com/flashbots/mev-boost-relay/pull/451)
27+
28+
Impact on overall fast-track request duration:
29+
30+
![Request duration 2](../images/request-duration-2.png)
31+
![Request duration 3](../images/request-duration-3.png)

docs/images/redis-stats-3.png

51.6 KB
Loading

docs/images/redis-stats-4.png

54.5 KB
Loading

docs/images/redis-stats-5.png

37.2 KB
Loading

docs/images/redis-stats-7.png

52.4 KB
Loading

docs/images/redis-stats-8.png

51.6 KB
Loading

docs/images/request-duration-2.png

61.6 KB
Loading

docs/images/request-duration-3.png

58 KB
Loading
-9.13 KB
Loading

0 commit comments

Comments
 (0)