View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14623Feature requestsOtherpublic2019-03-12 10:26
Reporterollehar Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary14623: Let PHP session write to RAM to increase performance
Description

This is more related to server configuration than LimeSurvey, but I think this is the best place to discuss it and experiment.

PHP by default writes sessions to the /tmp folder. This folder can be configured to be saved in RAM instead of HD. It would be interesting to test if there's a speed-up using this setting, and how much.

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2019-03-12 09:07

developer   ~50912

Last edited: 2019-03-12 09:08

But : it's a server issue not a limesurvey issue ? (usage of tmpfs)

Alternative : https://secure.php.net/manual/en/memcached.sessions.php

I think a cool solution can be a SQLite DB in tmpfs, never tested ;)

PS : session for LimeSurvey can be really big (sometimes more than 1Mb for public survey) : then with memory + X000 000 answers at same time : you broke memory …

ollehar

ollehar

2019-03-12 10:26

administrator   ~50914

Yeah, server issue, but very related to LimeSurvey. :) I thought maybe we could test some day, and then put the result in this ticket.

Also, yes, if you're out of memory it will start to use virtual memory = as slow as HD.

Issue History

Date Modified Username Field Change
2019-03-11 11:52 ollehar New Issue
2019-03-12 09:07 DenisChenu Note Added: 50912
2019-03-12 09:07 DenisChenu Note Edited: 50912
2019-03-12 09:08 DenisChenu Note Edited: 50912
2019-03-12 10:26 ollehar Note Added: 50914