Re: Session Performance questions
| From: | Hardik Doshi | Date: | Wed, 02 Jul 2003 21:19:10 +0000 |
| Subject: | Re: Session Performance questions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-153780@lists.php.net to get a copy of this message | ||
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 <saran@sim.com.tr> 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