Archive snapshotted config files periodically
For context please refer:
- https://github.com/pytorch/serve/issues/73
- https://github.com/pytorch/serve/pull/111
To prevent a blowup of snapshots and configuration files? Do we simply archive them periodically? Based on the discussions during snapshot implementation, this seems like a nice thing to have: https://github.com/pytorch/serve/pull/111#discussion_r395806506
Since the config snapshots are going to be at most a few kilobytes, I'm not to worried about them becoming an unmanageable volume of data, at least not anytime soon - and since they're timestamped, there's never a problem finding the right on just by sorting with filename.
I agree that there should be some kind of archiving/cleanup policy, though I would favor adding this in the next revision.
@maaquib Could you please indicate the reason behind closing this issue? We thought it is an important issue.