When ruby support on aws lambda was announced yesterday i was so excited about it that i had to try it right away.
Aws lambda ruby on rails.
Aws lambda is a function as a service platform that stores and executes your code when triggered by an amazon web service aws event.
The aws sdk for ruby is included in the lambda execution environment by default.
We ve been using lambda for a while at honeybadger and i have longed to be able to write our functions in ruby.
If you want to build an api with it you would want to have api gateway do all the routing and request handling.
A recent project had us migrating an existing pdf document processing system from rails sidekiq to aws lambda.
Today aws is excited to announce ruby as a supported language for aws lambda.
That makes it easy to interact with the aws resources directly from your functions.
Moving to lambda reduced processing time by 300 in some cases.
These events range from making an api call to saving a file to updating a database.
This article is part of our ruby on aws lambda blog series.
There is a lot of other great information on lambdas on both the aws lambda page and on the ruby on jets website.
Ruby aws lambda bff 03 01 2019.
I was thrilled to learn that i can finally use ruby with lambda but using sinatra as an example feels wrong.
Essentially jets functions as a framework similar to rails but now that aws lambda supports ruby functions it allows you to build serverless applications.
You only pay for the execution of the function.
Parallelization for the win.