5 ms·
My dedicated server is overloaded because I'm running a number of medium/high traffic sites on it, not really much optimization I can do there. I definitely ne
by makeee 16y ago
My dedicated server is overloaded because I'm running a number of medium/high traffic sites on it, not really much optimization I can do there.
I definitely need to move the app to the cloud or its own server. In a few days the app could easily be getting 50 requests a second. It's fairly light, in that there is no database interaction (there will probably be a DB soon, but it will only be 1 or 2 simple queries per page load). It's really just a simple html page and a JS file which I'll be moving to S3.
- cperciva 16y agoIf your server is currently overloaded for reasons entirely independent of this app, just move it to a new dedicated server. 50 requests per second is not a huge amount of traffic for a dedicated server, so I don't really see where the problem is.
- sync 16y agoIf it's just HTML + JS, you can host them both on S3.
- mechanical_fish 16y agoPresumably the HTML page needs to be generated by some code that talks to the Facebook API. Perhaps the code is also making a bunch of Facebook API calls that are slow to return. That might explain why it doesn't perform well even though it isn't talking to a local database.
- makeee 16y agoYeah I do need to execute some PHP. I'm giving rackspace cloud a try and then may move it to ec2 or a dedicated server if traffic slows down.