Cool idea, but I don't think you should focus on static files. People rarely spin up a server for that these days.
Zeroserve: A zero-config web server you can script with eBPF
21–30 of 69 posts
Re: Zeroserve: A zero-config web server you can script with eBPF
#22I love seeing stuff like this that would probably not exist if not for LLMs making exploring these kinds of ideas relatively cheap and quick to do. My takeaway from this though is that nginx is pretty impressive on its own. Also this stuck out: It's meant to be an alternative to nginx and Caddy, and the design bet is about configuration. Those servers give you a declarative config language - location blocks, rewrite…
Re: Zeroserve: A zero-config web server you can script with eBPF
#23Edit: it seems I'm just falling behind and the new hotness is https://www.http-arena.com/leaderboard/. Good luck!
Re: Zeroserve: A zero-config web server you can script with eBPF
#24Cool idea, but I don't think you should focus on static files. People rarely spin up a server for that these days.
Re: Zeroserve: A zero-config web server you can script with eBPF
#25Earlier quoted context omitted.
Given the benchmarks: Small static file (174 B) - the bread and butter of static sites: server req/s p99 zeroserve 36,681 5.4 ms nginx 31,226 7.8 ms Caddy 12,830 22 ms zeroserve serves small files about 17% faster than nginx on a single core, with a tighter tail. HTML pages, small JSON, CSS - this is the case zeroserve is tuned for. Large static file (100 KB): server req/s throughput p99 zeroserve 8,000 782 MB/s 22 m…
The problem with pasting LLM output is that no human with sound mind and body would waste their finite time on this Earth informing you that small static files are "the bread and butter of static sites".
I could totally see "Small static files are the bread and butter of static sites" appearing in some pointless deck on a Zoom call.
Re: Zeroserve: A zero-config web server you can script with eBPF
#26Cool idea, but I don't think you should focus on static files. People rarely spin up a server for that these days.
I did last week (converted ghost to static) and was half wondering if some self contained binary wouldn't be faster so I feel like this was made for me, but I accept I'm not the typical user
If this piques your interest, make sure to check out the portable C library used to create it, which is also fascinating:
Re: Zeroserve: A zero-config web server you can script with eBPF
#27Re: Zeroserve: A zero-config web server you can script with eBPF
#28Cool idea, but I don't think you should focus on static files. People rarely spin up a server for that these days.
I did last week (converted ghost to static) and was half wondering if some self contained binary wouldn't be faster so I feel like this was made for me, but I accept I'm not the typical user
Re: Zeroserve: A zero-config web server you can script with eBPF
#29Cool idea, but I don't think you should focus on static files. People rarely spin up a server for that these days.
Depends on the domain. There's a bunch of sciences using large datasets served up efficiently using static file formats, e.g., https://zarr.dev/ and https://parquet.apache.org/