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.
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.
SDE-3/Tech Lead @ Amazon| ex-Airbnb | ex-Microsoft. Writes about Distributed Systems, Programming Languages & Tech Interviews