Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    L

    Luca Palmieri

    lpalmieri.com · Personal blog · on HN since 2018

    Luca Palmieri writes about Rust web development, observability, authentication, and Docker builds, and is the author of Zero To Production in Rust.

    Visit blogRSSHN submissions
    ProgrammingWeb DevelopmentLanguages & Compilers
    What HN says

    HN commenters recommend his articles and book for learning Rust web backends, and often find answers to their questions in his posts.

    Stats for nerds
    29HN people shared it
    52linked in comments
    841story points
    Dec 2024last shared
    2020people per year2024

    Top posts on HN

    1. 1
      On the shoulders of the giants
      1 person · 397 points · first shared 2020 · 58 comments on HN
    2. 2
      Taking ML to production with Rust
      3 people · 212 points · first shared 2019 · 99 comments on HN
    3. 3
      Choosing a Rust web framework
      1 person · 92 points · first shared 2020 · 32 comments on HN
    4. 4
      Error Handling in Rust – A Deep Dive
      1 person · 18 points · first shared 2021 · Discussion on HN
    5. 5
      Using Types to Guarantee Domain Invariants
      3 people · 17 points · first shared 2020 · Discussion on HN
    6. 6
      How to Bootstrap a Rust Web API from Scratch
      4 people · 12 points · first shared 2020 · 1 comments on HN
    7. 7
      Are we observable yet? An introduction to Rust telemetry
      4 people · 8 points · first shared 2020 · Discussion on HN
    8. 8
      Password auth in Rust, from scratch – Attacks and best practices
      3 people · 7 points · first shared 2021 · Discussion on HN
    9. 9
      Rust web frameworks have subpar error reporting
      2 people · 7 points · first shared 2024 · 1 comments on HN
    10. 10
      Skeleton and Principles for a Maintainable Test Suite
      1 person · 7 points · first shared 2021 · 2 comments on HN

    What HN people wrote when they linked it

    • skeptruneOct 2024

      It really doesn't, actix is already there. Recently built my startup code over the past couple years with Actix and it had literally everything we needed easily. We just need more documentation and reference code bases demonstrating how to do these things. Rust devs tend to be fairly advanced and seemingly don't write enough docs or shares.

      >Routing/handlers

      Actix has it.

      >Templates

      Minijinja or liquid-rust[1]

      >Static file serving

      actix-files[2]

      >Logins

      Actix with oidccore is fantastic and easy[3]

      >Permissions

      Actix FromRequest is literally perfect. We have perm levels (admin, owner) and per-route perms for more fine-grained control.[4]

      > Database interface

      Diesel with diesel_async for connection pooling has been flawless at scale.

      > Admin tooling

      We didn't do this, but it would be simple with a bin/load-data.rs file that runs via a docker start command or tmuxp pane.

      > Hot reloading

      Cargo watch is getting deprecated, but was great. Bacon and and Watchexec are fully qualified successors. CSS watch systems work with the templates already same way as they do for SPAs.

      > Background tasks

      Make a bin/worker.ts file which defines a single binary and then use redis or another queing sytem to communicate between the worker and core server. We loaded all of HN (40M docs) into a search index with this approach and it was easy.

      > Monitoring/observability

      There's a decent story here with structured logging. Zero to production in Rust has a good chapter on it (2020)…

    • bsnnkvDec 2024

      I'd highly recommend reading some articles by Luca Palmieri[1], or even buying his book[2]. Although I didn't learn this stack by working through his book, whenever I had questions through the years, my searches usually led me to his articles which are often excerpts from the larger book.

      The high level of API stability and lack of churn in the Actix ecosystem makes the book a particularly good investment for someone looking to settle on this stack in my opinion. In keeping with the topic of this submission, I doubt I'd be comfortable spending money on a similar book about building web apps with React.

      [1]: https://www.lpalmieri.com/posts/2020-08-09-zero-to-production-3-how-to-bootstrap-a-new-rust-web-api-from-scratch

      [2]: https://www.zero2prod.com

    • fnord123Jan 2022

      Sorry in advance for shoehorning Rust into a separate conversation...

      The new meta in Rust is to lift out loggers and replace the concept with tracing. There is a `tracing` package where you can setup spans like in OpenTelemetry but it also supports the logger macros so you can attach log messages to the spans.

      To consume this you add a subscriber configured at server startup to send structured logging to a Json logger, or ship them to a Jaeger endpoint. Or sentry, as suggested in the article.

      https://www.lpalmieri.com/posts/2020-09-27-zero-to-production-4-are-we-observable-yet/

    • LukeMathWalkerJul 2020

      Author here!
      This article started as a short section in Chapter 3 of Zero To Production (https://www.lpalmieri.com/posts/2020-05-24-zero-to-production-0-foreword/) to give some background on the decision making process I went through when picking the web framework we will be using to develop our email newsletter project throughout the book.

      It eventually grew to be so long that it made little sense as part of Chapter 3 itself - I thus decided to publish it as its own article and link it in the introduction to Chapter 3 (hopefully to be released next week!).

    • michael_j_wardJul 2020

      Luca Palmieri[0] is trying to fill that gap with his series called "Zero to Production" in Rust that assumes the reader can solve project euler problems and is instead going to focus on "how do I build and deploy production software."

      You can read the introduction[1] to the series to get a better sense.

      [0] https://twitter.com/algo_luca

      [1]https://www.lpalmieri.com/posts/2020-05-24-zero-to-production-0-foreword/

    • satvikpendemMay 2024

      Also the same one who is making a new web server framework for Rust called Pavex, which is apparently pretty novel in how it works compared to others like Actix Web and Axum [0][1].

      [0] https://www.lpalmieri.com/posts/a-taste-of-pavex-rust-web-framework/

      [1] https://blog.logrocket.com/using-pavex-rust-web-development/

    Related

    Adolfo Ochagavíaochagavia.nl19 people

    Using S3 as a Container Registry

    Adolfo Ochagavía
    Personal · last shared 2026
    Nick Cameronncameron.org65 people

    Rust in 2022

    Nick Cameron
    Personal · last shared 2026
    Turso Blogturso.tech102 people

    Working on databases from prison

    Turso Blog
    Company · last shared 2026
    Tony Arcieritonyarcieri.com72 people

    Would Rust have prevented Heartbleed? Another look

    Tony Arcieri
    Personal · last shared 2023
    Matteo Spinellicubiq.org39 people

    Open Source made me the man I am

    Matteo Spinelli
    Personal · last shared 2017
    Project Zerogoogleprojectzero.blogspot.com550 people

    Reading privileged memory with a side-channel

    Project Zero
    Company · last shared 2025
    Matthias Endlerendler.dev45 people

    The best programmers I know

    Matthias Endler
    Personal · last shared 2026
    Niko Matsakissmallcultfollowing.com221 people

    Towards a Rust Foundation

    Niko Matsakis
    Personal · last shared 2026