Re: Why use sessions and not DB?
| From: | Michael Kimsal | Date: | Wed, 30 Aug 2000 14:17:30 +0000 |
| Subject: | Re: Why use sessions and not DB? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-14399@lists.php.net to get a copy of this message | ||
Mark Maggelet wrote:
> On Wed, 30 Aug 2000 09:53:12 +1000, Jason Murray
> (jason.murray@melbourneit.com.au) wrote:
>
> >> Agreed. Storing session info into database will let you scale
> >> to multiple front end machines much easier. If that's even a
> >> remote possibility, you'd want to store info in a db.
>
> Maybe, but the performance difference you'll see now will depend on
> your database or filesystem. I know Mysql isn't especially good at
> doing lots of inserts and updates, while a reiserFS is especially
> good with dealing with lots of small files.
>
> it just depends on too many things to say one thing is definitely
> better. If it were me though, I'd go with the filesystem because I've
> had too many hassles with a table locking up on me and bringing down
> my whole site.
>
I've not ever had that problem, but I see your point. The recommendation
does depend on your system setup.
>
> - Mark
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
==========================
Michael Kimsal
http://www.tapinternet.com
734-480-9961