sora2-network
sora2-network copied to clipboard
[Tech]: Optimize expiration unscheduling
Problem statement
We would like to improve performance of the order-book pallet in order to raise ceilings for parameters. It should allow higher number of prices, orders within an orderbook, making it more usable
Description
-
This benchmark run has shown that increasing
max_expiring_orders_per_block
parameter drastically slows down the execution. - Such effect is quite unexpected
Definition of Done
- [ ] The reasons for the slow down were investigated and discovered
- [ ] The implementation is improved, where applicable and possible.
- [ ] The results are confirmed with benchmark runs
Requirements
No response