FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


which host do u like put php&mysql?





obamacs
Okay, so here's a basic setup. Suppose you have a standard setup: PHP and MySQL. Suppose also that you have an arbitrary number of servers. One technique is to have the MySQL database on one server, then to have a gateway receiving the HTTP requests. The gateway passes the request on to a random HTTP server on the network (one of many, each identically configured except for local IP address) which will then decide what to do. If it can retrieve the page from a cache, it will do so and pass it back to the gateway to be served. Otherwise, it will have to process the page, a task which will either be performed directly, or passed to another dedicated PHP server.

You can cluster MySQL requests as well, but it's more complicated because you also have to synchronize UPDATE and INSERT queries. Google (and other high volume websites) uses its own ultra-optimized server setup.
Related topics
E-Cards with PHP & MySQL
HTTP AUTH with PHP and mySQL
Working with Excel, PHP & MySQL. Any Ideas
creating guestbooks (form) with php & mysql
A very good PHP MySQL Tutorial
Setup your own server with Apache, PHP and MySQL [Windows]
PHP & MySQL login??
PHP & MySQL auth system
For PHP & MySql newbies
PHP&MySql - Is there any server side caching of queries?
Help regarding Php & MySQL
php and mysql form
PHP-Fusion | An Open Source CMS | PHP & MySQL Based
PHP and Mysql version on web host to install new moodle
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.