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.

What HN saysHN commenters recommend his articles and book for learning Rust web backends, and often find answers to their questions in his posts.
29HN people shared it
10linked it in comments
52stories submitted
841story points
8 months agolast shared
2018people per year2026

Most-shared posts

  1. 1
    How to Bootstrap a Rust Web API from Scratch
    4 people · 12 points · first shared 2020 · 1 comments on HN
  2. 2
    Are we observable yet? An introduction to Rust telemetry
    4 people · 8 points · first shared 2020 · discussion on HN
  3. 3
    Taking ML to production with Rust
    3 people · 212 points · first shared 2019 · 99 comments on HN
  4. 4
    Using Types to Guarantee Domain Invariants
    3 people · 17 points · first shared 2020 · discussion on HN
  5. 5
  6. 6
    Can agentic coding raise the quality bar?
    3 people · 5 points · first shared 2026 · discussion on HN
  7. 7
    An Introduction to Session-Based Authentication in Rust
    3 people · 5 points · first shared 2022 · discussion on HN
  8. 8
    Zero to Production in Rust #0: Foreword
    3 people · 4 points · first shared 2020 · 1 comments on HN
  9. 9
    5x Faster Rust Docker Builds with Cargo-Chef
    3 people · 4 points · first shared 2020 · discussion on HN
  10. 10
    A taste of pavex, an upcoming Rust web framework
    3 people · 3 points · first shared 2022 · discussion on HN
  11. 11
    Rust web frameworks have subpar error reporting
    2 people · 7 points · first shared 2024 · 1 comments on HN
  12. 12
    A Continuous Deployment Pipeline for Rust Applications
    2 people · 6 points · first shared 2020 · discussion on HN
  13. 13
    An In-Depth Introduction to Idempotency
    2 people · 4 points · first shared 2022 · discussion on HN
  14. 14
    On the shoulders of the giants
    1 people · 397 points · first shared 2020 · 58 comments on HN
  15. 15
    Choosing a Rust web framework
    1 people · 92 points · first shared 2020 · 32 comments on HN

What HN people wrote when they linked it

bsnnkv · 2024-12-03
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… [2]: https://www.zero2prod.com
degurechaff · 2024-10-23
for controller routing. I think pavex have great idea (https://www.lpalmieri.com/posts/pavex-progress-report-02/) for using rustdoc json
fnord123 · 2022-01-05
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…
lstamour · 2021-06-05
If you visit https://www.lpalmieri.com/ you can read the chapters before buying and supporting the author.
skeptrune · 2024-10-06
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)…
satvikpendem · 2024-05-17
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/
hmfrh · 2021-07-26
The Zero to Rust[1] series also has a fairly comprehensive look into these. [1]: https://www.lpalmieri.com/posts/2020-09-27-zero-to-production-4-are-we…
LukeMathWalker · 2020-07-05
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-forewo… 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_ward · 2020-07-01
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-forewo…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close