sora2-network icon indicating copy to clipboard operation
sora2-network copied to clipboard

[Tech]: Optimize expiration unscheduling

Open bragov4ik opened this issue 1 year ago • 0 comments

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

bragov4ik avatar Sep 13 '23 16:09 bragov4ik