Forum: Entperprise(Clustered)Here is a forum space for the Server: Entperprise(Clustered).
116. Load Balancer Algorithm
While installing enterprise cluster server, we need to use a load balancer. Is there a suggestion about load balancer configuration? As I understand, ProPTT2 expects load balancer algorithm to be "sticky session". Can we use any of the ProPTT2 cookie etc. for that purpuse? What about mobile applications? Do hey have any cookie mechanism for load balancing?
Aug 21 '19 at 16:31 (GMT0) created by Tolga Turan
Hi Tolga, ProPTT2 don't care the algorithm. So you can use round-robin also. About client, it is not required the algorithm too. You don't need to have the cookie. Thanks.
Aug 21 '19 at 23:12 (GMT0) created by ProPTT2 dev
I was asking about load balancing algorithm because servers lose sessions. In server, after changing page a couple times, it redirects me to "Login" page. I have done http-vhost and mod_jk configuration as in documentation. Servers are installed in AWS EC2 instances. There is an nginx tcp/udp load balancer in front of ProPTT2 servers.
Aug 23 '19 at 16:10 (GMT0) created by Tolga Turan
I think it would be a page timeout.(Not load balancing) Clouster server has complex structure.(network, machines, LB, DB and so on) So the guide documents could not be perfect. You have to consider your system status. Good luck.
Aug 23 '19 at 16:25 (GMT0) created by ProPTT2 dev