Re:WebAssembly on Amazon Lambda: Lessons Learned
by thorum on Monday June 20, 2022 @06:57PM
(#31817302)
FWIW, Lambda has added support for Docker images, which can run anything. They’re not limited to 500 MB either. You just have to use one of Amazon’s base images that come with the Lambda runtime installed, or add it to your existing Dockerfile. This might be the way to go for running something like Wasmer.
[ Parent
| on HN ]
Re:WebAssembly on Amazon Lambda: Lessons Learned
by _6zfa on Monday June 20, 2022 @07:05PM
(#31817388)
wasmer (as a rust library) + .wasm payload was a 5.5MB .zip file uploaded to Lambda (should have mentioned that in the article). This was without size/speed optimization as the goal.
Re:WebAssembly on Amazon Lambda: Lessons Learned
by synergy20 on Monday June 20, 2022 @11:20PM
(#31819475)
or just use golang, yes it might need 10MB or even 30MB for each static binary, but it's mature and production ready long time ago.
or, how about fastcgi, that's essentially what lambda does. by using shared libraries each fastcgi endpoint executable could be much smaller than 5.5MB, it's boring and mature, just a bit out of fashion.