I would vote against the MessageQueue because if you restart tomcat
you've lost all of your scheduling.  Whereas if you were using
taskomatic, you still would have all the queued actions left in the DB.

+1
I jsherrill were dicussing how we'd implement this

I started with
Table Queue ->  queue_id|Queue of Servers |Action_Type
Table QueuArgs ->  queue_id|key|value


Then I realize ugh ... Value can be an int, String , list of ids UGH...

I then realize we already have rhnServerAction.. infrastructure to schedule the damn thing... We should just leverage that (may be add a flag that says taskomatic) and change the backend to ignore processing those rows that have the taskomatic flag ....


Partha

_______________________________________________
Spacewalk-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to