You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Without looking at the code, I find this interesting as a use case for what should be possible to do without altering Pykka itself. Setting this to milestone v2.0 to revisit it later.
Without looking at the code, I find this interesting as a use case for what should be possible to do without altering Pykka itself. Setting this to milestone v2.0 to revisit it later.
I wonder how it would be possible to do this without altering Pykka at all!? In any case, this is an interesting feature that we could use. In our case, we can have x,x,x,x,x,x in the queue and want y to be served as soon as possible, mainly to interrupt any further processing of x.
jodal
changed the title
Implementation of priority queues/maiboxes
Implementation of priority queues/mailboxes
Aug 3, 2023
I had the need for a priority mailbox. I implemented priority queues pretty raw with touching the core part as less as possible.
For the tell ask messages it looks like that:
For proxies it is usable with a small decorator:
Looking forward to your feedback.
Its here:
https://github.com/julian-r/pykka/tree/priority_queue
The text was updated successfully, but these errors were encountered: