RE: [PHP] Performance question

From: Date: Mon, 23 Jun 2003 17:41:04 +0000
Subject: RE: [PHP] Performance question
Groups: php.general 
Request: Send a blank email to php-general+get-152512@lists.php.net to get a copy of this message
It depends on your HW / Application / number of visitors. If you are planning to have many visitors and plan this number to constantly grow than you should avoid going to the DB as much as possible. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -----Original Message----- From: Hardik Doshi [mailto:php_hardik@yahoo.com] Sent: Monday, June 23, 2003 5:10 PM To: php-general@lists.php.net Subject: [PHP] Performance question Hi Group, I have a question regarding retrieving the information. I have the functionlity in which on every user click, system needs to retrieve information for particular user and display the page according to the retrieved information. Now question is which is the scalable solution? (1) Retrieve information from the database on each user click. (2) Retrieve information from the session (here information is retrieved once and stored in the session file on the server, when user logs into the system) Please let me know Thanks Hardik __________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#152512) next »