Inbound Loadbalancing for an Internet Shop
-
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 lampthe loadbalancing should provide balancing and failover for the users accessing the shop.
-
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! :)