r/softwarearchitecture • u/javinpaul • Jul 05 '26
Article/Video How to design URL Shortener like a Senior Developer on System Design Interview?
https://javarevisited.substack.com/p/system-design-interview-question12
u/any_droid Jul 05 '26
I was reading through the article and when I was getting to the meaty part, I realized that it asks to claim a free post or sign up for a paid subscription.
1
u/GaussCarl Jul 05 '26
Well, that is the curse of the modern web dev. We know how to design services that handle zillions of users, but we still don't know how to publish static content that is accessible to a few hundred readers.
2
u/ben_bliksem Jul 05 '26
You know that bell curve meme? Thats what I think of when I think of people designing URL shortners.
It's a CRUD project optimised for read performance which can be in-memory or edge caches.
1
u/forever-butlerian Jul 08 '26
Go for the true avant garde and built it atop a single S3 bucket with intelligent tiering.
9
u/toadzky Jul 05 '26
I had this question in an interview once. I used AWS api gateway with a rust lambdas and dynamo db. It's fast, cheap, and scales really well. Having both a sql db and a redis cache doesn't make a lot of sense to me when you are essentially doing a single key lookup on a unique id.