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 Saran <[EMAIL PROTECTED]> wrote:
> 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 browser 
> information.
> 
> Which is faster, writing 2 or 3 k data into session
> or sql db (after 
> serializing)
> 
> Thanks.
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to