modeswitch / mozbench

0 stars 0 forks source link

Manager must persist in-memory data structures to disk #4

Open modeswitch opened 10 years ago

modeswitch commented 10 years ago

The manager keeps track of some state (device types, jobs, etc) that should be written to disk periodically and loaded when the manager starts.

jmaher commented 10 years ago

For every transaction that we have, we can abstract each call from client/worker to a given json file.

jmaher commented 10 years ago

todo: define what all the state parameters are

modeswitch commented 10 years ago

The most important things are:

I wouldn't worry about active tasks. If the system is restarted with active workers, those results can just be discarded and the tasks will be restarted.