Actix Web v4.0 (Rust)

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarLint - Clean code begins in your IDE with SonarLint
  • SaaSHub - Software Alternatives and Reviews
  • actix-web

    Actix Web is a powerful, pragmatic, and extremely fast web framework for Rust.

  • ormx

    bringing orm-like features to sqlx

    I think there are quite some macros that accelerate a CRUD creation app, for example, take a look at sqlx with ormx: https://github.com/NyxCode/ormx

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • jelly-actix-web-starter

    A starter template for actix-web projects that feels very Django-esque. Avoid the boring stuff and move faster.

    My usual reminder that I have a Django-ish template for actix-web that I maintain: https://github.com/secretkeysio/jelly-actix-web-starter

    Now that actix-web 4.0 is out I should be able to finally resolve one of the open issues/PRs, which I was waiting on 4.0 for.

  • FrameworkBenchmarks

    Source for the TechEmpower Framework Benchmarks project

    What libraries like this could you really extract "performance/$" from? Sounds like a mostly financial metric.

    It's so situational that you cannot say outright exactly how much something cost in different scenarios. Doing so requires strict metrics about other things at the same time, and could only be done as an analysis of what happened, not what will happen in the future. Subtle bugs and things like just using a different data structure would impact the performance, down to the tiniest detail.

    If you're so adamant to see metrics, you could use TechEmpower's framework tests, latest one placing 5th Actix in the "Composite score" (https://www.techempower.com/benchmarks/#section=data-r20&hw=...), as a result of being pretty high up in the specific benchmarks. But even with that information, it doesn't mean it'll be the 5th fastest framework when you use it.

    I guess the point is: do you own benchmarks for the specific areas where you need it to be fast, calculate what your costs would be for hosting it, and you'll have your "performance/$".

  • rust-playground

    The Rust Playground

    +1 for Axum. I recently moved [1] the Rust Playground's backend to Axum and have been very happy with it and the team producing it.

    [1]: https://github.com/integer32llc/rust-playground/pull/777

  • firecracker

    Secure and fast microVMs for serverless computing.

    Off the top of my head…

    Firecracker, the software AWS Lambda runs on, is written in Rust: https://github.com/firecracker-microvm/firecracker

    Mozilla wrote Servo, a browser engine, in Rust. Part of it has been integrated into Firefox a while ago:

    > Mozilla incorporated the Servo CSS Style engine in release 57 of its Firefox Quantum browser.

    https://research.mozilla.org/servo-engines/

    It’ll be used in Android: https://security.googleblog.com/2021/04/rust-in-android-plat...

    It’ll probably find it’s way into the Linux kernel: https://news.ycombinator.com/item?id=29485465

  • autopush-rs

    Push Connection Node in Rust

    > Is it say possible to run a production quality server that can handle hundreds of thousands of concurrent users on digital ocean lets say?

    Absolutely. I used to work as an SRE on Mozilla's WebPush infrastructure. Every running Firefox in the world establishes a connection to it; that means it peaks at tens of millions of concurrent connections every day. We could easily handle hundreds of thousands of connections on a couple CPU cores and gigs of RAM.

    Although most connections were usually idle, we also regularly pushed messages to every connected client (e.g. when a collection in our remote settings service was updated).

    It's written in Rust using Actix.

    https://github.com/mozilla-services/autopush-rs

  • SonarLint

    Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.

  • axum

    Ergonomic and modular web framework built with Tokio, Tower, and Hyper

    Also check out Axum, which honestly in my hands has the best ergonomics, and is built on top of the Tokio ecosystem.

    https://github.com/tokio-rs/axum

  • go

    The Go programming language

    Clearly nobody ever manages to use this Go thing with over 700: https://github.com/golang/go/issues. Or .net, over 5000 issues for the compiler alone: https://github.com/dotnet/roslyn. I'd guess stuff like Java, glibc would be similar if they used github

  • Roslyn

    The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.

    Clearly nobody ever manages to use this Go thing with over 700: https://github.com/golang/go/issues. Or .net, over 5000 issues for the compiler alone: https://github.com/dotnet/roslyn. I'd guess stuff like Java, glibc would be similar if they used github

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts