Just a comment.
Section 10 says:
- After removing an expired link, we can put the key back in the key-DB to be reused.
That’s probably not a good idea - somebody with a short link for the expired URL may access the new URL once that key is reused, which can cause privacy issues.
Keys are cheap and abundant, there is no advantage in reusing them.