I am developing a project that lately have been taking off with increased popularity.
This development is of course met with open arms and has also been somewhat expected. I have therefore taken every precaution I could about creating efficient and secure code. However, when it comes to server capacity I haven't had the financial means to create enough overhead.
I suspect my web site will start to show lacking performance sooner rather than later, and I need help to choose which way to go, and what to prioritize.
I have a few questions, and I would appreciate any input from your great pool of experience.
The site is currently based on PHP + MYSQL + jQuery. I've tried to keep in mind while coding it to make sure data traffic and server calls/database queries are kept strict and smart.
The big question first:
How do you go ahead scaling up site performance with your financial resources constantly limited?
I expect the site to bring revenue within short, making me able to invest more and more into developing a server park, perhaps localizing it to different regions and/or countries for faster access and better routing.
Are there people around with expertise in re-routing users to different servers, maybe round-robin-style put them on different servers to reduce load?
Is it worth dropping PHP + MySQL and going in some direction better able to handle the load?
Is it worth hiring someone specialized in web server security full time to handle and update the server park, maybe including backups etc.?
Is it worth hiring someone to go over code and make it more efficient?
These are just a few questions from the top of my head. Any tips on how to seamlessly migrate to bigger web server solutions are appreciated. Any pitfalls you guys have dropped into? Please discuss and enlighten me.