On Jun 6, 12:41 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote:
> On 6/6/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > Anybody has any insight into the different type of session storage
> > (cake vs. php vs. database) when it comes to performance?
> > I would assume database is slower, but is it significant?
>
> Why are you worried about "session performance"?  It has been my
> experience with sessions that the performance issue is usually the
> amount of stuff you are stuffing in the session, and the mechanism for
> how you store it is secondary.  I worked on a project with 10+
> application servers talking to a central session server (custom
> session handler) and performance was directly related to the amount of
> stuff we put in the session.  Didn't matter what the back-end was (we
> did it with databases and with memcached).

Thanks for the info.
My assumption (unfounded apparently) was that accessing data in the
session
when stored in the database would require round trips to the database
which is slower than accessing the local disk.

Thanks again, I'll give database storage a try.

--
/David


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to