A Load Balancer in Scala with Cats Effect and Http4s

Поделиться
HTML-код
  • Опубликовано: 12 ноя 2024
  • НаукаНаука

Комментарии • 12

  • @eugeneplay9416
    @eugeneplay9416 Месяц назад +1

    Great video!

  • @ぶらえんぴん
    @ぶらえんぴん Год назад +2

    Watching coding is always a great inspiration

  • @HombrexGSP
    @HombrexGSP Год назад +2

    Thanks for being one of the best sources of information in the Scala world :D also, nice video mate!

  • @theanigos
    @theanigos Год назад +2

    So simply said Dan, loved it.

  • @ぶらえんぴん
    @ぶらえんぴん Год назад +2

    I like all the scala videos, thanks

  • @Neskeip
    @Neskeip 11 месяцев назад

    Hi! thanks for the idea! really cool. But just one question, why I would need to create a load balancer of my app if I will use kubernetes or other orchestrator that has already its own load balancer? Thank you so much!

    • @scalevolvable323
      @scalevolvable323 10 месяцев назад +2

      Most likely you will not need to create a custom load balancer for your app since majority of popular load balancers already cover numerous use cases. Even if there is something complex going on there will be achievable solution using existing tools which may require some workarounds but most likely will be better than writing something from scratch.
      Moreover, you will not use this in production of course, because there are more advanced and battle tested approaches. However, it's a good exercise to practice the skills. Developers build different projects for learning purposes, for understanding ideas and because it's fun! Same goes for building the unix word count, cut, json parser, Redis clone, chat server or any other project. These things already exist out there and they are more advanced, but the goal is to get the gist of it and understand how something works.

    • @Neskeip
      @Neskeip 10 месяцев назад

      @@scalevolvable323understood! thanks ❤😊

  • @giuliocasa1304
    @giuliocasa1304 Год назад

    Load Balancers are network-based appliances. The transition from software-based load balancing to hardware-based solutions occurred during the earlier stages of the software era. Today, load balancers have evolved into scalable virtual Application Delivery Controllers (ADCs) that can be instantiated in the cloud using Infrastructure as Code (IaC) in DevOps environments.

  • @hubstrangers3450
    @hubstrangers3450 Год назад +2

    Thank you....

  • @waagnermann
    @waagnermann Год назад

    is your load balancer multithreaded?

    • @scalevolvable323
      @scalevolvable323 Год назад +2

      Yes, the EmberServerBuilder in http4s is built on top of the BlazeServer, which is an HTTP server implementation provided by the http4s library. Blaze is an asynchronous, non-blocking, and high-performance HTTP server designed to handle a large number of concurrent connections efficiently.