In fact, a single five euro server can run: My personal website, Two multiplayer game servers for the games I built, frp for tunnelling; and I'm planning on squeezing more in until it gives up. All reverse-proxied by nginx under subdomains of my personal domain address, absolutely seamless. Similarly, other applications I built so far all also run under five euro VMs. There's no denying you might need more because yo…
> Similarly, other applications I built so far all also run under five euro VMs. There's no denying you might need more because you have serious peaks in traffic that you cannot handle with only one server, but do the accounting. A simple proportional-integral-derivative controller equipped onto your server resource can help you see if future traffic spikes are occurring. The question is, what kind of person is able…
Majority of web apps could just run on a single server
161–170 of 251 posts
Re: Majority of web apps could just run on a single server
#162Earlier quoted context omitted.
The problem with devops replacing the old title “sysadmin” was that the dev part dragged in the worst thing about developer culture: the love of complexity and the tendency to build massive towers of it. Sysadmins usually avoided complexity because their attitude toward it was more sensible: it’s expensive, fragile, and tends to actually multiply failure modes. I also blame cloud marketing. This stuff is a gigantic m…
If you guys don't see the value of being able to click on a button on a website to deploy, perfectly, everytime over some guy sshing into the box and running git pull I dunno what to tell you.
Re: Majority of web apps could just run on a single server
#163Earlier quoted context omitted.
Why use k8s over just a docker container?
Dont deploy docker in production. Podman. You could but why all the extra overhead?
Re: Majority of web apps could just run on a single server
#164Re: Majority of web apps could just run on a single server
#165A $5 VPS, with almost any app, can handle the front page of hacker news. If I remember correctly I'd even venture to say hacker news runs on a one or two core box. It should be the standard
Hacker News might not be the best example, as it seems to get overloaded once every week or two, usually when a contentious/high volume topic comes up.
Re: Majority of web apps could just run on a single server
#166Earlier quoted context omitted.
People arent missing the value, nobody is saying it wont perform as advertised -- the discussion is about the cost.
Setting up a testing & deploy via a CI script is basically free. AWS gives away CodeDeploy for free. Ansible is open source. I learned all this stuff working on open source stuff where platforms like GitHub give you free compute time.
Re: Majority of web apps could just run on a single server
#167At Standard Ebooks we serve a respectable number of page views and ebooks each month - and have been on the front page of HN three or four times - all of it done with a single 4GB VPS. And the only reason we upgraded to 4GB from 2GB is because we needed more RAM for the server to build the extremely large Decline and Fall of the Roman Empire ebook - if it weren't for that, our 2GB server would still have been just fi…
More applications should consider git as a content management database. It's great architecture. Statically serving files built by a CI process running on the server is very tidy. But let's be clear, your serving infrastructure is able to be that simple because you outsource donation management to https://fundraising.fracturedatlas.org , contribution management to https://github.com/standardebooks , collaboration, me…
(Moving away from GitHub towards a self-hosted Git solution, and away from Google Groups to a self-hosted mailing list, is actually on our long-term todo list[1]).
All those things don't mean one can't run one's web app on a single tiny server, like we do. I still argue that outsourcing the basic fundamentals of one's web app, like the OS, runtime, or database to some cloud service, or resorting to flavor-of-the-month frameworks or containers, or doing silly things like using Javascript to render one's entire frontend, often simply result in complexity, slowness, and bloat.
[1] https://github.com/standardebooks/web/blob/master/README.md#...
Re: Majority of web apps could just run on a single server
#168Earlier quoted context omitted.
More applications should consider git as a content management database. It's great architecture. Statically serving files built by a CI process running on the server is very tidy. But let's be clear, your serving infrastructure is able to be that simple because you outsource donation management to https://fundraising.fracturedatlas.org , contribution management to https://github.com/standardebooks , collaboration, me…
Sure, at some point you're going to be relying on some 3rd party somewhere. We use a VPS and not a bare-metal hand-installed rack, and we rely on an electrical company and not a hand-turned crank to power our servers. As far as email goes, It's simply not possible to self-host transactional email in 2024 if you want it to arrive in an inbox and not a permanent spam blackhole; this is a people problem and not a techni…
But my point is... those are all web applications too, and they don't have the option of outsourcing everything. Someone has to build a system that does more than just serve static files.
The claim that 'the majority of web applications can run on a single server' is kind of belied by the example of a site where not even the majority of sub-applications that are required to provide the full functionality of the system are running on a single server.
Re: Majority of web apps could just run on a single server
#169Earlier quoted context omitted.
Isn't that just because Kubernetes makes it unreasonably hard to configure access to logs like that?
It's really not that hard if you got proper users. But doing proper users on k8s is hard. I suspect they just run with admin credentials and no real way to generate users.
The main issue with this approach is that you can't organize those "users" into a groups. But for a small number of users you can just create all rolebindings and be done with it.
Re: Majority of web apps could just run on a single server
#170Earlier quoted context omitted.
Sure, at some point you're going to be relying on some 3rd party somewhere. We use a VPS and not a bare-metal hand-installed rack, and we rely on an electrical company and not a hand-turned crank to power our servers. As far as email goes, It's simply not possible to self-host transactional email in 2024 if you want it to arrive in an inbox and not a permanent spam blackhole; this is a people problem and not a techni…
Fully agree and endorse. But my point is... those are all web applications too , and they don't have the option of outsourcing everything. Someone has to build a system that does more than just serve static files. The claim that 'the majority of web applications can run on a single server' is kind of belied by the example of a site where not even the majority of sub-applications that are required to provide the full…