View Issue Details

This bug affects 1 person(s).
 0
IDProjectCategoryView StatusLast Update
07988Feature requestsSurvey takingpublic2021-11-02 12:26
ReporterDenisChenu Assigned Togalads  
PrioritynormalSeverityfeature 
Status acknowledgedResolutionopen 
Summary07988: Caching all part made before survey started for public survey
Description

If 100 user access to same survey in 20 second : we do a lot of job 100 times. With real caching : we don't have to do 100 times but only one times.

Additional Information

Use caching in Yii :
http://www.yiiframework.com/doc/guide/1.1/en/caching.overview

Then :

  • have different id for each survey

  • Cache all $SESSION['survey'.$surveyid] except for random part, especially : grouplist, fieldarray, insertarray, thistoken.

  • Use a lot of cache in the buildsurveysession (and|or) createFieldMap (without token/IP/refurl/startdate: clean up) :because think it's one to do. Maybe in EM:StartSurvey too.

User can activate/use or not cache in his config.

Tagscache, memory, random
Bug heat0
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-07-09 16:36 DenisChenu New Issue
2013-07-09 16:36 DenisChenu Severity @50@ => feature
2013-07-09 16:36 DenisChenu Tag Attached: random
2013-07-09 16:37 DenisChenu Tag Attached: cache
2013-07-09 16:37 DenisChenu Tag Attached: memory
2021-11-02 12:26 galads Assigned To => galads
2021-11-02 12:26 galads Status new => acknowledged