Animesh Gaitonde
1 min readSep 3, 2020

--

Hey Naman,

For cleaning up the URLs, a cron job or a scheduled task can run. It will iterate through all the URLs and clean up all the expired ones.

Depending upon the validity of the short URL, we can schedule this cron.

--

--

Animesh Gaitonde
Animesh Gaitonde

Written by Animesh Gaitonde

SDE-3/Tech Lead @ Amazon| ex-Airbnb | ex-Microsoft. Writes about Distributed Systems, Programming Languages & Tech Interviews

No responses yet