High-process-count support added to master
lists.dragonflybsd.org
lists.dragonflybsd.org
Edit, to clarify, it just seems like an os with the capability to host a large number of user processes as here would really allow an order of magnitude reduction in hosting cost. Ie if a machine can host 1,000,000 paying accounts vs 10 vps/containered apps.
(and I agree, it'd actually be nice if cloud providers framed cost based on processes count not vCPUs. Heroku kind of does that with their concept of "dynos")
Historically it was hard to distribute software. You can't just copy over .elf files since these need dynamic libraries. Dependency hell is real, people invented .deb to solve many problems, but debs were always intended to be installed in global scope, making it hard to package user software.
Roll forward and nowadays with namespaces you can "containerize" also disk, which means shared libs. Docker images are a better delivery mechanism than raw elf files, or even debs. Hosting docker images is inherently cheaper than virtual machines. I think Heroku were first large service to realize that.
There are some ways of mitigating this, but the simplest one would be for the provider to run a VM for each container, then you get the security guarantees of regular VMs (though you still have to trust the provider to keep the OS up to date).
https://unix.stackexchange.com/questions/216618/what-do-the-...
I'm not sure what that link is supposed to show, can you be more clear?
Are you asking if that's what you've heard?
You can do exactly this easily on Azure and probably others too eventually
https://azure.microsoft.com/en-us/blog/announcing-azure-cont...
Azure Container Instances were only available for testing through their web shell last I checked a while ago.
SSH in, upload your executable (or compile it on the server, they have many compilers pre-installed) and run it. The OS is managed by them.
Isn't this essentially AWS lambda or shared hosting? The trade offs will of course be their limitations, max execution times, lack of flexibility, and vendor lock in.
I found that AWS was too expensive because of their bandwidth. Its cheaper to just get a dedicated server with 5-10x the capacity that I need.
Doing what you said requires developer time which is more expensive than hardware, which is probably why AWS is so expensive. Some day that price will probably come down but for now its probably cheaper to just throw hardware at the problem.
> do I have to futz about with admining, patching, and hardening the OS
I think this is a problem [partially] addressed by configuration management. For example download some pre-made ansible configuration for a lamp server, and change just the settings you care about. Or load up someone's docker image (you'd still need to do updates)
xeon126# uptime
1:42PM up 9 mins, 3 users, load averages: 890407.00, 549381.40, 254199.55
Seeing load averages of ~900,000 blows my mind.More impressive is that you can run "uptime" and it actually responds with an output in reasonable amount of time with said 6-digit load-average.
https://randomascii.wordpress.com/2017/07/09/24-core-cpu-and...
See http://gitweb.dragonflybsd.org/dragonfly.git/blob/586c43085f...
They are just four bits away from hitting a really big number.