Re: A no brainer...

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

 




On Oct 15, 2006, at 3:27 PM, Tony Di Croce wrote:

Wow... well, I was certainly not speaking from direct experience, only from what seemed to make sense to me. This tells me that their is some serious room for improvement in PHP de-serialization code...

Well, kinda. Hard disks are a lot slower than ram and that gives file storage a disadvantage. You can setup disk caching to help, but the OS still starts to lag when you have a lot of files in one directory, which is what happens with session data files. MySQL tries to cache data in memory as much as possible. It still uses files, but hopefully you don't hit them very often, especially when you're dealing with the same table records. Also, having raw data is always faster than having to process it before you can use it. Make sense?

-Ed

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux