ucrcsedept / galah

An automated grading system geared towards processing computer programming assignments.
Apache License 2.0
42 stars 8 forks source link

Create fifth component. #403

Closed itsjohncs closed 10 years ago

itsjohncs commented 10 years ago

It looks like a fifth component will be desirable. sentinel or warden could be good names for it. It should monitor for dead nodes and run their repair commands. It should also provide monitoring for the system that can be queried by sys admins. Such a component can also be used to guarantee assumptions about the Redis data are true.

It will be useful to have such a component during development, so I'll probably get to this component pretty soon, but for now I'll just take down notes on what I want it to do.

itsjohncs commented 10 years ago

The warden should ensure that the (machine_id)_num_clean_vms number is equal to the number of items in the (machine_id)_clean_vms queue plus the number of vmfactory's currently building a VM.

itsjohncs commented 10 years ago

The unregister commands now replace the repair command.

itsjohncs commented 10 years ago

Rewrite has been dropped. Cleaning up issues related to it.