lkwebserver
Infrastructure
web server
SHOW HN2023
178points
116comments
#327of 3,109 in 2023
Top 11%of 2023 by points
How HN took it
CuriousMostly questions and neutral comments
1 positive, 12 neutral or asking, 1 mixed, 2 critical, out of 16 comments about the project. Thread score -0.06.
Performance: 0 for, 1 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Interesting small project, useful reference for minimal web servers
From 2 comments
Interesting. Would be good to get more info, beyond having to read the code. Curious to know how it compares to micro_httpd [1] which is about 200 lines of C. Or others like…
rahmeero on HNThank you so much for sharing this! This is exactly the type of web server I'm looking for my project.
forgotmypw17 on HN
Objections
select() has a 1024 file descriptor limit; poll or epoll is better
From 1 comment
Take care that select() is not good for a webserver. From manpage: ``` WARNING: select() can monitor only file descriptors numbers that are less than FD_SETSIZE (1024)—an…
amadvance on HN
Rust can match this performance more safely
From 1 comment
I hate to say it, old man, we have Rust today and we can do things as efficient and as performant as you while being safer overall. We have tokio to handle all the IO stuff, we…
stevefan1999 on HN
Requests
Benchmarks against other small web servers
From 1 comment
Interesting. Would be good to get more info, beyond having to read the code. Curious to know how it compares to micro_httpd [1] which is about 200 lines of C. Or others like…
rahmeero on HN
Questions
How does it compare to micro_httpd, thttpd and tiny_httpd
From 1 comment
Interesting. Would be good to get more info, beyond having to read the code. Curious to know how it compares to micro_httpd [1] which is about 200 lines of C. Or others like…
rahmeero on HN
Alternatives named
micro_httpd, thttpd, tiny_httpd
From 1 comment
Interesting. Would be good to get more info, beyond having to read the code. Curious to know how it compares to micro_httpd [1] which is about 200 lines of C. Or others like…
rahmeero on HN
httpdito
From 1 comment
if you like this, you might like httpdito http://canonical.org/~kragen/sw/dev3/httpdito-readme http://canonical.org/~kragen/sw/dev3/server.s it's a 2-kilobyte executable written…
kragen on HN
althttpd
From 1 comment
Here's also althttpd [0]. Heard Richard Hipp mention it and fossil in an interview. [0] https://sqlite.org/althttpd/doc/trunk/althttpd.md
sgloutnikov on HN
dufs
From 1 comment
I use dufs when I need a webserver for minor things, and reverse proxy to it through Caddy if things get serious enough to need an SSL certificate. https://github.com/sigoden/dufs
password4321 on HN