Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dorianniemiec
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
dorianniemiec
1y ago
When installed for example with the installer script, Ferron would run on a specialized user for running the web server. Ferron itself would also have "CAP_NET_BIND_SERVICE" capability set on its binary, so that it doesn't ha
32.
▲
by
dorianniemiec
1y ago
Yeah, it can be risky if Ferron servers get somehow compromised... The best bet would be using official distro repositories... But for now, I'm providing the .deb packages, so that people can easily install Ferron on Debian and alike.
33.
▲
by
dorianniemiec
1y ago
Well, you're probably talking about the automatic TLS demo. People installing Ferron on their servers don't have to use this demo!
34.
▲
Show HN: I'm rewriting a web server written in Rust for speed and ease of use
(ferron.sh)
68 points
by
dorianniemiec
1y ago
|
92 comments
35.
▲
by
dorianniemiec
1y ago
Yeah, examples of such sites can be useful to see what's going on.
36.
▲
The Grand Digital Paradox: Why Indian Government Websites Feel Stuck in Time
(ayushchugh.com)
1 points
by
dorianniemiec
1y ago
|
2 comments
37.
▲
by
dorianniemiec
1y ago
The idea seems good - this can make Markdown in the comment editor more readable! But when I tried your Chrome extension, I found a problem - the comment box became light mode, when GitHub is in dark mode... I have opened a GitHub issue abo
38.
▲
by
dorianniemiec
1y ago
Interesting, especially the "Build for Yourself" section! Building software for yourself can help you solve a problem you have. If you're also using the software yourself, you can fix bugs in the software. I found some bugs i
39.
▲
FeOx Server – High-Performance, Drop-In Replacement for Redis
(github.com)
2 points
by
dorianniemiec
1y ago
|
1 comments
40.
▲
by
dorianniemiec
1y ago
I found this project when browsing X, and I think it has some potential, as it's a high-performance drop-in replacement for Redis. Could be useful for some real-time web apps.
41.
▲
Ferron 1.0.0: a new era for web servers
(ferronweb.org)
6 points
by
dorianniemiec
2y ago
|
1 comments
42.
▲
by
dorianniemiec
2y ago
First, thank you everyone for the support you have shown for a web server that I am building, when I submitted its beta version! I have now released the stable version of my web server, that can be used in production environments.
43.
▲
by
dorianniemiec
2y ago
The problem is that you will have more moving parts - a web server, and an additional reverse proxy (which can add overhead). Also, Ferron can also be configured as a reverse proxy.
44.
▲
by
dorianniemiec
2y ago
Thank you!
45.
▲
by
dorianniemiec
2y ago
You went to the documentation page while I was uploading the website files after I updated the website. You can now refresh the documentation page.
46.
▲
by
dorianniemiec
2y ago
Regarding the server performance, there are benchmark results on the Ferron's website.
47.
▲
by
dorianniemiec
2y ago
How? I rather think that it uses a borrow checker with ownership and borrowing rules.
48.
▲
by
dorianniemiec
2y ago
Go has larger ecosystem of libraries for building web servers. You have FrankenPHP for running PHP, Lego for automatic TLS, etc. For Rust there is `tokio-rustls-acme` crate (used by Ferron) for automatic TLS. While for PHP there is a `php`
49.
▲
by
dorianniemiec
2y ago
Thank you! I have visited the post from the link, and added the dark mode logo.
50.
▲
by
dorianniemiec
2y ago
Oh... For safety, it's recommended to check the installation script for suspicious commands. Or you can just pull the image for the Ferron web server from Docker Hub.
51.
▲
by
dorianniemiec
2y ago
By the way, Ferron web server also uses Tokio and Hyper.
52.
▲
by
dorianniemiec
2y ago
So how can I put a logo with bright text in dark mode and dark text in light mode on the read-me for a GitHub repository?
53.
▲
by
dorianniemiec
2y ago
I also implemented timeouts for response processing (including reading the request body from the client), to protect against Slow HTTP POST attacks.
54.
▲
by
dorianniemiec
2y ago
Why do you think that FAQ makes me come off as patronizing?
55.
▲
by
dorianniemiec
2y ago
Well, Ferron has HTTP/2 and OCSP stapling enabled by default when HTTPS is enabled.
56.
▲
by
dorianniemiec
2y ago
Thank you!
57.
▲
by
dorianniemiec
2y ago
I am not exactly sure, but comparing Ferron 1.0.0-beta5 and Caddy 2.9.1 in a benchmark where HTTPS, HTTP/2 are enabled, and default Apache httpd page was served, Caddy used so much memory, that at 12,600 requests per second the system
58.
▲
by
dorianniemiec
2y ago
Thank you! Unfortunately, Ferron doesn't support DTLS, although it can be used as a WebSocket reverse proxy for signaling in WebRTC applications...
59.
▲
by
dorianniemiec
2y ago
Hyper (HTTP library used by Ferron) has request header timeout of 30s by default if a timer is set. Ferron sets the timer for Hyper for request header timeout to work, thus mitigating Slowloris.
60.
▲
by
dorianniemiec
2y ago
Oh... Good to know!
More ›