Think Software
Think Software
  • 35
  • 1 032 778
Twitter Likes Count Design | Youtube Views Count Design | Near Realtime Counter System Design
UA-cam Views Count Design | Twitter Likes Count Design | Near Realtime Counter System Design - In this video, I am discussing how to design a near realtime counter for counting systems like:
- Twitter Likes Count
- UA-cam Views Count
- FB/Instagram Post Views Count
- FB/Instagram Post Likes Count
- Live Streaming View Count
Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?UA-cam-tweet-likes-count
Please follow me on Think.Software.Community if you like to get notified about new course chapters getting added or any other updates. I will also take your suggestions there about the course and the channel.
Check out our following articles:
- How to Ace Object-Oriented Design Interviews: thinksoftware.medium.com/how-to-ace-object-oriented-design-interviews-4f9a667e0780
- Elevator System Design - A tricky technical interview question: thinksoftware.medium.com/elevator-system-design-a-tricky-technical-interview-question-116f396f2b1c
- System Design of URL Shortening Service like TinyURL: thinksoftware.medium.com/tinyurl-design-from-the-bible-of-distributed-system-design-interviews-fcf821ec859
- File Sharing Service Like Dropbox Or Google Drive - How To Tackle System Design Interview: thinksoftware.medium.com/how-to-tackle-system-design-interview-for-file-sharing-service-like-dropbox-or-google-drive-7983fdbf1a82
- Design Twitter - Microservices Architecture of Twitter Service: thinksoftware.medium.com/design-twitter-microservices-architecture-of-twitter-service-996ddd68e1ca
- How to Effectively Use Mock Interviews to Prepare for FAANG Software Engineering Interviews: thinksoftware.medium.com/how-to-effectively-use-mock-interviews-to-prepare-for-faang-software-engineering-interviews-7e7bffac978
- Robinhood Backend System Design - How to receive realtime stock updates: thinksoftware.medium.com/robinhood-backend-system-design-how-to-receive-realtime-stock-updates-56cd0009bd0
- Payment Gateway System Design - How does the Stripe work: thinksoftware.medium.com/payment-gateway-system-design-how-does-the-stripe-work-917b2ba976f
- Grokking the Product Design vs. System Design Interviews: thinksoftware.medium.com/grokking-the-product-design-vs-system-design-interviews-419520a65d49
- Selecting the best database for your service: thinksoftware.medium.com/selecting-the-best-database-for-your-system-design-interview-c184d6828694
#SystemDesign #DistributedSystems #FAANG #Facebook #Google #Amazon #Apple #Microsoft #Uber #Netflix #Oracle #Lyft #Interview #ComputerProgramming
Переглядів: 16 738

Відео

Foundation of Distributed Systems Security | Symmetric Keys | Asymmetric Keys | Digital Certificates
Переглядів 2,5 тис.Рік тому
Foundation of Distributed Systems Security | Symmetric Keys | Asymmetric Keys | Digital Certificates - In this video, we are discussing important computer cryptography concepts like Symmetric Key, Asymmetric or Public-Private Key Pair and Digital Certificates. Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: w...
Types of Databases | Criteria to choose the best database in the System Design Interview
Переглядів 16 тис.Рік тому
One of the most important things in a System Design interview is to choose the best database for the right use case. In this video we are discussing what are the different types of databases, what are different criteria to choose the best database for your service and how to choose the best database for your service during system design interview. 00:00 - Introduction & why choosing the best da...
Cracking the Coding Interview | How To Ace Coding Interview | Binary Tree Right Side View
Переглядів 2,1 тис.Рік тому
Cracking the Coding Interview |How To Ace Coding Interview | Binary Tree Right Side View In this video, I am discussing how to crack the coding interview. This video discusses what are the different steps that you should follow to ace the coding interview. I am providing different tips that you should follow during your coding interview question. Then I am also solving a leetcode coding questio...
Object Storage Service Design | S3 System Design | Mock Interview | Distributed System Design
Переглядів 3 тис.2 роки тому
Object Storage Service Design | S3 System Design | Mock Interview | Distributed System Design. This video is a mock system design interview for designing an object storage service like S3. Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?UA-cam-S3-mock Please follow me on facebook...
Grokking the Product Design vs. System Design Interviews | Using Stripe Payment Gateway Design
Переглядів 7 тис.2 роки тому
Grokking the Product Design vs. System Design Interviews | Using Stripe Payment Gateway Design - In this video, we are going to discuss what are the differences between a Product Design vs. a System Design Interview. Now, a days many companies are asking Product Design Interviews as well (such as Meta) to even software engineering candidates. Most candidates do not understand the difference bet...
Introduction to Payment Gateway System Design | Design Payment System | Stripe Product Design
Переглядів 56 тис.2 роки тому
Payment Gateway System Design | Design Payment System | Payment Service Design | Stripe Product System Design - In this video, we are discussing how to design a payment gateway service such as Stripe Payment Service. A Payment service is an important distributed system that is used almost everywhere where money is involved. In this video we are discussing how does the credit card system work an...
Robinhood Stock Exchange System Design | How to Receive Realtime Stock Updates
Переглядів 46 тис.2 роки тому
This is related to Stock Exchange System Design. In this video, I am discussing how Robinhood or similar stock exchange broker apps can enable receiving realtime stock updates for their customers. In this video, I first discuss a very simple design and then evolve that design to support scalability and high-availability. 00:00 - Introduction 01:35 - A Very Simple Design of Robinhood Realtime St...
How to best prepare for system design interviews | Top Tips for system design interviews preparation
Переглядів 20 тис.2 роки тому
How to best prepare for system design interviews - In this video I am sharing tips about how to prepare for system design interviews. Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?UA-cam-top-tips-prep Please follow me on Think.Software.Community if you like to get ...
Eventual Consistency vs. Strong Consistency | How to decide between the two in System Design
Переглядів 13 тис.3 роки тому
This video discusses the reasons why we prefer eventual consistency over strong consistency in certain scenarios and discuss three real-life scenarios. 00:00 - Introduction 01:00 - Criteria for using eventual consistency vs strong consistency 01:50 - Strong consistency in TinyURL Datastore vs eventual consistency 03:38 - Eventual Consistency in calculating likes count on a Tweet in Twitter Desi...
Facebook Newsfeed | Instagram Newsfeed | System Design Mock Interview From System Design Bible
Переглядів 7 тис.3 роки тому
Check how you can tailor the experience you gain from System Design of Twitter Service to conduct Facebook Newsfeed System Design or Instagram Newsfeed System Design. This is a partial video from the course and for full video check out the course. Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftw...
Robinhood Stock Application Backend Design | Mock System Design Interview From System Design Bible
Переглядів 26 тис.3 роки тому
For the full video check out the course Distributed System Design Interviews Bible. Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation is now online. Please visit: www.thinksoftwarelearning.com?UA-cam-robinhood-mock Please follow me on Think.Software.Community if you like to get notified about new course chapters getting added ...
Google Drive System Design | Dropbox System Design | File Sharing Service System Design
Переглядів 43 тис.3 роки тому
Dropbox System Design video discusses the high-level system design of a file sharing service like Dropbox or Google Drive. For more details on the design of file sharing services like Dropbox or Google Drive, check the chapter on the Dropbox System Design in Distributed System Design Interviews Bible | Best online resource for System Design Interview Preparation. Please visit www.thinksoftwarel...
Distributed Systems Introduction | From Single Machine Application to Distributed Service
Переглядів 24 тис.3 роки тому
Distributed Systems Introduction | From Single Machine Application to Distributed Service This video provides a high-level overview of what distributed systems are? In this video, we are discussing how to evolve a single machine service to a true distributed service. In this video, you can find the following: 00:00 - Introduction to Distributed Systems 00:40 - A Single Machine Service 02:00 - I...
Netflix System Design - Mock System Design Interview Highlights from System Design Interview Bible
Переглядів 6 тис.3 роки тому
Netflix System Design - Mock System Design Interview Highlights from System Design Interview Bible
Elevator System Design | Grokking the Object Oriented System Design Interview Question
Переглядів 159 тис.3 роки тому
Elevator System Design | Grokking the Object Oriented System Design Interview Question
Distributed System Design Interviews Bible | Best resource for System Design Interviews Preparation
Переглядів 3,7 тис.3 роки тому
Distributed System Design Interviews Bible | Best resource for System Design Interviews Preparation
Uber System Design - Mock Interview from The Bible of Distributed Systems Design Interviews Course
Переглядів 12 тис.3 роки тому
Uber System Design - Mock Interview from The Bible of Distributed Systems Design Interviews Course
Distributed Systems | Best Distributed Systems Design Interview Preparation Course
Переглядів 3,4 тис.3 роки тому
Distributed Systems | Best Distributed Systems Design Interview Preparation Course
Online Resources for System Design Interviews | 1000 Subscribers Milestone Reached - Yay!
Переглядів 4,6 тис.3 роки тому
Online Resources for System Design Interviews | 1000 Subscribers Milestone Reached - Yay!
System Design And Architecture Interview Preparation Series
Переглядів 8 тис.3 роки тому
System Design And Architecture Interview Preparation Series
How to tackle System Design Interview | Youtube System Design | Youtube Search System Design
Переглядів 18 тис.3 роки тому
How to tackle System Design Interview | UA-cam System Design | UA-cam Search System Design
Tinder Microservices Architecture | Online Dating App System Design
Переглядів 21 тис.4 роки тому
Tinder Microservices Architecture | Online Dating App System Design
Parking Lot Design | Grokking The Object Oriented Design Interview Question
Переглядів 298 тис.4 роки тому
Parking Lot Design | Grokking The Object Oriented Design Interview Question
Programming Tips 101 - Don't mix transactional and non-transactional database calls
Переглядів 2 тис.4 роки тому
Programming Tips 101 - Don't mix transactional and non-transactional database calls
Whatsapp System Design | Chat Messaging Systems Design - System Design Interview Question
Переглядів 45 тис.4 роки тому
Whatsapp System Design | Chat Messaging Systems Design - System Design Interview Question
Programming Tips 101 - The Right Way To Access Hash table
Переглядів 2,7 тис.4 роки тому
Programming Tips 101 - The Right Way To Access Hash table
Grokking the Uber System Design Interview - Ride Sharing Service Design | OLA System Design
Переглядів 51 тис.4 роки тому
Grokking the Uber System Design Interview - Ride Sharing Service Design | OLA System Design
Twitter System Design - Part II - System Design Twitter Search
Переглядів 18 тис.4 роки тому
Twitter System Design - Part II - System Design Twitter Search
Twitter System Design - Microservices Architecture Part I - Google Interview Question
Переглядів 26 тис.4 роки тому
Twitter System Design - Microservices Architecture Part I - Google Interview Question

КОМЕНТАРІ

  • @AmitGupta-qn5ii
    @AmitGupta-qn5ii 11 годин тому

    can you please suggest the order in which I should go through your videos on system design

  • @vivekbhore5722
    @vivekbhore5722 2 дні тому

    explained very well and so easily

  • @krupaharan9406
    @krupaharan9406 2 дні тому

    Doubt, when we're using queues, how dispatch server knows what are all stocks that i had to initiate connection with stock exchange ? Say, User is interested in Apple, how that's being communicated to dispatch server ?

  • @akhilsharma1808
    @akhilsharma1808 3 дні тому

    Good video , please add database selection info more like what db and why ?

  • @AndyHOTlife
    @AndyHOTlife 15 днів тому

    I don't see how divide and conquer would help in this scenario. Most people would go from floor 1 to the floor where they live and back. Very rarely you would see people going to other floors from floor x != 1. You could have them change elevator cars midway or so, but that is quite an inconvenience (and it would be very annoying if I had to switch 3 or more cars to reach my floor from the bottom). Maybe an adaptive system based on real-time traffic would work, or maybe a division based on functional areas of the building: office floors, living floors, cafeteria/gym floors etc, but that would entail a lot of extra complexity.

  • @kinofstars
    @kinofstars 23 дні тому

    This is great content. Thanks!

  • @vipsclassicalboy
    @vipsclassicalboy 23 дні тому

    This is good you create curiosity what could be done to fix, what could be done to optimise.. Good teacher does not provide the exact solution they lead to that solution

  • @puzzlegamer369
    @puzzlegamer369 27 днів тому

    Do we really need ParkingSpotNearEntrance class extending ParkingSpotAgreementStrategy?? I am bit confused on how it is going to help

  • @vlogpondi
    @vlogpondi 28 днів тому

    such a 42.49 minutes waste of my time.... total waste.....

  • @szyulian
    @szyulian Місяць тому

    Watched. --

  • @szyulian
    @szyulian Місяць тому

    watched. --

  • @mugeethl6036
    @mugeethl6036 Місяць тому

    One of the best video content sir, keep on doing it .!

  • @Ma5terM
    @Ma5terM Місяць тому

    Hello, thank you for the video! I wanted to ask, why do we model different types of parking spots (e.g. handicap, compact, etc.) if the assignment of cars coming in to a parking spot does not seem to consider the type of car that should match the type of parking spot?

  • @mchakrakodi
    @mchakrakodi Місяць тому

    Dont we need to consider the weight of the passenger? The total weight of passengers should be less thn threshold. I feel we need passenger object

  • @chessmaster856
    @chessmaster856 Місяць тому

    This shows that you already know about elevator. Also there is no implementation. I would like to see requirement -> implementation. Refine requirement, refine implementation,

  • @tusharbaheti1648
    @tusharbaheti1648 Місяць тому

    interns at the end🤣

  • @i-am-darshil
    @i-am-darshil Місяць тому

    Every tweet will have the tweet_like_count field. Shouldn't we add the tweet_like_count field to the existing Tweets table? What are the pros of creating a new table?

  • @bobbob-gv1ev
    @bobbob-gv1ev Місяць тому

    You said no need to include vehicles but is there even a need to have a parking spot object? You could just have an ints tracking the available counts. Especially since in reality people wouldn't be allocated a particular spot...if the machine says "park on the top floor at the back" but they see a person just starting to leave on the first floor near the shop entrance then they would take that one instead You said enum type is bad but the general mantra is "favour composition over inheritance" Similarly you have entry/exit terminal using inheritance but they have different methods and you'd have to cast to make use of them

  • @ashishgadre
    @ashishgadre Місяць тому

    Very well explained. This should be the top video for explaining how certificates and TLS works. Liking and sharing as well.

  • @mandrake216
    @mandrake216 Місяць тому

    The first part was good but the algorithm part was confusing. And at no in this video did you mention about state of the elevators controlled by the people who are inside the elevator. There would be a number pad inside the elevator where people press the actual floor button. For example, 10 people get in the elevator on floor 2. One of them wants to go to floor 1 and 9 of them want to go floor 100. Essentially it has two key functions: elevator summon and passanger dispatch. You haven't attempted to make any distinction between the two at any point in this video

  • @KW-kq2bc
    @KW-kq2bc Місяць тому

    There are only 65,410 ports available for general use. You don't mention this when outlining the system design.

  • @VivekSundararajan
    @VivekSundararajan Місяць тому

    What if the counter db fails? It is not fault tolerant in that case right?

  • @surajhk31
    @surajhk31 Місяць тому

    Please improve your handwriting

  • @VivekSundararajan
    @VivekSundararajan Місяць тому

    Why don't you use a database to write the updates from exchange. The front end servers may be stateless and just query (point read) from database.

  • @szyulian
    @szyulian 2 місяці тому

    Watched. --

  • @aksharbrahm4618
    @aksharbrahm4618 2 місяці тому

    best one

  • @krushnnabaviskar4131
    @krushnnabaviskar4131 2 місяці тому

    similar question asked in razorpay, today

  • @rahul10anand1
    @rahul10anand1 2 місяці тому

    Thanks for covering the breadth of the different solutions. You started with brute force and worked up to suggest some kind of an optimal solution. However, rather than telling the "WHY" part of choosing a design pattern - you are leaving it up to the viewers to interpret and decide. Would have definitely subscribed and liked your content for wholesome information and depth.

  • @ut100mishra
    @ut100mishra 2 місяці тому

    How is top down approach not following OOPs principles?

  • @garyp20
    @garyp20 2 місяці тому

    As per your design, if a new queue is created for each follower, twitter has to create billions of queues to update the messages in home time line of all the folllowers for all active users. Assume we use Kafka. Is it possible to maintain bllions of topics/queues?

    • @ThinkSoftware
      @ThinkSoftware 2 місяці тому

      Where am I suggesting to create as many queues as followers?

  • @MM-se1tw
    @MM-se1tw 3 місяці тому

    I found it very useful and insightful, happy to explore whatsapp videos for any missing stuff. I am not a developer but this gives a good overview.

  • @yjeeeek
    @yjeeeek 3 місяці тому

    13:47 if you use kafka and your consumer manually commit offsets, then after consumer died zookeeper will re-arrange topics and assign the topic to another consumer. new consumer will continue from last comimted offset. considering that, we may want to put all the updates regarding the batch into single transaction, rather than do atomic updates for every tweet.

  • @user-si7by9gd1m
    @user-si7by9gd1m 3 місяці тому

    Thankyou for asking so many questions during the design. It really helps to take a pause, think and question yourself. Your system design is very clear and informative. Thankyou

  • @garyp20
    @garyp20 4 місяці тому

    It will be nice to show how the records in each db looks like in your video. It will help to digest your content.

  • @VivekSundararajan
    @VivekSundararajan 4 місяці тому

    How will you search for an element and remove it from a minheap in log(n)? I think it is not possible.

  • @garyp20
    @garyp20 4 місяці тому

    What is the lifespan/life cycle of a session? Is same sesion and session id maintained between two users for ever?

  • @mrbelvedr
    @mrbelvedr 4 місяці тому

    Thanks!

  • @MdMainuddinJU
    @MdMainuddinJU 4 місяці тому

    Let's say we are using 4 min heaps for 4 entrances to get the closest parking spot. Then we also have 4 of 5 different types of parking spots (handicap, regular, compact, large, motorcycle), then how can we fulfill that requirement? Should we keep separate heaps for types as well?

  • @muhammadilyas2179
    @muhammadilyas2179 4 місяці тому

    Bro I dont think you designed uber

  • @rchromatic
    @rchromatic 4 місяці тому

    Thanks for the videos, especially about System Design. At 5:50 you said that unordered_map throws an exception if there is no such key - this is not true. In this case hash map will create a new entry with constructing a default obj and return it. Moreover, STL does not throw exceptions if developer uses [] to get to something (vector, map, unordered_map) it does only if you call method at(). It is done for the sake of performance. So developer should be wise and pick the right way to access to the element in the container.

  • @pratiyushpushkar5283
    @pratiyushpushkar5283 4 місяці тому

    Clear explanation . Its a gem on youtube .Undersubscribed for the type of content available on this channel . Please continue making such crisp videos .

  • @rng19
    @rng19 4 місяці тому

    good content. better than almost all other resources out there.

  • @user-ib4rn4wd3b
    @user-ib4rn4wd3b 4 місяці тому

    It was very good and clear explanation, Thank you

  • @anshulgoel1940
    @anshulgoel1940 4 місяці тому

    Prefer bottom up but explain top down ?

  • @abhishekshanu1523
    @abhishekshanu1523 4 місяці тому

    Question regarding alloting parking lots: since we have vehicle of differents sizes , having only 4 heaps would not solve the problem to assign lot .. for e.g if vehicle is large then we can not assign it a compact lot. I think this scope is missed. Pls correct me if I am wrong here

  • @atamishali
    @atamishali 4 місяці тому

    Probably the best resource out there to learn LLD.

  • @patsh4596
    @patsh4596 4 місяці тому

    Thanks for your sharing. I'm curious about the design. How did you learn to build Uber or any payment system like this video? Not much info available online. So, how do you teach yourself about the field? Is there any way to find any sample code online or from any other resources? Thanks a lot.

    • @ThinkSoftware
      @ThinkSoftware 4 місяці тому

      Thanks for the comment 🙂. I am designing these services by myself based on my 18+ years of industry experience

  • @Noyemie26
    @Noyemie26 4 місяці тому

    Hi! Thank you for this video. I am not sure I understand why using an enum for the Parking Spot type is a bad idea? Everywhere I've worked enums were widely used to describe the type of an entity

  • @xueodieodieodie
    @xueodieodieodie 4 місяці тому

    like like you are great !!!

  • @ClaudiaD1231
    @ClaudiaD1231 5 місяців тому

    What a waste of time, where are the desing diagram?