1. Nilotpal Bera
  2. Beta Testing
  3. Tuesday, 13 July 2021 15:20 PM UTC

Hi,

Need to know about PowerServer clustered environment.

We need to have an idea about how clustered session will work.

If we have 2 webservers and 2 app servers, do we need cookie stickiness or PowerServer uses URL rewrite for preserving session.

Thanks in advance.

 

Best Regards,

Nilotpal

Accepted Answer
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 14 July 2021 07:06 AM UTC
  2. Beta Testing
  3. # Permalink

Hi Nilotpal,

Yes, you will need cookie stickiness. And you also need to make sure the Cookie timeout is greater than the session timeout.

Please note that PowerServer itself does not provide the cluster function and there is no configuration required on PowerServer., and the cluster does not supports fail over. So you need to use a third-party tool (for example, Nginx, K8S, etc.) to implement it.

We have tested with Nginx. The cluster works well via ip-hash load balancing. Please refer to the article below for HTTP Load Balancing of Nginx.
http://nginx.org/en/docs/http/load_balancing.html

Regards,
ZhaoKai

Comment
  1. Nilotpal Bera
  2. Wednesday, 14 July 2021 07:50 AM UTC
Hi ZhaoKai,



Greetings!

Thanks as always for your inputs and advise.



Best Regards,

Nilotpal
  1. Helpful
There are no comments made yet.
Nilotpal Bera Accepted Answer Pending Moderation
  1. Wednesday, 14 July 2021 08:33 AM UTC
  2. Beta Testing
  3. # 1

Hi ZhaoKai,

Can you please confirm one more thing.

Do we need cookie stickiness at app and web both or only web.
 
Thanks,
Nilotpal
Comment
  1. Kai Zhao @Appeon
  2. Thursday, 15 July 2021 05:44 AM UTC
Hi Nilotpal,



You need cookie stickiness at web only as web will return cookie to the client (app), then app will send this cookie in every request to server.



Regards,

ZhaoKai

  1. Helpful
  1. Nilotpal Bera
  2. Thursday, 15 July 2021 08:49 AM UTC
Hi ZhaoKai,



Appreciate your help on this...thanks.



Best Regards,

Nilotpal
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.