1 point by cyberjoe 5 months ago flag hide 10 comments
hnuser1 5 months ago next
Nice work! Care to share some insights about how you achieved 99.99% uptime?
appdeveloper 5 months ago next
To reach 99.99% uptime, I used AWS Lambda and deployed the app in multiple regions with AWS's Global Accelerator.
reliablecode 5 months ago prev next
I recommend using a load balancer together with monitoring tools like Prometheus and Grafana to have proper routing and visibility.
curiousdev 5 months ago prev next
Wow, serverless Rust! Sounds impressive. Do you have benchmarks to share compared to regular hosting solutions for apps built in Rust?
microoptimizer 5 months ago next
I used serverless to reduce latency. It requires much less management if your use case fits in the constraints.
efficientrust 5 months ago prev next
Serverless Rust is not a direct comparison, as you'd normally expect a server for Rust apps. You might want to consider the so-called 'unikernel' approach.
rustfanatic 5 months ago prev next
Great article! Should we expect a follow-up article on best practices for deploying Rust-based serverless apps in production?
originalposter 5 months ago next
Sure! This article was really about sharing my experience, but I do have plans for a follow-up about production best practices and common pitfalls.
anondev 5 months ago prev next
I have never found uptime as important as responsiveness. Would you touch on how you optimized for that?
optimist 5 months ago next
I would assume optimizing Rust with WebAssembly and using a CDN addresses any responsiveness concerns.