Design A URL Shortener | System Design Beginner’s Course 2022

  Рет қаралды 6,510

Code with Irtiza

Code with Irtiza

Күн бұрын

Пікірлер: 22
@girdharsinghrathore3857
@girdharsinghrathore3857 2 жыл бұрын
keeping doing great work (Y), page number 6, why are you returning short url directly from DB to client, it should be via DB=> APP server=> load balancer=> client
@0xssff
@0xssff 5 ай бұрын
brilliant
@antimuggle_ridhi2565
@antimuggle_ridhi2565 Жыл бұрын
shouldn't the redis cache be user specific? If so why is it located in the api server?
@irtizahafiz
@irtizahafiz 10 ай бұрын
Depends on how you want to cache the data. Typically server-side caches (such as Redis) will be on the API layer, while client caches can be build on the user's device.
@melk48111
@melk48111 11 ай бұрын
Hi irtiza, are you planning to do system design on Web crawler or Uber?
@irtizahafiz
@irtizahafiz 10 ай бұрын
Web crawlers, yes.
@zymasethecatalyst
@zymasethecatalyst 2 жыл бұрын
Keep Going 🚀🚀
@irtizahafiz
@irtizahafiz 2 жыл бұрын
More coming 😎
@firezdog
@firezdog 10 ай бұрын
How do you deal with persistence? Even in this simple system, it seems like you want to do something to make sure that the data in that MySQL database is recoverable -- especially if a lot of links to your tinyURL are being used all over the web.
@irtizahafiz
@irtizahafiz 8 ай бұрын
Most cloud-hosted MySQL systems have some kind of redundancy built for data recovery.
@raghusrinivasan7309
@raghusrinivasan7309 Жыл бұрын
A few more extensions to this approach can be studied at kzbin.info/www/bejne/d4fdpYWPbJyrrqM which talks about how many characters you need for coming up with a short URL based on the #requests coming for this service. It also has some info about generating analytics info based on geography, #requests/sec etc
@thegreatlazydazz
@thegreatlazydazz Жыл бұрын
Why does the web browser need a sever to generate short urls and tranlstae it back to long urls. Why is it so difficult for web browser to store long urls?
@irtizahafiz
@irtizahafiz Жыл бұрын
I am not sure what you mean by the "web browser" storing long URLs?
@kyakarein
@kyakarein 2 жыл бұрын
any reason to skip capacity estimation? how we will handle required scaling?
@irtizahafiz
@irtizahafiz Жыл бұрын
Sorry, I didn't mean to cover every angle. Hopefully what I had was useful to you.
@석상주
@석상주 2 жыл бұрын
I think there is some minor flaw with the approach. Even if there exists a mapping between short URL and long URL, you'd still generate a unique hash because you don't want different users to own the same short link.
@irtizahafiz
@irtizahafiz 2 жыл бұрын
Hi! That’s a good point! In my design here, I didn’t take in account supporting unique shortURLs for individual users. If your app requires it, then yes you can generate the unique hash regardless at the expense of greater space usage.
@swattertroops-yaaa
@swattertroops-yaaa 2 жыл бұрын
I think it should progressively add entries like /aaaa /aaab /aaac all the way to 0000
@firezdog
@firezdog 10 ай бұрын
why not?
@swattertroops-yaaa
@swattertroops-yaaa 2 жыл бұрын
I'll make a product around this
@irtizahafiz
@irtizahafiz 2 жыл бұрын
That’s awesome! Good luck!
@jackfrost8969
@jackfrost8969 10 ай бұрын
Defining TTL without a user-specific URL is not an optimal approach. One two many flows here.
Design A Scalable Notification System | System Design
28:23
Code with Irtiza
Рет қаралды 44 М.
Design A Scalable Rate Limiter | System Design
24:32
Code with Irtiza
Рет қаралды 12 М.
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН
🎈🎈🎈😲 #tiktok #shorts
0:28
Byungari 병아리언니
Рет қаралды 4,5 МЛН
Непосредственно Каха: сумка
0:53
К-Media
Рет қаралды 12 МЛН
System Design: Design a URL Shortener like TinyURL
16:00
Code Tour
Рет қаралды 92 М.
Design YouTube | System Design
40:20
Code with Irtiza
Рет қаралды 6 М.
Will YouTube Ever Run Out Of Video IDs?
5:10
Tom Scott
Рет қаралды 10 МЛН
What happens when you type a URL into your browser?
5:20
ByteByteGo
Рет қаралды 358 М.
Introduction to Payment Systems | System Design
40:56
Code with Irtiza
Рет қаралды 49 М.
Hands-On Power BI Tutorial 📊Beginner to Pro [Full Course] ⚡
3:05:45
Pragmatic Works
Рет қаралды 2,2 МЛН
Beginner's Crash Course to Elastic Stack -  Part 1: Intro to Elasticsearch and Kibana
56:42
Thank you mommy 😊💝 #shorts
0:24
5-Minute Crafts HOUSE
Рет қаралды 33 МЛН