On Dec 12, 8:30 am, AJV <[email protected]> wrote:
> The project I'm working on is expected to get a good load of visitors,
> so I need to make sure I tune my cake to work as efficiently as
> possible. Are there any speed/reliability issues between php (native
> php sessions) and cake (filesystem) -types of sessions?

https://trac.cakephp.org/browser/branches/1.2.x.x/app/config/core.php#L89

assuming a stock php install the difference between php and cake
sessions is only where your session files get stored - that's it.

Database sessions logically add extra overhead since instead of (vast
simplification):
sessioninfo<read write to>a file

 you've got

 sessioninfo<read write to ><a database server which ~bottom line
points at->a file

If you're looking for performance boosts your best bet is to TEST
(profile) your app and see where it is slow/can be improved rather
than begin looking at something that is either irrelevant or at best
going to have a marginal impact.

hth

AD
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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