Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
EGreg
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
EGreg
6d ago
Alright, so version 1.3 has a much shorter README: https://github.com/Qbix/webserver What do you think?
2.
▲
by
EGreg
6d ago
Yep, you got it. The big difference is the memory savings, not as much the saving milliseconds per request, although that might be useful too if it takes 40-50ms to bootstrap and load configs every time.
3.
▲
by
EGreg
6d ago
Wrong on both points. Yes, there are clearly breakthroughs since it can handle 100x more users at the same time than PHP-FPM, also it handles everything else including websockets, etc. Furthermore, it's not just me associating LLMs w
4.
▲
by
EGreg
6d ago
I literally wrote them on an iPhone myself. So I now suspect your entire LLM-dar lol
5.
▲
by
EGreg
6d ago
If I was unwilling to defend it, why did I sit for 30 mins on an iPhone and personally type all the substantive replies to toplevel comments in this thread?
6.
▲
by
EGreg
6d ago
Whether the opcache is enabled or not, the vast majority of production PHP code is I/O bound - workers wait for the network or filesystem or database. Roadrunner, FrankenPHP and Swoole try to make it evented like Node, but require you
7.
▲
by
EGreg
6d ago
I honestly consider it lazy pattern-matching commenting slop if people don’t look at the actual software being described, don’t run it, don’t even open the sections of the webpage that describe how it works. I understand why… people are inu
8.
▲
by
EGreg
6d ago
Most PHP requires additional webservers, such as nginx, and process managers like php-fpm, to even serve websites. This is an all-in one server. It even handles websockets with socket.io 5 compatibility! Yes, without it, people would additi
9.
▲
by
EGreg
6d ago
The grandfather comment is pants-on-fire wrong. “No need to click” while they opine on something you’ve never seen. As far as the landing page — there are truly many features that this webserver enables. That’s why the website lists 9 categ
10.
▲
by
EGreg
6d ago
And this one has a working webserver you can run in one command, a graphical user interface and real-time dashboard, tests to prove the claims, and example apps to make it easy to start. Not to mention that you can run your existing PHP app
11.
▲
by
EGreg
6d ago
I think what’s happening is: I spend months iterating and building software, that makes some major breakthroughs over existing software. I am able to do this by using LLMs in my toolchain, as well as automated testing suites, and compilers.
12.
▲
by
EGreg
6d ago
The goal is to optimize everything other than the database. The vast majority of PHP apps are I/O bound and this webserver lets you handle 100x as many users as php-fpm. That’s the point. Your code can remain the same and keep using wh
13.
▲
by
EGreg
6d ago
Indeed. And funny enough, by writing it in PHP, I was able to make it spawn 100x as many workers on the same machine, and thus serve more 100x more users from one machine. On a 4GB machine it can handle 40,000 simultaneous users, and not ju
14.
▲
by
EGreg
6d ago
Yes, I actually iterated a lot on that README and personally directed the LLM to produce every section in there, as an artifact. Normally it would produce a much shorter README, and I should probably have split it up. That is exactly what I
15.
▲
by
EGreg
6d ago
I use LLMs in my toolchain, same as I also use compilers. In fact, I use the LLMs to generate end-to-end test suites, and the test running is automated as well.
16.
▲
by
EGreg
6d ago
Oh, it is far more useful than some “psychosis”, this is real, and battle-tested. Have you tried to download and run it yourself? It comes with its own tests and even several example apps out of the box. These examples include support for
17.
▲
by
EGreg
6d ago
It’s not about a benchmark. PHP-FPM executes your .php file from the beginning every time, so it does require(…) all the classes etc. and then proceeds to load the configuration from files etc. A good framework can maybe cache some of this
18.
▲
by
EGreg
6d ago
Glassfish was Java not PHP, and it was also using AOT (ahead-of-time) loading of bytecode, similar to what this does for PHP classes. The tests here were also done on one core. Although I am skeptical that PHP after so many years, on much f
19.
▲
by
EGreg
6d ago
Actually, there is a “fork” mode that outperforms php-fpm by about 100x. That is, it allows the webserver to spawn 100x more processes on the same machine (tested) on Linux and Mac. The trick is that the pcntl_fork() is done after loading
20.
▲
by
EGreg
8d ago
Yeah, where does this come from? Who keeps defending this, has it been challenged? About 213 million people live in this zone, so 2/3 of people in the USA. So I guess the 4th amendment doesn't actually apply to most US citizens?
21.
▲
by
EGreg
8d ago
Yes, C11 But in terms of security and reliability, U's linter and compiler enforces that.
22.
▲
I built the fastest PHP webserver in the world
(qbixserver.com)
3 points
by
EGreg
8d ago
|
0 comments
23.
▲
SHOW HN: I built the fastest PHP webserver in the world
6 points
by
EGreg
8d ago
|
1 comments
24.
▲
This new web server lets existing PHP apps serve >10x more users than all others
(qbixserver.com)
1 points
by
EGreg
9d ago
|
0 comments
25.
▲
by
EGreg
9d ago
I don't know. But I just released a language called U, and I was surprised to see this one. https://ulanguage.org
26.
▲
by
EGreg
9d ago
Trump is playing 5D chess! The Iran war, the feuds, all of it... He wanted the world to unite like this, and for green energy to displace fossil fuels quicker! One day he, not AOC or Bernie, will go down in history as the President who did
27.
▲
by
EGreg
10d ago
No one was talking about football. We're talking about replacing most uses of Agents with uses of Workflows. That's the key first step, without which the industry will cry "don't regulate us... do you want China to WIN??
28.
▲
by
EGreg
10d ago
Win what? The race to the bottom always has this competitive language. “If we ban CFCs now the Chinese will win!” “If we ban chemical weapons, nuclear weapons, etc etc our enemies will triumph! They won’t stop!” “If we switch to biodegradea
29.
▲
by
EGreg
11d ago
If you execute a ponzi scheme with thousands of degens — but it’s magic crypto tokens When you perpetrate a huge hacking job with thousands of attackers — but it’s magic agent swarms
30.
▲
by
EGreg
12d ago
How do they prevent sybil attacks and bots then?
More ›