HAProxy

Episode #484 by Teacher's Avatar David Kimura

Summary

In this episode, we explore deploying HAProxy, a high performant load balancer, with Kamal. We'll look at various scenarios where it is a great fit and other scenarios where you'd want to avoid HAProxy.
rails kamal infrastructure 15:15

Chapters

  • Introduction (0:00)
  • Kamal overview (1:55)
  • When to use HAProxy (2:37)
  • Setting up the HAProxy Accessory (4:16)
  • Setting up the configuration (5:48)
  • Redeploying the new configuration (7:30)
  • Configuring the Ollama backend (7:53)
  • Demo (10:59)
  • Concurrent requests (11:45)
  • Adding the second server (12:49)
  • Final thoughts (13:20)
Student & Teacher
$ 9 /mo

Valid School Email Required

Same Access as Pro

Subscribe Now
Pro Monthly
$ 19 /mo

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Pro Annual
Autumn Sale
$ 144 190 /yr

Access to Pro Episodes

Invite to Slack Channel

Priority Suggestions

Ad Free

Subscribe Now
Teams
$ 57 /mo

3 Users Minimum

$19.00 / user / month

Same Access as Pro

Subscribe to Teams