fission / fission-workflows

Workflows for Fission: Fast, reliable and lightweight function composition for serverless functions
Apache License 2.0
371 stars 42 forks source link

Fix evaluation queue implementation #148

Closed erwinvaneyk closed 6 years ago

erwinvaneyk commented 6 years ago

Currently, there is a initial, simple implementation of a queue to feed the controller workflow invocation that it should evaluate. However with higher loads of workflow invocations the queue tends to overflow. This is due to two reasons:

To resolve this we need an implementation that supports both priorities and ensure that there are no duplicates in the queue. A promising solution to this is to use a priority queue.

ghost commented 6 years ago

167 should also close this issue, right?

erwinvaneyk commented 6 years ago

Yes thanks @thenamly 🙂