Luciano Mammino ๐ Node.js Design Patterns reposted
Luciano Mammino ๐ Node.js Design Patterns
Luciano Mammino ๐ Node.js Design Patterns
@loige.co
AWS Serverless Hero & MVP. Senior Architect fourTheorem, author of ๐ http://nodejsdp.link & โ๏ธ http://fstack.link Node.js, JavaScript, Rust ๐ฆ & Cloud โ๏ธ
2.1K followers885 following1K posts
We tested 44 configurations: #Fargate vs #EC2, #ARM vs #x86, #gzip vs #zstd, and more. The benchmarks are open source, and there are some interesting surprises and trade-offs. Unlike our podcast release schedule, these containers are FAST. ๐๐ awsbites.com/155-how-we-m...
Luciano Mammino ๐ Node.js Design Patterns reposted
Already own the book? Download the updated edition from Gumroad. Read all about the release: news.rust-lambda.com/p/new-book-r... Book info + discount: rust-lambda.com
Luciano Mammino ๐ Node.js Design Patterns reposted
Luciano Mammino ๐ Node.js Design Patterns reposted
I've used #Docker for 10+ years and I thought I knew how image layers work. Then I asked one innocent question: if layers are just tar archives stacked on top of each other, how can a layer DELETE a file from a previous one? ๐งต loige.co/hidden-desig...
I've used #Docker for 10+ years and I thought I knew how image layers work. Then I asked one innocent question: if layers are just tar archives stacked on top of each other, how can a layer DELETE a file from a previous one? ๐งต loige.co/hidden-desig...
... Also my docker captain friends might like this (...or tell me I am an idiot for not knowing earlier ๐ซก) @gianarb.it @francescociulla.bsky.social
I've used #Docker for 10+ years and I thought I knew how image layers work. Then I asked one innocent question: if layers are just tar archives stacked on top of each other, how can a layer DELETE a file from a previous one? ๐งต loige.co/hidden-desig...
All the experiments are reproducible, with scripts, raw logs and the full version matrix: github.com/lmammino/bro...
I've used #Docker for 10+ years and I thought I knew how image layers work. Then I asked one innocent question: if layers are just tar archives stacked on top of each other, how can a layer DELETE a file from a previous one? ๐งต loige.co/hidden-desig...
I've used #Docker for 10+ years and I thought I knew how image layers work. Then I asked one innocent question: if layers are just tar archives stacked on top of each other, how can a layer DELETE a file from a previous one? ๐งต loige.co/hidden-desig...
The pattern that ties it all together: one config module, validated at startup, fail fast. The rest of the code never touches process.env directly. Full guide (validation with Zod, security, NODE_DEBUG and friends): nodejsdesignpatterns.com/blog/nodejs-...
Luciano Mammino ๐ Node.js Design Patterns reposted
๐ Best part: it's the project simplifying itself to match how people actually use it, and easing the load on the volunteers who keep Node.js alive ๐ Full breakdown here ๐ nodejsdesignpatterns.com/blog/nodejs-... #nodejs #javascript
Luciano Mammino ๐ Node.js Design Patterns reposted
Published another article for my Rust series Learn Rust Iterators by Building a Git Object Store Reader #rust #rustlang #programming blog.sheerluck.dev/posts/learn-...
Luciano Mammino ๐ Node.js Design Patterns reposted
Replying to @loige.co
The article shows the new API side-by-side with the old one for every feature, plus a companion GitHub repo with every snippet ready to clone and run. I hope you'll like it ๐ nodejsdesignpatterns.com/blog/whats-n...
Luciano Mammino ๐ Node.js Design Patterns reposted
The article shows the new API side-by-side with the old one for every feature, plus a companion GitHub repo with every snippet ready to clone and run. I hope you'll like it ๐ nodejsdesignpatterns.com/blog/whats-n...
Luciano Mammino ๐ Node.js Design Patterns reposted
New post: Writing middlewares for #Rust #Lambda functions ๐ฆ The #AWS Lambda Rust runtime already ships a middleware engine: tower. Almost nobody is using it. Deep dive + a complete DynamoDB rate limiter you can steal: loige.co/writing-midd...
@rustaceans.bsky.social hey John & Elley, big fan of your newsletter here! I hope you'll consider my last article loige.co/writing-midd... for your next issue :) It's a pretty long one but hopefully it covers Tower in a way that can be useful even to folks who don't target AWS Lambdas (yet).