Load Shedding in Spring Boot | Tech Primers

Sdílet
Vložit
  • čas přidán 13. 12. 2022
  • This video covers how to implement load shedding in a Spring Boot application
    🔗 Github link for code: github.com/TechPrimers/load-s...
    Join this channel by contributing to the community:
    / @techprimers
    📌 Related Links
    =============
    🔗 Terraform Getting Started: • Terraform Primer | Get...
    🔗 Terraform Architecture: • Terraform Primer | Ter...
    🔗 Terraform setup: www.terraform.io/downloads.html
    🔗 Github code: github.com/TechPrimers/terraf...
    🔗 Terraform Providers: registry.terraform.io/browse/...
    📌 Related Playlist
    ================
    🔗 Terraform Playlist - • Terraform Primers
    🔗Spring Boot Primer - • Spring Boot Primer
    🔗Spring Cloud Primer - • Spring Cloud Primer
    🔗Spring Microservices Primer - • Spring Microservices P...
    🔗Spring JPA Primer - • Spring JPA Primer
    🔗Java 8 Streams - • Java 8 Streams
    🔗Spring Security Primer - • Spring Security Primer
    💪 Join TechPrimers Slack Community: bit.ly/JoinTechPrimers
    📟 Telegram: t.me/TechPrimers
    🧮 TechPrimer HindSight (Blog): / techprimers
    ☁️ Website: techprimers.com
    💪 Slack Community: techprimers.slack.com
    🐦 Twitter: / techprimers
    📱 Facebook: TechPrimers
    💻 GitHub: github.com/TechPrimers or techprimers.github.io/
    🎬 Video Editing: FCP
    ---------------------------------------------------------------
    🔥 Disclaimer/Policy:
    The content/views/opinions posted here are solely mine and the code samples created by me are open sourced.
    You are free to use the code samples in Github after forking and you can modify it for your own use.
    All the videos posted here are copyrighted. You cannot re-distribute videos on this channel in other channels or platforms.
    #LoadShedding #SpringBoot #TechPrimers
  • Jak na to + styl

Komentáře • 23

  • @D4arkl0rd
    @D4arkl0rd Před rokem +3

    Good demo! Seeing this into action in k8s cluster would be awesome. Keep up the good work!

  • @MrAtul61
    @MrAtul61 Před rokem +3

    Thank you, Great explanation. I would really like to see this in the k8s cluster. Please keep producing such high quality content.

  • @jpchennai
    @jpchennai Před rokem +1

    Yes would love to see the k8 video

  • @vijayroy3173
    @vijayroy3173 Před rokem +2

    Nice presentation, Thank you.

  • @rubenlara3386
    @rubenlara3386 Před rokem +1

    Thank you. Please, explain it in a k8s environment 🙏🏽

  • @yannkefeleck1974
    @yannkefeleck1974 Před rokem +1

    Very good job and thanks for sharing

  • @MadhusudanBhosale
    @MadhusudanBhosale Před rokem +1

    Great topic..
    Thanks Ajay

  • @venu5791
    @venu5791 Před rokem

    Thank you so much. Can you give some over view of Kafka ratelimitter for consumers. Awaiting for k8 rate limiter .

  • @jibin7277
    @jibin7277 Před rokem +1

    Yes please do this on k8s :)

  • @subhajitbhattacharjee007

    Please, explain it in a k8s environment . Great explanation, waiting for load shedding demo in k8s env..

  • @rishiraj2548
    @rishiraj2548 Před rokem +2

    Thanks

  • @devadaspaik6866
    @devadaspaik6866 Před rokem +1

    Please show the example in k8s as well

  • @ajay263557
    @ajay263557 Před rokem +2

    Nice presentation...please do it in kubernates and if possible could you please start new series on kubernates.

    • @TechPrimers
      @TechPrimers  Před rokem

      Hi Ajay sure. Already there is a kubernetes primer playlist. Take a look

  • @red_forever_7
    @red_forever_7 Před rokem

    But the requests reached our controller then it gave service unavailable... It should be before right? I mean it waited for 1 min, then it gave response.. thats not concurrent I guess

    • @TechPrimers
      @TechPrimers  Před rokem

      No the 1 min was a genuine request. The other new requests returned 503. That's what we need.

  • @ShivManiShivraj
    @ShivManiShivraj Před rokem

    You running DefogTech channel right?

    • @TechPrimers
      @TechPrimers  Před rokem +1

      No Shivraj. Deepak used to run it. I’m Ajay.

    • @ShivManiShivraj
      @ShivManiShivraj Před rokem

      @@TechPrimers oh ok.. similar explanation... Great Ajay..

  • @f0neug
    @f0neug Před 8 měsíci

    Minor remark. The code is still not correct for multiple threads: line 26 could be reached simultaneously by n Threads, when they all go through the "if" in line 19 the same time. But this is not your point, I understand.

  • @praveenkumar4859
    @praveenkumar4859 Před rokem

    this is rate limiting, not load shedding..

    • @TechPrimers
      @TechPrimers  Před rokem

      Rate limiting is a subset of Load shedding. Rate limiters are applied at API level. However to safeguard individual service, we need load shedding to make sure the service is not degraded.