-
Notifications
You must be signed in to change notification settings - Fork 208
Description
Hey there, after running Solid Queue for a few months, we're seeing occasional spikes in our CPU usage. From what I understand in the README, there are some limitations due to Postgres not implementing loose index scan and I've ensured that my configuration accounts for these limitations. For example, my queue is defined to be *, and we've avoided pausing queues.
But we still sometimes see a spike in the query execution time for SELECT solid_queue_ready_execution. It seems like this query is already using an index scan but somehow the query still takes almost half a second to run, and it was executed over 500k times within the span of around 15 minutes. This is coming from Solid Queue itself, and not from me viewing the dashboard on Mission Control, but I also see similar queries that take this long when I view the Queues tab in Mission Control.
Here's some screenshots of the said query:
Are there any plans to make Solid Queue more performant on Postgres? Thank you!