Welcome, Guest
Username: Password: Remember me

TOPIC: Session and load balancing

Session and load balancing 2 years 11 months ago #81155

  • Nickko
  • Nickko's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2402
  • Thank you received: 317
  • Karma: 67
Hi,

I'm (my firm and my sysadmin) trying to install LS on a load balanced architecture. (2 apache webserveur but only 1 mysql server)

I have verified and our hosting configuration meet LS requirement.

1st question, do Limesurvey need sticky session ?
I have read this and i think no : bugs.limesurvey.org/view.php?id=4204

2nd question (perhaps linked to the first) when i select a survey, i'm redirected to the login form, if i refresh the page many time, login form desapear and i see the survey summary (what i want).
Nickko
Ergonome / Usability expert
The administrator has disabled public write access.

Re: Session and load balancing 2 years 11 months ago #81180

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 82
  • Karma: 36
Nickko-

For 1.92, you'll want sticky session. EM does one large database read when a survey starts, and then stores all state $_SESSION, which won't be shared across load balanced nodes without special configuration. However, sticky sessions should work fine.
The administrator has disabled public write access.

Re: Session and load balancing 2 years 11 months ago #81182

  • Nickko
  • Nickko's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2402
  • Thank you received: 317
  • Karma: 67
Thank's.
Nickko
Ergonome / Usability expert
The administrator has disabled public write access.

Re: Session and load balancing 2 years 11 months ago #81277

  • Nickko
  • Nickko's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 2402
  • Thank you received: 317
  • Karma: 67
To active sticky sessions my sysadmin ask me which is the name of the cookie sessions, but i don't see it myself.

Can you give me this name ?
Nickko
Ergonome / Usability expert
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.102 seconds
Donation Image