I built the fastest PHP webserver in the world

(qbixserver.com)

21 points | by EGreg 1 day ago

4 comments

  • BatchJob 13 minutes ago
    You can see the slop through the headline. No need to click. Posts like this are turning the internet into a trash pile. Nobody needs this slop, abandonware.

    Heres the template:

    "I" <--- prompted some LLM

    "built" <--- to generate code for a

    "fastest" <-- insert specious claim here

    "PHP server" <-- thing

    "And I prompted the LLM to build a website" <---- link

    Im sorry folks but this just doesnt cut it anymore. I dont think it ever did.

    • bliteben 9 minutes ago
      I feel like HN has had posts like this for 15 years. This one is just an opportunity to discuss where php falls with llms in the mix.
    • ceejayoz 9 minutes ago
      I saw someone promote their new simple framework today. It was all TODOs.
  • etchalon 9 minutes ago
    I haven't used PHP as a daily workhorse in a decade, so I guess I don't understand why I would want a web server in pure PHP? Nginx exists.
  • LoganDark 27 minutes ago
    You don't need your database on a dedicated server. Not sure why the comparison table claims "$30 + DB server" when your web server is a perfectly good server already.
    • iinnPP 22 minutes ago
      Presumably to remove it from the need to calculate. Everyone is using a different approach and one DB may require a lot more than the 30$ server can provide.

      Now everyone can understand the math.

  • mpalmer 37 minutes ago
    I'm confused why the copy you generated repeatedly boasts "no nginx, no Redis" as if those things don't exist independently of application servers for a reason, and as if building something that doesn't need these things (when deployed as a single instance) is particularly notable.

    "no Docker" - so what? Docker is a tool. Running containers on Linux has extremely low overhead. No idea what this is about.

    You didn't spend the effort to decorate the slop with your rationale for these choices, so I see no evidence that you built any of this.

    • tobz1000 30 minutes ago
      One of the biggest shortcomings I often see with LLM-produced content, following a planning conversation, is that they misunderstand the breadth of the domain for which a detail is relevant or interesting.

      So if it fixes a bug where function was accidentally deleting a file, it will update the function's documentation with "does not delete any important files", as if that's a key feature and not just one of a million things it should not do.

      The same pattern repeats when an LLM is left to generate its own copy after a brainstorming and architecting session. It has no concept of what's important to the end-user.

      • ramon156 25 minutes ago
        The only LLM that does this wel (in my opinion) is gemini. if i ask claude to fix comments, it very clearly fails in doing so. Gemini actually seems to understand the scope of a task
        • iinnPP 16 minutes ago
          In the specific context though, it is relevant. So the aside is more closely related to the behavior being outlined.
    • bel8 26 minutes ago
      In the context of PHP it is notable to be able to run a production grade web server without nginx/apache/docker in front of it.

      PHP doesn't have a production grade built-in server like .NET's Kestrel.

    • vachina 17 minutes ago
      PHP is stable enough to not need Docker.

      As in there’s very little ways to fuck up a PHP setup.

      You just turn it on and it runs.