Twitter System Design on AWS | Microsoft, Google, Facebook Whiteboarding Interview Question

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ส.ค. 2024

ความคิดเห็น • 66

  • @cloudwithraj
    @cloudwithraj  2 ปีที่แล้ว

    My Rocking Systems Design course is out now in Udemy! Limited time discounted link to get the course for $9.99 - www.udemy.com/course/rocking-system-design/?couponCode=LEARNSYSTEMDESIGN

    • @muratcosar6303
      @muratcosar6303 2 ปีที่แล้ว

      I cant watch it in corporate side of the udemy. is it not available to companies?

  • @TheElan5
    @TheElan5 2 ปีที่แล้ว +3

    Raj, your videos are incredibly helpful. You are masterful at breaking down complex technical requirements into readily understood concepts. I’ve learned a ton from just a few videos. Thank you for all of your help!

  • @madhivanandurai452
    @madhivanandurai452 24 วันที่ผ่านมา

    Great and simple to understand

  • @Moccar
    @Moccar ปีที่แล้ว +1

    Pretty funny you chose Elon Musk as the famous person way prior to him buying the company. Great video btw!

  • @cantbefooled8044
    @cantbefooled8044 ปีที่แล้ว

    youre like the only channel that makes information so digestible i really appreciate it

  • @kashmorakash4396
    @kashmorakash4396 3 ปีที่แล้ว +2

    Explanation is precise and simple. Please continue with such videos. Thanks for your effor

  • @madhivanandurai452
    @madhivanandurai452 หลายเดือนก่อน

    Good One ..thanks

  • @totsubo2000
    @totsubo2000 2 ปีที่แล้ว +1

    Great video!
    When explaining when to generate timelines: "It will only create the timelines for the users who have been active in the last 10 hours". I'm assuming that this reduces the compute strain? But what happens when everyone on the US East Coast wakes up, everyone starts logging and looking at their Twitter feed at roughly the same time? The system is busy creating timelines for millions of users at the same time. How does this solution cope with such a situation?
    Some content suggestion/request for future videos - Compare/contrasts different way to implement a problems using different AWS technology. So for example so how you would implement something using EC2 vs. using Fargate vs. Lambda and contrast the trade-offs. Same for using Redis vs. Elasticache vs DAX, or using SNS vs. SQS, etc...

  • @nilaindeethin1803
    @nilaindeethin1803 ปีที่แล้ว

    Raj, this is super simple. Have also bought your course.

  • @amitparks
    @amitparks 3 ปีที่แล้ว +2

    Your biggest fan..keep sharing the knowledge 👍 ...More system design please 😁

  • @ronnmv
    @ronnmv 3 ปีที่แล้ว +1

    Thanks Raj!! Let it flow....it's amazing how you turn this complex topics in to simple & understandable

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Rony for the kind words 🙏

  • @abhi1ertu
    @abhi1ertu 8 หลายเดือนก่อน

    Nice video

  • @idabagusdiaz
    @idabagusdiaz ปีที่แล้ว

    AMAZING

  • @ejbjms
    @ejbjms ปีที่แล้ว

    Great videos from you ! I am learning a lot of AWS !! Thanks a lot

  • @agmos01
    @agmos01 2 ปีที่แล้ว

    Great video! TY!

  • @lguevarae
    @lguevarae 3 ปีที่แล้ว +3

    Hi Raj! excellent video! I have a question about the EC2 and ASG part, what if instead of EC2 we use Step Functions with Lambda and EventBridge? could be an option? I mean having a Step Functions workflow that inserts the tweet on Redis and then to Kinesis. And also, could Redis be replaced with Dynamodb?

    • @totsubo2000
      @totsubo2000 2 ปีที่แล้ว +1

      Hi Luis, Raj mentions in the video that Redis can be replaced by DynamoDB and if the system needs even better performance than plain DDB, you can use DynamoDB Accelerator (DAX)

  • @indelible.M.
    @indelible.M. 2 ปีที่แล้ว

    You are amazing

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว

      Ty for the kind words Mesanga

  • @goodnightmr5892
    @goodnightmr5892 2 ปีที่แล้ว

    Excellent presentation!

  • @samhunk1227
    @samhunk1227 3 ปีที่แล้ว

    Thanks ! Excellent understanding .

  • @ahsanali-gm4ci
    @ahsanali-gm4ci ปีที่แล้ว

    Raj thanks a lot for this video. As far as group messaging is concerned, we will use notification service with one queue. As for grouping message is same for every member so our message will pass by SQS and after SQS we will use a notification to every single group member. Is it right please suggest? Rest of the design would be the same.

  • @babusivaprakasam9846
    @babusivaprakasam9846 2 ปีที่แล้ว

    Brilliant Video. Many Thanks Raj

  • @Neelu2023
    @Neelu2023 3 ปีที่แล้ว

    Thank you. This is very informative. Please do create more such videos. I am great fan of your videos

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thank you, I will Mahesh

  • @hemanthgadarla86
    @hemanthgadarla86 ปีที่แล้ว

    We can use any graph db to store followers relationship if not why?

  • @AliTwaij
    @AliTwaij 2 ปีที่แล้ว

    Excellent thankyou

  • @resham1729
    @resham1729 2 ปีที่แล้ว

    Like ur shirt bru👊

  • @ambikaprasad9464
    @ambikaprasad9464 2 ปีที่แล้ว

    Appreciate the great knowledge sharing course.

  • @mattborisov
    @mattborisov 3 ปีที่แล้ว

    Amazing episode! Thank you.

  • @Udayanverma
    @Udayanverma 2 ปีที่แล้ว

    Question: kms gets overloaded with high number of api calls, they cached it with S3 but how does it happen with other services. What is the throughput and how kms cops up with api calls

  • @machireddyshyamsunder987
    @machireddyshyamsunder987 3 ปีที่แล้ว

    Nicely explained Raj , Thank you so much

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Shyam for your support as always 🙏

  • @sharathsachin001
    @sharathsachin001 3 ปีที่แล้ว

    Hey Raj Thanks for the awesome video... Smashed the like button as you said😃😃👍

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Sharath for your support as always 🙏

  • @nah0221
    @nah0221 3 ปีที่แล้ว

    brilliant as usual .. Thank You!

  • @zubyranks80
    @zubyranks80 2 ปีที่แล้ว

    Perfect as usual!

  • @codewithmubin8866
    @codewithmubin8866 2 ปีที่แล้ว

    Can you please make a video on Bandwidth pricing of AWS and other cloud providers?

  • @tindisommers3313
    @tindisommers3313 2 ปีที่แล้ว

    Hello Raj, thank you for the video. It was very informative. I am curious though. Is Twitter really using a kind of table as you described for the relationships; where a user's name appears in multiple rows to link that user to his or her followers? I had always assumed some kind of graph database based on what I read on data structures and algorithms.

  • @techsolutions123
    @techsolutions123 3 ปีที่แล้ว

    For mobile app deployment will need separate two builds ? One for apple other android app store right?

  • @mangeshxjoshi
    @mangeshxjoshi 3 ปีที่แล้ว

    Thank you , excellent video , very well explained , in simple language . really appreciated your video can we have some video on AWS Glue ETL tool ?

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Thanks Mangesh, yes planning on doing an AWS Analytics video in near future!

  • @megabenman
    @megabenman 2 ปีที่แล้ว

    How would the schema look like if you were to use DynamoDB? The keys need to be unique, so you could not have three rows of Tina unless you had some other partition key. Would you have some random-ish hashkey as the partition key and then have the Tina column be a GSI?

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      Another great comment megabenman. Yes, the table needs to have both partition and sort key to make each record unique.

  • @mahmoudsakr3136
    @mahmoudsakr3136 3 ปีที่แล้ว

    Hi Raj, great videos, please continue , I like your content, but question: is iy sql or nosql DB?

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว

      Hey Mahmoud, Redis is considered a NoSQL database, however it has limited capabilities to create keys and query using the keys. The primary reason to use Redis is to have really fast read/write ability.

  • @amolwadekar2554
    @amolwadekar2554 2 ปีที่แล้ว

    Why do we do not use EKS or Kubernetes in EC2 before Database rather than use Autoscaling and EC2? It will reduce Cost of Autoscaling and invocation of EC2?

  • @megabenman
    @megabenman 2 ปีที่แล้ว

    Would API Gateway scale enough to handle twitter-esque scale, or would you need ALB/NLB? The AWS Quotas docs state that AWS Gateway is limited by default to 10,000 RPS, but it can be increased upon request. Still, even at a 10x increase, I'm not sure 100k RPS would be enough.

    • @cloudwithraj
      @cloudwithraj  2 ปีที่แล้ว +1

      Great question megabenman! The limits are based on account/region. Beyond raising the limits, you also segregate the APIs on different region/API based on user location. Also CloudFront comes into play to cache certain contents without hitting the backend API. Generally it's a mix of ALB and API Gateway for different APIs. ALBs you can prewarm to handle high spokes for certain events (New Year), but it does cost you more.

  • @ITech2005
    @ITech2005 3 ปีที่แล้ว

    Where can I get that shirt? Employees only? Ive been looking for some more AWS gear because the stuff in the certification store is just...meh

    • @cloudwithraj
      @cloudwithraj  3 ปีที่แล้ว +1

      This is from a Serverless hackathon I participated in Imonous, don't think you can buy this one :(

  • @techsolutions123
    @techsolutions123 3 ปีที่แล้ว

    Thank you , assume full stack code ready, deployment of web twitter.com will be on container s but not server less ? As there's database?

  • @resham1729
    @resham1729 2 ปีที่แล้ว

    Like ur shirt bru👊