Home
LimeSurvey Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Re:Performance on Large Surveys (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Re:Performance on Large Surveys
#17811
jgundy (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Performance on Large Surveys 3 Months ago Karma: 0  
Our non-profit organization has created a sizable public survey with over 450 questions and 1000 columns in the database (mysql). We have very complicated conditional logic which prevents most questions from being asked, so a survey should take only 20 minutes to run. We have done this without issue until we started getting a load on the survey (about 1 survey per minute). This has put a strain on our server, creating performance problems, and I suspect its due to the complexity of the survey (rather than bandwidth bottlenecks or slow php code).

I was wondering what other peoples experience with large, complex surveys and if they have had these issues and if they found ways of improving performance. Would it be possible to break the survey up into multiple tables? Would that improve performance enough to be worth it? What would be the best indicator that this is the problem?

Any help in this matter would be greatly appreciated. We have used PHPSurveyor/Limesurvey for a couple of years now with great success so far.
 
Logged Logged  
  The administrator has disabled public write access.
#17813
ElMatador69 (Moderator)
LimeSurvey Team
Posts: 1577
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 31  
Hi, which version and build of LimeSurvey do you use?
On my knowledge on one of the latest build there was a speed improvement implemented by Jason Cleeland.
 
Logged Logged  
 
Get in touch with the LimeSurvey Development Team via IRC
If our informations and answers were useful to you, please consider a donation to the LimeSurvey Project!
  The administrator has disabled public write access.
#17818
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 5  
Hi,

I would take a look at your php.ini file too and make sure the settings are optimally configured.

You might also want to look at the following sites:

eAccelerator: http://eaccelerator.net/

xCache: http://trac.lighttpd.net/xcache/

Zend: http://www.zend.com/products/guard/optimizer/
 
Logged Logged  
 
Last Edit: 2008/08/20 09:55 By paulalford.
  The administrator has disabled public write access.
#17824
Mazi (Moderator)
Moderator Lime
Posts: 3252
graph
User Online Now Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 25  
I guess the problem is cuased by the condition checking. When having large surveys with lots of conditions there are lots of dependencies to check.

Please upgrade to the latest build which contains some speed improvings.
 
Logged Logged  
 
Best regards,
Mazi
______________________
Need help? I can: set up Limesurvey for you / create your survey / implement additional features / design your template / offer premium support -> Contact.
  The administrator has disabled public write access.
#17835
jgundy (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 0  
We are currently using version Version 1.71+ (5246), which is either the latest, or very close to that.
 
Logged Logged  
  The administrator has disabled public write access.
#17838
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 5  
v1.71+ is the latest at revision 5448, so you're quite a way off the latest version from the repo. I think the speed increase came in at about 5397.
 
Logged Logged  
 
Last Edit: 2008/08/20 15:51 By paulalford.
  The administrator has disabled public write access.
#17840
jgundy (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 0  
I will check out those sites. I did have to make changes to the php.ini file just to get it to run (i.e. increasing the limit of response variables).

Thanks.
 
Logged Logged  
  The administrator has disabled public write access.
#17841
jgundy (User)
Fresh Lemon
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 0  
I wondered if the number of conditions would be an issue, which is why I wondered if breaking the survey up into multiple tables would ultimately affect performance. The number of conditions is rather large (1,200 rows in the database).
 
Logged Logged  
  The administrator has disabled public write access.
#17842
paulalford (User)
Expert Lime
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 5  
I don't know the answer to that as I haven't run a survey with that complexity.

Could you break the survey into several and then combine the data post fieldwork?
 
Logged Logged  
  The administrator has disabled public write access.
#17843
c_schmitz (Admin)
Moderator Lime
Posts: 1354
graphgraph
User Online Now Click here to see the profile of this user
Re:Performance on Large Surveys 3 Months ago Karma: 39  
Hi!
As said. First I would try the update to the latest version before trying anything else.

Second and quite easy step is eAccelerator: eaccelerator.net/

It is speeding up this website too.
If you should have still problems after that please write again.
 
Logged Logged  
 
Best regards

Carsten Schmitz
LimeSurvey Project Leader
  The administrator has disabled public write access.
Go to top