27. Thundering Herd Effect on Ticket Booking App | System Design

  Рет қаралды 12,275

Concept && Coding - by Shrayansh

Concept && Coding - by Shrayansh

Күн бұрын

Пікірлер: 28
@anshulkatare
@anshulkatare 3 ай бұрын
Just yesterday i thought, this series is no longer getting new content and is abandoned, and this came up. Very happy to see the new content. Please keep adding to it, the content is very good, and so much more to cover.
@ConceptandCoding
@ConceptandCoding 3 ай бұрын
@@anshulkatare yes, more videos soon going to come
@architgarg1088
@architgarg1088 3 ай бұрын
Love the way you explain complex problems in a very easier and understandable manner.
@aashishkalia8269
@aashishkalia8269 3 ай бұрын
shreyansh one humble request when you teach terms like rate limiter , consistent hashing, jitterness atlaest give some reference abt their implementation in which java api are these used in production envireoment , bcz this is what should distinguish you from others as drawing boxes is not that a big deal , please take it as positive feedback
@HungryEagle2610
@HungryEagle2610 3 ай бұрын
Your explanations are crystal clear. Thank you for sharing this. Wouldn't this been load tested during the QE phase using libraries like locust
@sanketh768
@sanketh768 3 ай бұрын
did not understand the logic behind reties , it will be too late for the request to complete in case of retries customer would have already given up and closed the app and made a retry manually by making a new request
@ankitbiswas101
@ankitbiswas101 3 ай бұрын
Was waiting for just this!
@baluk6710
@baluk6710 Ай бұрын
great explanation but in the age of horizontal auto scaling, what is the need for managing thundering effect in the application logic. Can you please give some practical scenarios where it would make sense to handle it this way.
@sanketh768
@sanketh768 3 ай бұрын
BMS is a very matured system , is this the first time such a high load has come ? there have been block buster movies and events in the past. I thought they might have seen these issues in the past
@amanbhagat1616
@amanbhagat1616 3 ай бұрын
Thanks for sharing this.
@sahilsharma2445
@sahilsharma2445 3 ай бұрын
Hey Shreyansh, is it advisable to use kafka/sqs before the request reaches application layer? We can implement rate limiting on messaging queues and prevent system from processing more requests and failing. Are we not doing this because we want to synchronize the process?
@rishiraj2548
@rishiraj2548 3 ай бұрын
Thank you
@subhamsadhukhan9098
@subhamsadhukhan9098 3 ай бұрын
Can you explain more about autoscale ?
@saravanansivakumar9259
@saravanansivakumar9259 3 ай бұрын
Didnt they have rate limiter in their system ?
@gauravyadav042
@gauravyadav042 3 ай бұрын
Hi Shreyansh , During retry, would the request again go through API gateway or would it be tried from load balancer ? Can you please also confirm who would be doing the retry ? I am thinking since the queue is full the request won't be reaching the application server. Please confirm.
@ConceptandCoding
@ConceptandCoding 3 ай бұрын
again answer is not straight forward, retry can be done by application, load balancer or application gateway. but let say you have chosen retry via application level or load balancer level , but in later point some other system fail but your application retried passed, in that case, the whole request will be retried again. so generally retry should happen from single source like here application gateway. but if you are designing that retry also required at application or load balancer, then it can be done but proper handling need to be done (for idempotency, latency etc)
@gauravyadav042
@gauravyadav042 3 ай бұрын
Thank you Shrayansh!
@SivakiranBoppana
@SivakiranBoppana 3 ай бұрын
why they couldn't leverage rate limiter?
@iranna9065
@iranna9065 2 ай бұрын
I request you to use a bigger board and write in boggers fonts
@ConceptandCoding
@ConceptandCoding 2 ай бұрын
noted
@aakash.nagpal98
@aakash.nagpal98 3 ай бұрын
respect ha bhai
@RoyBoyLab
@RoyBoyLab 3 ай бұрын
Nice
@random4573
@random4573 3 ай бұрын
Why auto scale at all? In this unique situation they know there will be lot of traffic for a small period of time may be 30 min to 1 hr. So just get more resources for that period before hand.
@sahilsharma2445
@sahilsharma2445 3 ай бұрын
I feel using jitter at application level or a rate limiter is much more cost efficient than using more resources. Users would have no problems waiting 5 minutes or more. Your thoughts?
@girishanker3796
@girishanker3796 2 ай бұрын
Pre-scaling would be great in this situation as we are sure the traffic is going to be high. Using mq's as rate limiters would also be a great design for slowing up throughput.
@girishanker3796
@girishanker3796 3 ай бұрын
Never been this early...
@ConceptandCoding
@ConceptandCoding 3 ай бұрын
:)
@player-rj9lb
@player-rj9lb 3 ай бұрын
9th comment
API GATEWAY and Microservices Architecture | How API Gateway act as a Single Entry Point?
23:18
Concept && Coding - by Shrayansh
Рет қаралды 46 М.
4. HLD SAGA Pattern | Strangler Pattern | CQRS | Microservices Design Patterns | System Design
30:55
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
2. CAP Theorem | High Level Design for Beginners | CAP Partition Tolerance explained
18:41
Concept && Coding - by Shrayansh
Рет қаралды 61 М.
Thundering Herd Problem and How not to do API retries
10:44
Arpit Bhayani
Рет қаралды 15 М.
System Design: Concurrency Control in Distributed System | Optimistic & Pessimistic Concurrency Lock
1:04:45
System Design Interview: TikTok architecture with @sudocode
45:35
16. System Design - Distributed Messaging Queue | Design Messaging Queue like Kafka, RabbitMQ
45:13
Service Mesh and its Architecture | How Microservices Communicate?
23:54
Concept && Coding - by Shrayansh
Рет қаралды 17 М.
Top 5 Redis Use Cases
6:28
ByteByteGo
Рет қаралды 193 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН