Accelerating PHP Applications |
|
2024-11-24 |
|
|
38 |
|
|
The surest way to accelerate sessions is by moving away from the files session handler to a memory based one.
Memory Session Handlers
- • tmpfs
- • mount the session directory as a RAM disk.
- • not available on all OSes
- • --with-mm
- • available with every PHP version.
- • not thread-safe
- • mmcache
- • very fast
- • work on virtually all OSes and is thread-safe
- • you need mmcache