VIDA-NYU / reproserver

A web application reproducing ReproZip packages in the cloud.
https://server.reprozip.org/
BSD 3-Clause "New" or "Revised" License
10 stars 8 forks source link

Remove watcher #51

Closed remram44 closed 3 years ago

remram44 commented 3 years ago

Originally opened 2020-03-30 13:44 EDT by @remram44

Fixes #46

Instead of having the 'web' pod watch started 'runner' pods to note their exit, update the database, and delete them, this makes the 'runner' pods do it themselves.

This means less processing in the 'web' pod and easier horizontal scaling, but is more dangerous: if something goes wrong in the 'runner' pod no one is deleting it.

Maybe there should still be a regular process in the 'web' pod going over terminated pods, noting problems, and reaping them.