ppb Posted December 19, 2017 Share Posted December 19, 2017 Hi everybody, Has anybody used any load-balancer application with unigui ? As Farshad Mohajeri says Load balancing is another issue. uniGUI apps can be load balanced. To achieve this a specialized load-balancer application is needed. Load balance app will recognize uniGUI web requests and after extracting the session info, request will be redirected to server which is keeping the state for that session. Each request should be redirected to the server which has initiated that particular session. Requests can not wander around different servers as it is possible in a stateless server farm. All these may make load-balancing a bit more complex, but it is achievable. Thanks for your help. Quote Link to comment Share on other sites More sharing options...
ppb Posted January 9, 2018 Author Share Posted January 9, 2018 Hi , Has anybody used sticky session mode with Unigui App ? Best regards. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted January 11, 2018 Share Posted January 11, 2018 yes we used it with apache. an extract of our vhost conf : <VirtualHost *:443> <Proxy balancer://webbalancer> BalancerMember http://192.25.10.165 route=SRVWEB3 BalancerMember http://192.25.10.167 route=SRVWEB2 </Proxy> ServerName www0.domain.com:443 ServerAdmin webmaster@domain.com Header add Set-Cookie "MYCOOKIE=SOMEVALUE.%{BALANCER_WORKER_ROUTE}e; path=/;" env=BALANCER_ROUTE_CHANGED SSLEngine on SSLCertificateFile "c:/Apache24/conf/sub-domain.crt" SSLCertificateKeyFile "c:/Apache24/conf/sub-domain-N.key" SSLCertificateChainFile "c:/Apache24/conf/sub-domain-I-CA.crt" ProxyPreserveHost on ProxyRequests off ProxyPass / balancer://webbalancer/ stickysession=MYCOOKIE ProxypassReverse / balancer://webbalancer/ ErrorLog "|bin/rotatelogs.exe logs/%Y-%m-%d_www0.domain.com-error.log 86400" CustomLog "|bin/rotatelogs.exe logs/%Y-%m-%d_www0.domain.com-access.log 86400" common </VirtualHost> Quote Link to comment Share on other sites More sharing options...
ppb Posted January 16, 2018 Author Share Posted January 16, 2018 Hi delagoutte, thanks for your reply and script , Did you have any type of programmatic considerations when you developed unigui app ? Does it work fine ? Best regards. Quote Link to comment Share on other sites More sharing options...
delagoutte Posted January 16, 2018 Share Posted January 16, 2018 Did you have any type of programmatic considerations when you developed unigui app ? No Does it work fine ? yes if client 1 is affected to balancer member 1 ->balancer member 1 down->client 1 is redirect to balancer member 2 but his session is lost Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.