Re: Sessions Vs DB Access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 Quick hack for those who think that the MM handler is not stable
is to use the standard handler and the directory where the session files
will be to be mounted as tmpfs (even /tmp). This will give almost of the
MM's speed
without worrying whether MM is stable or not.


Andrey

----- Original Message -----
From: "Mika Tuupola" <tuupola@appelsiini.net>
To: "Peter Beckman" <beckman@purplecow.com>
Cc: "Dave Smith" <DavidSmith@byu.net>; <php-db@lists.php.net>
Sent: Monday, November 25, 2002 11:30 AM
Subject: Re:  Sessions Vs DB Access


> On Sun, 24 Nov 2002, Peter Beckman wrote:
>
> > Don't forget that you can use the DB to store PHP Sessions as well,
which
> > is faster than storing the sessions in /tmp on the file system.  If you
> > have well written SQL, you can have 5-30 queries per page, most of which
> > should return the data in under 1/100 of a second.
>
> Well it depends. On Solaris /tmp/ is tmpfs which is memory
> based filesystem so it will essentially have speed of a
> ram disk.
>
> --
> Mika Tuupola                      http://www.appelsiini.net/~tuupola/
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux