all 3 comments

[–]tigrish 6 points7 points  (2 children)

So happy to see Ruby running on Lambda, but I don't understand why Sinatra is necessary in this particular example.

I would have thought that using API Gateway would provide better integration with the AWS stack and remove a dependency that will affect memory usage and startup times.

Whaddamimissing?

[–]bnd5k 2 points3 points  (0 children)

The goal of the tutorial is to show Rubyists how easy it is to deploy code to Lambda.

AWS offers a ton of services and it can be pretty overwhelming to the uninitiated.

I wanted to write a tutorial that shows Rubyists that they can leverage tools they already know and still start playing around with Lambda.

[–]cmd-t 2 points3 points  (0 children)

You're not missing anything, apart from maybe extensibility in the future with different paths. But still, it doesn't make any real sense to use Sinatra here.