1) We are deploying a SAAS that needs a near 100% uptime since customers will be connecting to our server every minute. 2) We need a Mysql db and a php environment. 3) To keep our costs down initially (before we truly scale), what would a good server architecture be for us? 4) Would a PAAS be a good option? Or should we go for 2 dedicated servers with load balancing? Since we want to keep our costs down initially (bootstrapped!), we don't want to hire a "network engineer"... At least not until our service hits a certain benchmark. So any advice would be welcome... Thanks in advance.

PaaS is probably your best bet if you want to avoid hiring someone to manage things. Even managing two servers can eat up huge portions of your time — especially if these are new waters for you.

PHP/MySQL put you at a little bit of a risk, performance-wise, so be sure to keep an eye on resource usage.

In my current role, I'm putting WordPress sites up against thousands of concurrent users, so while the exact usage probably isn't the same, the tech stack is similar.

I'd probably do something like this (pretty much what I use): a Rackspace setup that can automatically scale when traffic spikes, with New Relic to keep an eye on performance and leaks in the app itself, and probably nginx/Varnish to try and keep the load off the servers in the first place (assuming any part of your app is cacheable).

A stack like that is not cheap compared to free, but it's cheap compared to a full-time ops engineer or spending a Friday/Saturday night trying to self-diagnose bottlenecks.

Good luck!

Answered 6 years ago

Unlock Startups Unlimited

Access 20,000+ Startup Experts, 650+ masterclass videos, 1,000+ in-depth guides, and all the software tools you need to launch and grow quickly.

Already a member? Sign in

Copyright © 2021 LLC. All rights reserved.