[PHP] Session performance

2004-03-02 Thread Thiago Silva
Hello all, I was wondering... Why session data are stored on files rather than in on memory? People have been telling that acessing session data can be slow, and I need some kind of (fast) caching mechanism to store application data. After some search I found some php code that handles the session

[PHP] Session performance

2004-03-02 Thread Thiago Silva
Hello all, I was wondering... Why session data are stored on files rather than in on memory? People have been telling that acessing session data can be slow, and I need some kind of (fast) caching mechanism to store application data. After some search I found some php code that handles the session

[PHP] Session Performance questions

2003-07-02 Thread Sancar Saran
Hi, I'm working on a CMS like system. Its uses heavly SQL for page rendering. Yesterday I made a stress test. System stable for just 30 secs (for 60 request per sec, An Athlon750 with 320 mb ram). My investigation is Apache stalls when writing sessions. System uses sessions for store sniffed

Re: [PHP] Session Performance questions

2003-07-02 Thread Hardik Doshi
I think writing 2 to 3K data into the session is faster than writing to sql db. Your session files are mostly stored on the swap space of your server and swap space is faster to read than database files stored in the hard drive. Let me know if i am incorrect thanks Hardik Doshi --- Sancar

[PHP] Session, performance, timeout

2002-07-11 Thread Fredrik Nygren
I use PHP sessions for my sites. The session_set_save_handler() is set to Files. I would like to increase the gc_maxlifetime to get longer sessions. Today my sites generate about 1500-2000 simultaneous sessions. The number of sessions will probably grow if I increase the gc_maxlifetime. My