3 ms·
Have you heard of axum[1] or actix-web[2]? What does this do that existing Rust web servers don't? I think the "web server" ecosystem in Rust is pretty mature
by qweqwe14 2y ago
Have you heard of axum[1] or actix-web[2]? What does this do that existing Rust web servers don't?
I think the "web server" ecosystem in Rust is pretty mature by now, so you should probably state in what way your project is novel on the website.
Edit: OK, I realized that this is supposed to be an nginx/caddy replacement, so a complete, configurable web server/proxy. Maybe check out https://github.com/memorysafety/river https://github.com/memorysafety/river or https://github.com/sozu-proxy/sozu https://github.com/sozu-proxy/sozu
[1] https://docs.rs/axum https://docs.rs/axum
[2] https://docs.rs/actix-web https://docs.rs/actix-web
- dorianniemiec 2y agoYes, I know that both Axum and Actix Web exist. However, these are web application frameworks designed for building web applications in Rust. On the other hand, my project is a standalone web server, similar to Apache httpd, NGINX, or Caddy. While there are standalone web servers in Rust, such as Static Web Server and binserve, they primarily focus on serving static files rather than providing general-purpose web hosting capabilities. My goal is to create a more versatile web server that can handle a wider range of web hosting applications.
- qweqwe14 2y agoWhat about Cloudflare's pengora? Edit: or https://github.com/memorysafety/river https://github.com/memorysafety/river Edit 2: or https://github.com/sozu-proxy/sozu https://github.com/sozu-proxy/sozu
- Maledictus 2y agohttps://github.com/cloudflare/pingora https://github.com/cloudflare/pingora seems to be focused on providing a library/framework
- dorianniemiec 2y agoPingora is not a standalone web server (like NGINX or Apache httpd), it's a Rust-based framework developed by Cloudflare for building network services, particularly HTTP proxies. River (built on Pingora) is designed to be a reverse proxy. My web server on the other hand is designed to be a general-purpose web server (it also supports reverse proxying).
- throwbacktictac 2y agoIt sounds like this is a general purpose web server rather than a web framework like axum and actix-web. It's in the category of nginx, apache or caddy.
- dorianniemiec 2y agoI agree with you.
- deleted 2y ago[deleted]
- IshKebab 2y agoThis was my question too so I think it's worth clarifying that on the home page.
- dorianniemiec 2y agoI have just added a "What are the differences between Ferron and other web servers written in Rust?" question to Frequently Asked Questions.
- sejje 2y agoApparently you need to add "what is a webserver" for these new guys.
- dorianniemiec 2y agoIt's already in the FAQ section.
- satvikpendem 2y agoYou should also add more context on how it's different from Nginx and Caddy as well to that answer, your one above works well [0]. [0] https://news.ycombinator.com/item?id=43228231#43228376 https://news.ycombinator.com/item?id=43228231#43228376