30 comments

  • 1010082 hours ago
    Great article from the technical aspect, but I also enjoyed the humour a lot. I chuckled with the GB joke, and including the Wolfram screenshot reminded me of the blogs from the ~2005 era, that allowed themselves to include this type of humor.<p>It was like in the 2000s, blogs wanted to share informatin but also be funny, something similar to a talk in a event? Later they only focused on SEO, so they optimized every word and paragraph, removing jokes, etc. I remember noticing this with the Digital Ocean docs, that ranked 1 for every tutorial in how to install stuff on servers.<p>Anyway, good times! I miss them.
  • LetMeLogin6 hours ago
    That was really nice read, finally an article that is easy to read, simple but super technical, and most importantly not written by AI.
  • pi-rat6 hours ago
    Really interesting and love the humor. Made me chuckle over morning coffee multiple times.<p>Finding something today that makes you go “i want to subscribe to more of this”, is rare.
    • Nux4 hours ago
      Yeah, liked the About Me page, too.
  • gonzus3 hours ago
    Came back to HN simply to say, what a fantastic article! Interesting, entertaining, it even had me laughing out loud at points. Great job!
  • Panzerschrek20 minutes ago
    The next step is to support proper encryption (sine in modern days raw HTTP is out of favor).
  • pomatic22 minutes ago
    This smells of someone with superficial knowledge vibe-coding. Smoltcp has such low concurrent connection limits by default there&#x27;s no way it would be used in any meaningful way to serve web content on the internet. Fine for its intended target, embedded devices, but as a general purpose web server - no chance.
  • athrowaway3z5 hours ago
    I suggest removing the &#x27;web&#x27; and just title it 15M servers on one VM.<p>Seeing &#x27;web&#x27;, together with its first few sections, made me initially think about http parsing&#x2F;switching and almost made me stop reading.
  • com7 hours ago
    It’s so easy to forget how much power we have in our systems and how it’s possible to strip abstractions away to get at that power.<p>Love the humour and simplicity!
  • kvirani6 hours ago
    It&#x27;s a breath of fresh air to read an article this well written. I learned, I laughed, I even relearned.
  • cowlevel3 hours ago
    Cutting through abstraction and getting to the heart of what you actually want the computer to do is evidently the key to high performance programming.<p>You can go much lower. The goal was set at &quot;15 million web servers&quot; which is dependent on the definition of &quot;a web server&quot; to include some implementation details. From the client perspective it actually means 15 million IP&#x2F;port combinations that respond to HTTP - which you can do all in one go with an appropriate wildcard selector (such as with iptables transparent proxy)
  • 3abiton5 hours ago
    &gt; The goal is to run 15 million web servers on one VM with 10GB of RAM and 1 CPU core.<p>The title is underselling the story. I thought the webserver would&#x27;ve been some extremely beefy server, but no. It&#x27;s 10GB of RAM. That&#x27;s a basic M4 mac mini territory (and even that one is much more beefier than OP&#x27;s server)
  • tempfile3 hours ago
    &gt; Ten Great Britains divided by 15 million gives around half of kilo britain.<p>I audibly exhaled from my nose, thank you.
  • magahugu5 hours ago
    I don&#x27;t understand the 3 axis graph with just 2 dimensions. Love the humor and technical depth!
    • ptejax4 hours ago
      One of the vertical axis is charted using a dotted line and other with a continuous line
  • peter_d_sherman3 hours ago
    An excellent <i>resource optimization article</i>, i.e., given a limited or deeply constrained amount of X, can I get a specific amount of Y, given that the traditional relationship between X and Y is constrained by some set of criteria previously thought to be fixed in nature -- well, let&#x27;s see if we can re-evaluate those criteria and somehow unconstrain it...<p>In this case, the constraint is &quot;one VM with 10GB of RAM and 1 CPU core&quot;, which would definitely be able to run a single web server fairly well, and probably could run tens of them fairly well, as well.<p>But, when we get up to hundreds of them simultaneously, thousands of them, tens of thousands of them, well, the associated resource constraint problems just seem to compound at every level...<p>But let&#x27;s not let that stop us, let&#x27;s &quot;go for broke&quot; -- and attempt <i>15 Million!</i><p>It&#x27;s an excellent thought and engineering exercise...<p>Anyway, the article is a great read. Worth reading by anyone into optimization of computing resources, and definitely worth re-reading in the future.<p>Related:<p>The C10K Problem (1999):<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;C10k_problem" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;C10k_problem</a><p><a href="https:&#x2F;&#x2F;www.kegel.com&#x2F;c10k.html" rel="nofollow">https:&#x2F;&#x2F;www.kegel.com&#x2F;c10k.html</a>
  • igleria1 hour ago
    One of the best reads I got from this site!
  • mrheosuper5 hours ago
    With the trend of moving everything to userland, maybe Linux finally become a microkernel.
    • bewo0013 hours ago
      with ebpf, I&#x27;d argue it&#x27;s getting closer to an exokernel (<a href="https:&#x2F;&#x2F;sites.cs.ucsb.edu&#x2F;~rich&#x2F;class&#x2F;cs270&#x2F;papers&#x2F;dawson-exokernel.pdf" rel="nofollow">https:&#x2F;&#x2F;sites.cs.ucsb.edu&#x2F;~rich&#x2F;class&#x2F;cs270&#x2F;papers&#x2F;dawson-ex...</a>)<p>micro kernel: a bit like microservices; eth process talks to ip process, ip process talks to tcp process, tcp process talks to web server; multiple IPCs per packet&#x2F;PDU, rather slow, single crashing process can still take out everything.<p>exo kernel: web server asks kernel to get packets matching some filter, kernel passes packets matching the filter to web server, web server uses a eth&#x2F;ip&#x2F;tcp library to process the packets;
      • cowlevel2 hours ago
        My favourite one-sentence explanation of an exokernel was from the explanation of a web server called Cheetah running on a kernel called XOK: to save time, the web server stores preformatted TCP packets on disk.<p>This one sentence is such a profound layering violation that it changes your perspective on the possible ways to write programs.
  • bmacho1 hour ago
    &gt; But hey, embarrassment is a cost of entry - let’s dive into networking in the kernel.<p>Putting uncomfortable and sad motivational speak into funny speak! You are not logically supposed to feel good when you fail, but your brain&#x27;s language parts make you feel good chemically! Great idea!
  • ac2u2 hours ago
    Hook articles like this directly to my veins
  • elendilm6 hours ago
    Wonderful article.<p>I was thinking for the last couple of days to have 10M+ app connections on one laptop as an extreme cost optimization excercise. Great timing.
  • edumucelli6 hours ago
    Loved it, technical, funny, easy to read. It has been a long time I have not seen only like this.
  • publlus_enigma3 hours ago
    This was not what I was expecting - in a good way. Well written, funny, and devoid of AI slop.
  • ZiiS6 hours ago
    Wait till he hears about the HOST header.
    • eptcyka2 hours ago
      A socket address is 6 or 18 bytes. A host header will often be longer.
    • ozozozd5 hours ago
      They mentioned it. Referred to it as “virtual hosting.”
  • helloKingBryan37 minutes ago
    [flagged]
  • yoy07211 hour ago
    [flagged]
  • MalgorzataKowal4 hours ago
    [flagged]
  • kburman3 hours ago
    [flagged]
  • shipitx4 hours ago
    [flagged]
  • Fivekoto4 hours ago
    [flagged]