Ask HN: How do you make sure your servers are up as a single founder?
91–100 of 233 posts
Re: Ask HN: How do you make sure your servers are up as a single founder?
#92Earlier quoted context omitted.
I agree. I’ve spent close to 20 years hosting on IIS and have never had downtown attributable to it - especially since the app pool will recycle. Most of the issues I’ve seen were caused by people who didn’t know how to use EF correctly or badly tuned databases/queries. Even now, the only “Linux deployments” I do are either with Lambda or Fargate (Serverless Docker). I just don’t like managing servers. These days eve…
Code Red was 18 years ago, Blaster 16, Witty worm 15. All ate ISS servers for breakfast in highly automated fashion. 20 years of IIS with no downtown indeed.
Re: Ask HN: How do you make sure your servers are up as a single founder?
#93Re: Ask HN: How do you make sure your servers are up as a single founder?
#94I build my stuff on top of a stack that hardly ever goes down. All my SaaS products run on a Windows server, with SQL Server as a database and ASP.NET on IIS running the public sites. You can probably come up with a lot of uncharitable things to say about those technologies, but "flimsy" and "fragile" likely aren't in the list. As a result, when things go seriously wrong, the application pool will recycle itself and…
I’m curious, how much did you have to pay for your licenses? If you are a single founder with a new startup, it seems like you’d need a bunch of money to be able to use Microsoft in production, unless you can use something like BizSpark (if that’s still a thing?).
Re: Ask HN: How do you make sure your servers are up as a single founder?
#95I build my stuff on top of a stack that hardly ever goes down. All my SaaS products run on a Windows server, with SQL Server as a database and ASP.NET on IIS running the public sites. You can probably come up with a lot of uncharitable things to say about those technologies, but "flimsy" and "fragile" likely aren't in the list. As a result, when things go seriously wrong, the application pool will recycle itself and…
I’m curious, how much did you have to pay for your licenses? If you are a single founder with a new startup, it seems like you’d need a bunch of money to be able to use Microsoft in production, unless you can use something like BizSpark (if that’s still a thing?).
Re: Ask HN: How do you make sure your servers are up as a single founder?
#96Funny enough I was just talking to someone who passed all his AWS certifications and was looking for some AWS work.
Re: Ask HN: How do you make sure your servers are up as a single founder?
#97Your main concern is of course limited time/resources, so you'll have to make compromises. The question is not whether your system will fail, the question is when. Have proper monitoring and alerting in place. But don't over engineer it, sometimes everything seems technically fine, but your support inbox will start getting user complaints. Resolve the issue, figure out the root cause, make sure this or similar stuff…
Re: Ask HN: How do you make sure your servers are up as a single founder?
#98Back when I was working on everything myself, I deployed everything through AWS Lambda and API Gateway, with all my static assets on S3 and CloudFront. I had exactly zero infrastructure issues over the course of two years and never dealt with security patches, SSH'ing, etc. If I were doing billions of requests, it may not have been the most cost effective, but it helped me scale without worrying about typical devops…
How do you keep things fast? Lambda functions can have cold starts that introduce latency. How do you manage that? (From my small amount of experience - please prove me wrong.)
That still sucks, so then you can (hopefully) cache some things so that _some_ data begins to stream in. Or you can make it so your very high priority stuff has minimal dependencies - you can get a Lambda cold start in But still, in my experience, cold starts are a thing. If you have a high-traffic app or use Lambda warming, you decrease the # of people who experience a cold start, but at the end of the day, your p99 is going to be worse than a vanilla VM solution, because _some_ people will get cold starts. For some apps, that's OK - think line of business app where the first few pages can be served from static materials or cached materials, and you trigger the requests in the background.
Re: Ask HN: How do you make sure your servers are up as a single founder?
#99This approach is easy to implement and scale
Re: Ask HN: How do you make sure your servers are up as a single founder?
#100Back when I was working on everything myself, I deployed everything through AWS Lambda and API Gateway, with all my static assets on S3 and CloudFront. I had exactly zero infrastructure issues over the course of two years and never dealt with security patches, SSH'ing, etc. If I were doing billions of requests, it may not have been the most cost effective, but it helped me scale without worrying about typical devops…
How do you keep things fast? Lambda functions can have cold starts that introduce latency. How do you manage that? (From my small amount of experience - please prove me wrong.)
But then again, I did already know the other fiddly bits of AWS.