Live data from Hacker News

Show HN: I'm rewriting a web server written in Rust for speed and ease of use

ferron.sh

21–30 of 100 posts

Re: Show HN: I'm rewriting a web server written in Rust for speed and ease of use

#21

Earlier quoted context omitted.

This is kinda funny, but what is a better alternative for new projects on Linux?

Why not the usual package repositories and distribution by the official ones?

Most Linux distributions won't package an unknown project. Chicken and egg problem. You could create your own PPA but that is basically the same as sudo curl bash in terms of security.

Re: Show HN: I'm rewriting a web server written in Rust for speed and ease of use

#22

> Security is imperative > Install with sudo curl bash

This is kinda funny, but what is a better alternative for new projects on Linux?

it's a rust project which tries to claim the ability to build static binaries, you should be able to just download the server binary.

Re: Show HN: I'm rewriting a web server written in Rust for speed and ease of use

#24
post #16

There is something funny going on in the benchmarking section. If you look at the charts, they don't benchmark the same servers in 4 examples. Each of the 4 charts have data for Ferron and Caddy, but then include data for lighttpd, apache, nginx and traefik selectively for each chart, such that each chart has exactly four selected servers. That doesn't inspire confidence.

> That doesn't inspire confidence. The problems start even higher on the page in "The problem with popular web servers" section that doesn't inspire confidence either. From "nginx configs can become verbose" (because nginx is not "just" a web server [1]) to non-sequiturs like "Many popular web servers (including Apache and NGINX) are written in programming languages and use libraries that aren't designed for memory s…

its funny he mentions unsafe code in apache and nginx and then complains about openSSL bug (one thats more than 10 years old btw).

if this is a sense of the logic put into the application, no memory safe language will save it from the terrible bugs!

Re: Show HN: I'm rewriting a web server written in Rust for speed and ease of use

#27
post #25

Looking at the graphs, I would recommend it would have been better to market it as "just as performant as nginx and htproxy" instead of "faster than all ...". While highlighting the simplicity as the added benefit above those all.

But nginx has acquired a lot of features over the years, which has pros and maybe also cons.

Re: Show HN: I'm rewriting a web server written in Rust for speed and ease of use

#30
> Any feedback is welcome!

Read https://www.joelonsoftware.com/2006/12/09/simplicity/ and ask yourself if you are truly solving anyone's problem or if you are just looking for a way to rationalize the amount of time you are spending on a hobby.

Post reply on HN