Live data from Hacker News

Ask HN: How do you make sure your servers are up as a single founder?

news.ycombinator.com

61–70 of 233 posts

Re: Ask HN: How do you make sure your servers are up as a single founder?

#61
post #22

Earlier quoted context omitted.

Glib answer: Don't work alone! There's two ways to think about this: 1 - Your product might actually be too complex for a single-person business. You could rotate being on call for situations like this. This means that you'd have to make sure that sales are big enough to support an additional parter or two. 2 - Perhaps you need to simplify your product? Think more critically about error handling? I don't know the det…

My point was less about the specific issue I hit and more that 1) external circumstances that a restart won't resolve can cause failures, because 2) we're human and no matter how hard we try, even with a large team, things do slip through. The difference with having a large team is less that all possible failure cases will get protected against (although more eyes and code review does help), but more that someone can…

> In my particular case, the majority of the system kept running fine. The part that failed was a streaming system which receives updates in realtime from an external system.

Is your product too complicated for a single-person business?

As a solo programmer, I can write and develop extremely complicated systems. These systems can be so complicated that I don't have time to run them, find customers, support customers, ect.

That, ultimately, is why I don't see myself running a single-person business anytime soon. I really enjoy complicated programming, and if I have to also handle ops, support, sales, ect, then what I program needs to be too simple to remain interesting.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#62

I 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 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?

#63
post #62

Earlier 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.

I know about the Unicode hack - where you could basically encode DOS commands in the url window and it would run on the server. We got lucky. It renamed all pages using the default names. We didn’t have any.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#64
post #20

Earlier quoted context omitted.

Restarting the service and redeploying it should be absolutely the last resort and aren't really sound advice, mainly, because you are losing the invaluable crashed state of the system, that may be vital (sometimes logs are not enough) to discover _why_ the system crashed in the first place and then delivering a fix for that particular issue. Once that's done, you incorporate this into your infrastructure automation…

Restarting the service and redeploying it should be absolutely the last resort and aren't really sound advice, mainly, because you are losing the invaluable crashed I’m speaking in terms of AWS translate to your chosen infrastructure. At the bare minimum you should have two redundant servers behind an autoscaling group with a min/max of two with health checks. When you need to get something up now and you want to kee…

[deleted]

Re: Ask HN: How do you make sure your servers are up as a single founder?

#65

I 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?).

BizSpark is not still a thing. The replacement program, Microsoft for Startups, requires being associated with a partnered "startup-enabling organization."

Re: Ask HN: How do you make sure your servers are up as a single founder?

#66

Earlier quoted context omitted.

Restarting the service and redeploying it should be absolutely the last resort and aren't really sound advice, mainly, because you are losing the invaluable crashed I’m speaking in terms of AWS translate to your chosen infrastructure. At the bare minimum you should have two redundant servers behind an autoscaling group with a min/max of two with health checks. When you need to get something up now and you want to kee…

[deleted]

If you’re a solo developer, why would you have something as complicated as k8s? I’m referring to dead simple VMs.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#67

I 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?).

Not much. Maybe a few grand every few years when the hardware needs upgrading. Not really enough to notice in the big picture.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#69
post #18

The only way to achieve high availability is to have redundancy of all things. Random things will go wrong that you can't predict. Boxes will die suddenly and without reason, even after months of working fine without changes, and always at the worst possible moment. Your system needs to be built to withstand that. I'll take the opposite approach of everyone here and recommend against serverless, kubernetes, and Herok…

The only way to achieve high availability is to have redundancy of all things.

It depends on your availability requirements, for me, it's more important and simpler to be able to deploy again(with data) under hour than dealing with HA.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#70

I 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?).

A standard sized Azure App Service runs about a $75 a month. That will let you host about as many ASP.NET sites on it as you want - and there's no VM that you have to manage. Scaling up or out is pretty painless if you need to

A SQL database on Azure runs about $5-$15 a month, depending on how you configure it.

Once you throw in SSL certs and DNS management, you're probably looking at about $100 a month.

Post reply on HN