Skip to content

ssbc: Create index to speed up queue calculation

Warren Gifford requested to merge es/faster-ssbc-dequeue into main

Created by: eseliger

This makes it a bit faster to find candidate queues, on average about 50%. Under high load (many executors running and pulling from the same table) this reduces the runtime of such a query from 270ms down to 120ms.

Test plan

Verified against k8s DB it has a positive effect.

Merge request reports

Loading