5. Scale from ZERO to MILLION Users in Detailed | System design interview: Scale to 1million users

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

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

  • @arimardanyadav4500
    @arimardanyadav4500 6 หลายเดือนก่อน +51

    ### **Introduction:**
    - This video is part of a series on system design concepts, focusing on scaling from 0 users to 1 million users.
    - Covers various concepts like sharding, horizontal and vertical scaling, load balancing, caching, and messaging queues.
    ### **Steps for Scaling:**
    1. **Single Server:**
    - Basic setup with a single server for the application, database, and client.
    - Suitable for the initial stage with zero users.
    2. **Application and Database Separation:**
    - Introduces a separate layer for the application server, handling business logic.
    - Database server handles data storage and retrieval.
    - Enables independent scaling of both application and database.
    3. **Load Balancing and Multiple Application Servers:**
    - Introduces a load balancer to distribute incoming requests across multiple application servers.
    - Load balancer provides security and privacy.
    - Ensures efficient handling of increased traffic by distributing workload.
    4. **Database Replication:**
    - Implements a master-slave configuration for the database.
    - Master database handles write operations, while slave databases handle read operations.
    - Improves performance and provides redundancy in case of database failure.
    5. **Caching:**
    - Utilizes a caching layer to store frequently accessed data in memory.
    - Application server checks the cache first before accessing the database.
    - Reduces database load and improves response time.
    - Uses time-to-live (TTL) to manage cached data expiry.
    6. **Content Delivery Network (CDN):**
    - Uses a distributed network of servers to cache static content closer to users.
    - Reduces latency and improves website performance for users worldwide.
    - Handles requests for static content like images, videos, and JavaScript files.
    - In case of cache miss, CDN first ask neighbour CDN for the data then from origin DB.
    7. **Multiple Data Centers:**
    - Distributes the application and database across multiple data centers.
    - Reduces load on individual data centers and improves reliability.
    - Enables geographically distributed user access with minimal latency.
    - Load balancer distributes requests to different data centers based on user location.
    8. **Messaging Queues:**
    - Uses messaging queues to handle asynchronous tasks like sending notifications or emails.
    - Decouples tasks from the main application flow.
    - Improves performance and reliability by handling high-volume tasks efficiently.
    - Utilizes messaging platforms like RabbitMQ or Kafka.
    9. **Database Scaling:**
    - **Vertical Scaling:** Increase the capacity of existing database servers (CPU, RAM). This has limitations and eventually reaches a ceiling.
    - **Horizontal Scaling / Data Sharding :** Split the database into multiple servers or shards, distributing data across them. This offers better scalability.
    - Splits data across multiple databases or tables based on a specific key.
    - Can be implemented through vertical sharding (splitting columns) or horizontal sharding (splitting rows).

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

      Thanks bro

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

      Thanks Man!!!

    • @devallathapasvini5411
      @devallathapasvini5411 10 วันที่ผ่านมา

      Hi, Could you please share your notes on other videos comments as well. I was looking for your notes on consistent hashing I couldn't find it.

  • @vishalwagh478
    @vishalwagh478 9 หลายเดือนก่อน +10

    I seen LLD & HLD in language but couldn't grab it.... because there directly they were discussing on the solution. But the way you went from 0 -> N that was amazing. I worked in monolith application but couldn't understand how to approach to the best change..... Hats of to you....your teaching method.... More Power to you !!!

  • @RandomGuy-hi2jm
    @RandomGuy-hi2jm 5 หลายเดือนก่อน +6

    0:00 - Introduction
    1:19 - Single Server
    2:28 - Application & DB Separation
    3:50 - Load Balancer & App Servers
    6:25 - Database Replication
    9:01 - Cache Integration
    10:40 - CDN (Content Delivery Network)
    18:32 - Data Center Scaling
    21:44 - Messaging Queues
    28:16 - Database Sharding
    34:19 - Conclusion

  • @omkardeshpande7482
    @omkardeshpande7482 10 หลายเดือนก่อน +6

    Honestly, this is one of the fine grained system design lectures I have ever seen! I paid for udemy courses, looked for freecodecamp videos, medium blogs, but this is the finest of all gems! Thanks a lot! You deserve a lot lot lot!

  • @afeeramehnaz1852
    @afeeramehnaz1852 11 หลายเดือนก่อน +3

    Amazing content☺ on LLD and HLD. I was finding difficulty in answering about the design patterns in the interview, but the roadmap of LLD and HLD explained here really helped.

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

    One of the best video on step-wise scaling!

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

    I was from an electrical branch, SO I didn't do that project, nor having learned of any computer science project. But now I am gaining it

  • @harshgupta2710
    @harshgupta2710 2 ปีที่แล้ว +4

    in love with all the videos !! curiously waiting for the consistent hashing topic , please drop it soon 🙂

  • @SanjeevKumar-iz4rf
    @SanjeevKumar-iz4rf ปีที่แล้ว +1

    You are the best Tech Proffesional.

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

    Liked the step-by-step scaling explanation. Pls make more such videos so that we can find them all here.

  • @Abcnews18
    @Abcnews18 ปีที่แล้ว +8

    That is really cool to see such incremental approach. Appreciate this video.
    Could you please also make an extension of this video mentioning, Elastic Search Engine.

  • @shubhanshurathi3093
    @shubhanshurathi3093 4 หลายเดือนก่อน +1

    The best video :)
    Thanks Shreyansh

  • @shilpagore1598
    @shilpagore1598 หลายเดือนก่อน +1

    Thanks, you are amazing at explaining complex topics...

  • @manishmahajan6094
    @manishmahajan6094 หลายเดือนก่อน +1

    Best explanation! Thank you

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

    Very nice tutorial. Provided detailed information in very short time. thank you

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

    Amazing content + highly recommended to watch it.

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

    So clean and sophisticated explaination

  • @shobhitarya1637
    @shobhitarya1637 2 ปีที่แล้ว +5

    It's a great learning video. Thank you. I have seen in interviews and in other HLDs that they add queue to store requests when load increased too much, so that any request do not get missed. Could you please make a video on this concept explaining how this is done (whether the request thread wait on queue) and how response is send back in detail.

  • @chineseboycott829
    @chineseboycott829 11 หลายเดือนก่อน +2

    I think what you mentioned about sharding here is not actually sharding its partitioning, multiple partitions can reside in the same shard also.
    Sharding is always on db and partitioning is on data content (rows and columns).
    Different instances of db deployed are called shards.
    CMIIW.

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

    Maja aa gya , Love this video (y). Thank you so much

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

    Nice Video to get a summary of all concepts

  • @shubhanshurathi3093
    @shubhanshurathi3093 4 หลายเดือนก่อน +1

    Amazing flow of the video. Thanks :)

  • @sohansingh2022
    @sohansingh2022 11 หลายเดือนก่อน +1

    Beautiful explanation. Thank you!

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

    Great content, keep it up
    You have earned a new subscriber

  • @FaisalKhan-bt9bf
    @FaisalKhan-bt9bf หลายเดือนก่อน +1

    Thanks, you have explained very well

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

    Best video I have ever seen. Thanks so much

  • @wsanchit2
    @wsanchit2 10 หลายเดือนก่อน +1

    Summary:
    04:25 Scaling from 0 to 1 million users
    08:50 Implementing Load Balancer
    10:00 Database Replication to handle system failures
    13:15 Using cache and CDN to improve performance and reduce database calls
    17:40 CDN is a solution to reduce latency for global users
    22:05 CDN enables advanced technology with features to optimize load on DB and increase security.
    26:30 Messaging queue helps in asynchronous processing of heavy load operations.
    30:55 Fanout, Topic, and Messaging Queue are important concepts in message exchange
    35:14 Horizontal and vertical sharding are methods of dividing data in a scalable system.

  • @balakrishna6240
    @balakrishna6240 3 หลายเดือนก่อน +1

    Even in udemy also I observed that HLD & LLD courses are in hindi bro, please do start converting one by one video from hindi to english

  • @ishitakeshawani2997
    @ishitakeshawani2997 4 หลายเดือนก่อน +1

    Nice explanation, Thank you!

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

    Hello
    Question: How do data centre communicate with each other and avoid consistency in a system?
    Lets say at time t1 a write req goes to India DC(data centre), it then goes to US DC for replication. If this is a sync communication, user's write will get latency delay as sending ack back to user will take a while.
    To avoid latency, we choose an async comm btw data centres and series of events happened:
    1. Since using async medium, Queue has data for US DC to be replicated.
    2. Ind DC goes down
    3. At time t2, t2 > t1, read req(read1) comes for USDC. At time t2, data is not replicated to US DC yet.
    4. Say (read1) need to serve a heavy query result and supposedly we will have a cache miss.
    How to handle such case?
    PS: We can have multiple DATA CENTREs, but the crux here is read comes before replication to other data servers and primary/master(the server with latest write) goes down.

    • @ConceptandCoding
      @ConceptandCoding  2 ปีที่แล้ว +8

      Thanks Piyush, for this detailed explanation of the usecase.
      Let me read out the paragraph from "Design Data Intensive Application" book
      "Often, leader-based replication is configured to be completely asynchronous. In this case, if the leader fails and is not recoverable, any writes that have not yet been replicated to followers are lost. This means that a write is not guaranteed to be durable, even if it has been confirmed to the client. However, a fully asynchronous configuration has the advantage that the leader can continue processing writes, even if all of its followers have fallen behind.
      Weakening durability may sound like a bad trade-off, but asynchronous replication is nevertheless widely used, especially if there are many followers or if they are geographically distributed. We will return to this issue in “Problems with Replication Lag”.
      "
      So this is single datacenter with Single Leader and multiple follower setup problem, but same applies to Multi data centre with multiple leader too,
      So its a trade off, and it does exists :)
      Hope this helps.

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

    Really good explanation. Thank you

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

    Thanks for such amazing content bro. It would be great if you could please share resources like Books, blogs etc from where you learned all this , so that if someone wants they can go into greater details!!

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

    Beautiful explanation

  • @shubhamagarwal1434
    @shubhamagarwal1434 6 หลายเดือนก่อน +1

    Very well explained...awsome!!!

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

    Thank you for your service. Great job.

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

    Can you please make a separate detailed video on Messaging Queue? It will be really helpful.

  • @balakrishna6240
    @balakrishna6240 3 หลายเดือนก่อน +1

    Hey shrayansh these system design videos are in hindi, If you create them in enlgish by creating separate Playlist that would be great, It would be helpful to understand many people like me

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

    Great content! It would be helpful if you could include any references you used, such as articles, blogs, or books in descriptions

  • @MrBaaz-do9ny
    @MrBaaz-do9ny 2 ปีที่แล้ว +1

    crystal clear explanation

  • @AshutoshPandey-se8vt
    @AshutoshPandey-se8vt 5 หลายเดือนก่อน +1

    Great Explanation

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

    Keep up the great work:)

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

    Please make a separate video on database scaling .

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

    Thank you, really helpful video.

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

      thanks Shipra, pls do share it with your connections

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

    Nice work buddy. Can you help me with these doubts (as soon as you can, I have an interview scheduled, thanks in advance)::::>
    Suppose If I have a trading application, and want to reduce the latency for geographical users, lets say a user is in US and other is in Singapore(APAC), and third in london(EMEA), so I scale my appservers, make application replicas and place them in different geographies, so
    1) where will I place the gateway? Gateway is generally 1 right?
    2) For applications to interact with DB, where to place the db (will it be better to make distributed db replicas placed across geographies )?
    3) what type of db should I use who can sync ups b/w replicas? (looks like consistency will take a hit since db sync up will take time)
    4) How to handle concurrent orders( trade order may have 1 unit left, and all users are trying to book that 1 unit, db isolation may not work here bcos they are reading different replicas OR use active passive strategy where write is always on primary db, in that case where to put primary db as far uaway users will again face latency in write operatons)

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

      1. Instead of relying on centralized gateway. We can use Geographically distribute gateways like anycast gateways, CDN.
      2. Yes, we need to make Distributed DB replicas placed across geographies.
      3. Its a common scenario that distributed DB can sync up with each other, for example ORACLE uses OGG (Oracle golden gate) to transfer the committed data to distributed db. But its true, as even oracle mentioned in their OGG document that, it might take max 15 mins in the worst scenario.
      4. Active-Passive is one solution and yes for far away users, latency issue will be present. But Active-Active also can be used with "Distributed Locking mechanism" (as part of this mechanism, lock on same db instance put on all active nodes)

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

      @@ConceptandCoding Thanks for such a quick and perfect response. I will be asking many more questions this weekend :)
      Also, Do you suggest any cloud certification and cloud related courses which can make us pro on these topics?

  • @ritwikgupta7540
    @ritwikgupta7540 9 หลายเดือนก่อน +1

    Whats the use of vertical sharding, it is just splitting the table on the columns, but the number of rows remain same, which kind of means we are creating multiple tables from one table, doesn't that make the design even more complex?

    • @Satishsingh-yc9bs
      @Satishsingh-yc9bs 8 หลายเดือนก่อน

      A user profile can have say 20 fields, out of this say only 5 are most sought after/used frequently. Now making 2 tables, one with 5 column and another with 15 will make the first DB lighter and faster in response.

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

    1)Who will take care of making slave DB master if primary fails..? Is that db cluster itself does the job? I believe replication is also taken care by db cluster by itself.
    2)In general we give 1 url in datasource bean of springboot property file for a relational db. What would be URL in springboot application if there are multiple replicas dbs and how can we change primary in that case?

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

      2nd was asked in an interview recently

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

      1.) when db are run in docker conatiner we give these configuration in files.. exapmle is stated below
      MongoDB shell version v5.0.8
      > db = (new Mongo('localhost:27017')).getDB('test')
      test
      > config = {
      "_id" : "my-mongo-set",
      "members" : [
      {
      "_id" : 0,
      "host" : "mongo1:27017"
      },
      {
      "_id" : 1,
      "host" : "mongo2:27017"
      },
      {
      "_id" : 2,
      "host" : "mongo3:27017"
      }
      ]
      }
      2. for the second question ..we can create these files in spring also..in the application.yml files we can give .
      spring:
      devtools:
      restart:
      enabled: false
      livereload:
      enabled: false
      data:
      cassandra:
      contactPoints: localhost
      protocolVersion: V4
      compression: LZ4
      keyspaceName: xyz
      jest:
      uri: localhost:9200
      *jest is elastic search client and db here is cassandra

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

    why there is a need of join query in sharding ? we have same columns in every tables , so why we have to do join ? we can simply make query on respective shards ?

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

    Hey , Thanks for a great content men. I have one doubt .
    I have few doubt thought.
    1 - Scaling of db and scaling of app server is same right ? . I mean for both we use Horizontal scaling and Vertical scaling right ? only difference is implantation wise .
    2 - Do you think Master slave is kind of horizontal scaling only bcz there we have replication of data(Slaves have same data as Master) and in case of app server we have replication of code on server and multiple servers are running them ?
    3 - If we have master slave then what is the need of the Sharding (as it is also kind of horizontal scaling only)
    4 - Why don't we have Load balancers in front of the Slaves in master slaves like we have in front of the App server ?

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

    Hi Shrayansh , i had doubt in last part where initially we had master slave architecture , later on database scaling are we scaling only the master node or all the master slave both ?
    Thanks

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

    agar hum sharding primary key ke base pr kre to jab bhi tree sharding problem hat jaegi ?

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

    CDN does not call to other cdns ..(neighbour cdn)
    a cdn service have internal edges / nodes seperated region wise
    18:25

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

    Bhai you are working great. I must tell you. I always recommnd your channel to the people who wants to learn Lld and DP.
    One note : when you are recording DP comes up with real time use cases . And where can we implement these DP concept in the hld questions asked in interview. Like can we implement any dp in parking lot.

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

      Got it thanks for the feedback. I will do that .

  • @AnwarAli-pu2on
    @AnwarAli-pu2on 4 หลายเดือนก่อน

    What is the difference between master slave db concept and cqrs ?

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

    good job young man

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

    The CDN will be outside the datacenter right? then how will it scale for different geographical regions?

  • @itsds.
    @itsds. ปีที่แล้ว

    Thanks for the great video, whats difference between Horizontal Sharding and Indexing?

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

    HERE WE CAN USE S3 Bucket as well to store uploaded data like images file etc etc

  • @NeerajSharma-eq8ch
    @NeerajSharma-eq8ch 10 หลายเดือนก่อน

    Hey @ConceptandCoding, How consistent hashing will help to reduce the tree structured sharding, I mean every shard has different data, redirecting the request using consistent hashing to a wrong shard won't help right?

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

    Question - Step 4, How does the requests from App servers farmed out to multiple dbs, do we need internal load balancer between App and db servers? Appreciate it if you could add some explanation notes. Great videos, love it.

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

      I will cover this in my next HLD video, it gonna be very interesting video

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

    Question: Suppose if there is huge data in DB and there needs to be divided into two shards, Will both the shards have their dedicated node, or both the shards will live in single node ?
    Also can a single node/vm contains only one shard or it can contain multiple shards

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

    There is one concept of Service Discovery also. This should have also been added into the diagrams.

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

    Great

  • @MohdZaid-gi2mo
    @MohdZaid-gi2mo ปีที่แล้ว

    Beautifully explained words aren't enough for your effort taken, thanks! Also i have doubt pls reply, i wanted to know how long does it take for a single software engineer to implement HLD all these mentioned concepts in real time, how long does it take to scale an app? Lets assume it's a food delivery app

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

      Sorry I did not get the question, could you please elaborate when you say "how long it takes to implement"...

    • @MohdZaid-gi2mo
      @MohdZaid-gi2mo ปีที่แล้ว

      @@ConceptandCoding I'm curious about the time required for a lone software engineer to implement a high-level system design project, incorporating all the mentioned concepts from the video, in real-time, utilizing AWS. Additionally, I'm interested in understanding the timeframe needed to scale an app, specifically considering a food delivery app as an example." Do you also take classes? Webinar/course for the High level system?

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

    Why dint you discuss threadpools in this discussion

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

    Great content 👍👍

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

    Very Nice !!

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

    Started HLD today. Hope to finish hld and lld in a week. Wish me luck

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

    This stuff is really really cool, and Thank you so so much for sharing your knowledge. Appreciated. :)

  • @RishabAggarwal-ss7ry
    @RishabAggarwal-ss7ry ปีที่แล้ว +7

    I am watching this from New York but There are so many ads after every few minutes. Its so so frustrating. idk its by the author or location but it needs to be fixed. Content is good as always.

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

      It totally depends on the region
      You can use brave browser or add blocker to bypass adds

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

      Download video after watching

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

      buy premium

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

    Bro, when can we expect English subtitles to this video?

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

    I had a question, at your level like sde3 do you also have to work on frontend side also or more on backend architecture only

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

      I am a backend engineer, never worked on frontend.

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

      @@ConceptandCoding you are really lucky that you don't get frontend tasks, whenever I joined dev job I was expected to work on frontend which I really don't understand, I knew nodejs that time but no such frontend expertise I had, what should I do so that I can get only backend related jobs even after I crack any interview

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

    Pls also start videos of spring boot framework.

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

    It would be helpful if you provide some subtitles brother

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

    Super

  • @Harsh-s2d
    @Harsh-s2d 4 หลายเดือนก่อน

    I don't know why the colleges don't take these topics for class.

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

    Hello Sir, I want to present my idea in Tata Imagination Challenge. Can you please guide me on the same? If possible, please make a video so that it will be helpful for all of us. Thankyou.

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

    Heyy, can you please explain how data will be replicated between databases situated in different geo. location; like what is the connection type between them.

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

    do you refer to alex xu?

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

    Great video 😇.Hope there would have been some predefined steps to reach 1 million followers/subscribers 🥺

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

      Yes first step is to share it with your connections :)

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

    so you are saying first step should be replication than vertical scaling .......... but I thinks it should be reverse.......

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

    How to achieve Master slave replication in real time?

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

    👍👍

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

    Where to learn LLD HLD from ? and how to scale it to millions of users

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

      pls check the video Deepak.

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

      @@ConceptandCoding im struggling with a coderanch problem . Can i emal it to you ?

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

    Consecutive write and read operation for same data will result in failure if read is from replica even if replication gap is 3-5milli second

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

      :) it will not fail, generally the data ia also cached. if weite and read happens almost instantly (in a gap of 3-5mill sec) it will mostly get served from Cache. So no issues

  • @MoviesKuntal-li1cc
    @MoviesKuntal-li1cc 2 หลายเดือนก่อน

    Can anyone Share notes with me for current and last 2 lectures.

  • @AkshaySharma-bg3oj
    @AkshaySharma-bg3oj ปีที่แล้ว

    Hi can you pls share these kind of notes :) (onenote with us)

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

      Sure, i will share from future, as i haven't saved earlier ones

  • @bryantay862
    @bryantay862 21 วันที่ผ่านมา

    Can you please do it in english? You have a huge english audience..

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

    What language is this ?

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

    i struggled... were you speaking hindu?

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

    Please post videos in English

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

    English would be very helpful

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

    Can you please make this video in English if you have free time?

  • @ajaysabarish9645
    @ajaysabarish9645 2 ปีที่แล้ว +8

    Please speak in English or at least add english subtitles

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

    A humble request to speak in English

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

      Hi Radhi, yes i have switched to English for all my latest videos

  • @ManishKumar-zt5sk
    @ManishKumar-zt5sk 7 หลายเดือนก่อน

    Does CDN have server instance or only static data ? where does the client request goes first ? - CDN or actual server

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

    0:00 - Introduction
    1:19 - Single Server
    2:28 - Application & DB Separation
    3:50 - Load Balancer & App Servers
    6:25 - Database Replication
    9:01 - Cache Integration
    10:40 - CDN (Content Delivery Network)
    18:32 - Data Center Scaling
    21:44 - Messaging Queues
    28:16 - Database Sharding
    34:19 - Conclusion