Maybe looking at OnLAMP would be a good start!
In reply to Re: performance of LAMP-system by mirod in thread performance of LAMP-system by bjelli