We are in the startup build phase of a new PHP webapp that will be placed onto a cloud server to allow fast and easy up/downscaling when customers will grow or decrease in numbers. Most probably, we will use a PHP framework (Codeigniter) to keep development speed high.
Our next step is to implement features for increased performance (cacheing etc) and choosing which databases to use.
Solutions like memcached and eaccelerator is of course what comes up into our minds at first, but are there even better solutions available out there today?
Is mySQL really yesterdays choice when high performance is in focus?
So, please – share your ideas and thoughts on how to create the basic cornerstones for a high performance webapp!
Thanks!
Two things you should know:
So basically don’t worry about this “problem” until you have a problem.
Also cloud servers are good for burst usage but the data fees tend to make them a bad choice for constant usage. The typical progression is:
As for what tools to use, well that depends entirely on your app. MySQL is a fine choice for most circumstances. An opcode cache like APC or eAccelerator is typically a good idea. Memcache can be useful for certain kinds of applications.