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

    Inbound Loadbalancing for an Internet Shop

    Scheduled Pinned Locked Moved Routing and Multi WAN
    2 Posts 2 Posters 1.5k 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.
    • H
      hanseschler
      last edited by

      Hi,

      is the loadbalancing feature of PFSense a possible solution to provide a loadbalancing für
      webservers with internet shops on it?
      This loadbalancing should be sessionbased so that the users who logged into the shop stay on the same server for their session.

      example:
      1x firewall pfsense + 3 webservers incl. the shop based on lamp

      the loadbalancing should provide balancing and failover for the users accessing the shop.

      1 Reply Last reply Reply Quote 0
      • I
        Itwerx
        last edited by

        Depends on the "shop" software.  The inbound load balancing will track session state but if a customer sits idle for long enough the session will expire.  You could set very long session timeouts but there might be some functional limitations to that depending on how much traffic is being handled. 
          However, if the backend was designed to be in a web farm then it should already have functionality for replicating sessions across the various servers, (usually done through a separate central database that all can access directly).  And if it can't, well, find the developer and ask them why the heck not!  :)

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