internetarchive / liveweb

Liveweb proxy of the Wayback Machine project
https://web.archive.org/
44 stars 13 forks source link

The FilePool should not reset its sequence number on restart #31

Closed anandology closed 12 years ago

anandology commented 12 years ago

The current implementation resets the sequence number to 0 when the app is restarted.

It should look at the existing files and start the sequence number from where it left off.

anandology commented 12 years ago

Raj suggested to use redis to store the sequence number.

That way we'll have a distributed counter which can survive restarts.