Caveats¶
Wishbone comes with a couple of caveats you need to keep in mind:
Storing data in
wishbone.event.Event
:While you could store whatever Python object type in
wishbone.event.Event
it’s really designed to store JSON like structures.Queues which are not connected:
When a queue is not connected to another queue then submitting a message into it will result into the message being dropped.This is by design to ensure queues do not fill up without ever being consumed.
IO-bound VS CPU-bound workload:
Since Wishbone heavily leans on the Gevent library it lends itself best for IO bound workloads.If you have a CPU intensive task, a good idea might be to decouple the IO part from the CPU-intensive part of the chain by running multiple Wishbone processes and pass messages from one to the other.