[Maas-devel] RFC: "Serialising" power actions

Mark Shuttleworth mark at ubuntu.com
Tue Sep 23 09:44:21 UTC 2014


On 16/09/14 01:13, Julian Edwards wrote:
> Queuing them up is a terrible solution, as we found when using Celery before 
> adding a deadline to the tasks.  They can pile up and cause a node to flip-
> flop.

The queue was not the problem. The problems were:

 * the queue was invisible
 * there was no way to know that things were queued up
 & there was no way to go fix the queue

celery's fire-and-forget design made that inevitable; a proper queue
gives you visibility and control.

Mark

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/maas-devel/attachments/20140923/8abdb22e/attachment.pgp>


More information about the Maas-devel mailing list