Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    What's the best option currently for load balancing and failover? HAProxy?

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 2.9k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      rogerivy
      last edited by

      Hi folks

      We're busy restructuring our hosting environment and are set on using pfSense.

      Our biggest question is around load balancing. Our preference is to use HAProxy (in fact, this is what led us to pfSense). But I thought we would ask the experts … that's where you come in.

      At first our "load balancing" will be more for failover. We have a few sites that must be available, so we have a few servers running behind the firewall.

      Is HAProxy the best option to use with pfSense?
      Is the built-in load balancing good enough for failover?
      What version of pfSense should we deploy if we use HAProxy?

      thanks
      Roger

      1 Reply Last reply Reply Quote 0
      • marcellocM
        marcelloc
        last edited by

        Use pfsense 2.0 64bits.

        If you need to balance https, the best choice is haproxy.
        If you need to speed up responses as well reduce server load, then the best choice will be varnish(http only).

        My best scenario has varnish for http(really fast) and haproxy for https.

        Haproxy just balance but varnish can balance, failover balance, cache and Forward clients remote ip.

        Treinamentos de Elite: http://sys-squad.com

        Help a community developer! ;D

        1 Reply Last reply Reply Quote 0
        • R
          rogerivy
          last edited by

          Thanks Marcelloc

          Does the current ver 2.0 have a stable and effective HAProxy?
          The guys at Applianceshop.eu seemed to think that v1.2.3 was better.

          1 Reply Last reply Reply Quote 0
          • marcellocM
            marcelloc
            last edited by

            2.0 am64 is the best choice.

            Haproxy 1.4 is upcoming for 2.0

            Treinamentos de Elite: http://sys-squad.com

            Help a community developer! ;D

            1 Reply Last reply Reply Quote 0
            • R
              rogerivy
              last edited by

              If I set up a 2nd appliance to use CARP, do the HAProxy and Varnish settings also sync over?

              1 Reply Last reply Reply Quote 0
              • marcellocM
                marcelloc
                last edited by

                yes, both has sync options.

                Treinamentos de Elite: http://sys-squad.com

                Help a community developer! ;D

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.