How Does Lamby Work?

Since Rails is on Rack, the Lamby gem relies on converting Application Load Balancer or API Gateway events sent to your handler and converting them to a Rack env object. We then send that object to your application and pass the result back to the Lambda handler which expects a simple object/hash containing the statusCode, body, and headers. It is that simple.

Thanks to the projects and people below which inspired our code and implementation strategies.

Other small details which Lamby helps with.

Lamby 🆕 Application Load Balancer ALB Support     GitHub