4 ms·
I had a play with it this evening implementing a basic webhook handler and it’s super smooth - I hooked a Ruby Lambda function up to API Gateway and everything
by jon-wood 8y ago
I had a play with it this evening implementing a basic webhook handler and it’s super smooth - I hooked a Ruby Lambda function up to API Gateway and everything just works. I suspect you could very easily create some sort of Rack shim on top as well, effectively giving near free, infinitely scalable, Ruby app servers (assuming you can keep the start time down).
- jon-wood 8y agoIt turns out one of the samples from AWS is that shim, and it’s super elegant - at least in theory I think you could deploy almost any Ruby web app to Lambda with minimal effort.
- schappim 8y agoI just did the same thing, but things fall apart when you need to use gems w/ native extension (mysql). I'll need to investigate the native runtime route.
- yebyen 8y agoThat's interesting... gems w/ native extension, I'm not sure if that was on my test case list, but it should be. Thx...