by dnautics · 7y ago · 0 comments
those are not servers! In fact the branding of AWS lambda is exactly "serverless". You don't have to have process restart logic, they're very transient, if a process error causes a crash (yes that happens even in rust) the entire thing is taken down. They're less of a server than a kubernetes-orchestrated container.
I don't think it changes anything about what I said - process restarts aren't something I'd care about the language for anyways, I'd have a sidecar for that.
I'd love to learn more about how you build and deploy. Do you have any favorite articles / resources that I should look at?
This is before they offered official support though. Here’s the announcement for that, which links to resources: https://aws.amazon.com/blogs/opensource/rust-runtime-for-aws...
Here's a post on how I use AWS's "Cloud Development Kit" to do my deployments. Builds are through Docker.
Source code: https://github.com/insanitybit/grapl