- Posts: 14222
- Thank you received: 2573
Ask the community, share ideas, and connect with other LimeSurvey users!
Big session is here since a lot of year then hard to remove (because a lot of functionality depend from this session).bruce78 wrote:
jelo wrote: Till LimeSurvey is mostly use in small surveys with not many concurrent probands the session misdesign will be last for a long time.
Sure, I can imagine that... I guess there are no plans to speed up the session design in version 3?
DenisChenu wrote: My /tmp/ and php/temp are already mounted on RAM : then use the default sqlite db : this is very longer for me ...
DenisChenu wrote: Using cache seems a good idea to do some part of session : but
1. all this part must be cut before with User dependant VS not user dependant (we must cache only 'not user dependant')
2. A good obsolete system for caching
More than 2 week of complete work just for Expression Manager StartSurvey, and surely a lot of bug after.
/tmpfs, yes.bruce78 wrote: I'm guessing your talking about using one of ramfs or tmpfs and mounting the directory in fstab?
DenisChenu wrote: But sorry : on this test server : on a hd, then seems sqlite is slower than files ?
DenisChenu wrote: Currently i use for this server, default config of debian7 : session.save_path /var/lib/php5/sessions
I have memcache enable, maybe i can test a memcache session
'session' => array ( 'save' => 'memcache', 'save_path' => 'tcp://<memcache ip or host>:<memcache port>' ),
php_value session.save_handler memcache php_value session.save_path tcp://127.0.0.1:11211?persistent=1&weight=1&timeout=1&retry_interval=15
DenisChenu wrote: Not really more speed, maybe the gap is not big due to session contruction and not session save/load system.
PS : looking at memcache log : save /load are really speed, but no real HTML construction improvment.
DenisChenu wrote: Hi,
Tested :
- newtest/Y on a long survey : still between 5 and 6 seconds for memcache an file (on MY server with MY config: i really think all server/config can be different)
- with this survey : click next/previous : less than 1 second for each : memcache seems slowest by 0.1/0.2 seconds , but can be something else at samùe time , my server do others thing