The difference between the two probably works out to less than 10
milliseconds on most servers, from a quick study that I ran on some HP
servers that were brand new last summer, with the faster times using the
filesystem.  Course, the flexibility gained in managing the database version
caused us to ask, would any of our users notice a 10 millisecond difference
in response?  Answer was; only the paranoid would notice the difference ;-).
Course our user population was relatively small (100 - 500 concurrently
signed on).

Warren Vail


-----Original Message-----
From: Chris Thomas [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 25, 2004 3:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] $_SESSION vs Database Call


Just wondering, what is faster / more effecient,  storing a value in the
session variable which gets stored on the filesystem (from what i
understand) or database calls to re-get the information?

Chris

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

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

Reply via email to