3 ms·
Linux servers running Go apps? Would be nice to see server cost and specs, backup strategy, etc.
by seethishat 1y ago
Linux servers running Go apps? Would be nice to see server cost and specs, backup strategy, etc.
- wltr 1y agoBackup strategy? What do you mean by that?
- seethishat 1y agoServers go down. What is the plan to get them "backup" and running ;)
- fabian2k 1y agoThey probably don't need one for the application servers. And they probably already have a backup strategy for their DBs.
- stackskipton 1y agoMost server outages are caused by hardware failures which EC2 MOSTLY abstracts from you. Also, if it's just Golang, point Ansible or whatever deploys at new server and trigger a deploy.
- wltr 1y agoBut is this not needed with the so-called cloud systems?
- hunterpayne 1y agoOnly if that system is stateless. If you have any sort of internal memory that sticks around between requests, then either you face a cold start problem (because of empty caches) or you somehow need to persist that state somewhere. And persisting that state either means you need a backup solution or your latency is terrible because you are hitting network for something that only needs to hit RAM.
- illuminator83 1y agoI'm assuming "High Availability" is what is really meant here.
- gethly 1y agoWhat do you find so peculiar about it? A lot of people are running Go apps on VPSs.
- ape4 1y agoNext article - why we switched from our own servers to serverless for reliability. A small performance hit was worth it.
- sgarland 1y agoTFA states that they’re running on AWS Fargate. That said, as an example, an m8g.8xlarge gives you 32 vCPU / 128 GiB RAM for about $1000/month in us-east-1 for current on-demand pricing, and that drops to just under $700 if you can do a 1-year RI. I’m guessing this application isn’t super memory-heavy, so you could save even more by switching to the c-family: same vCPU, half the RAM. Stick two of those behind a load balancer, and you have more compute than a lot of places actually need. Or, if you have anything resembling PMF, spend $10K or so on a few used servers and put them into some good colo providers. They’ll do hardware replacement for you (for a fee).
- tpetry 1y agoThey just use two servers and configure a loadbalancer within Cloudflare. Come on. Self-Hosting is no rocket science. You don‘t have to make it seem complicated. People have been doing this decades before AWS invented serverless.
- kordlessagain 1y agoYet, idiots remain.