Jump to content


Photo

load-balancer application


  • Please log in to reply
2 replies to this topic

#1 ppb

ppb

    Member

  • uniGUI Subscriber
  • PipPip
  • 16 posts

Posted 19 December 2017 - 03:31 PM

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.
 
 
 
 

 

 

 
  • 0

#2 ppb

ppb

    Member

  • uniGUI Subscriber
  • PipPip
  • 16 posts

Posted 09 January 2018 - 02:29 AM

Hi ,

Has anybody used sticky session mode with Unigui App ?

Best regards.
  • 0

#3 delagoutte

delagoutte

    Advanced Member

  • uniGUI Subscriber
  • PipPipPipPip
  • 304 posts

Posted 11 January 2018 - 09:19 AM

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> 

  • 0




1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users


    ppb