Complexity is getting higher • The code is scattered and lacks readability if there are many functions • Need to know more than web app knowledges • such as Runtime Interface Client, Serverless Framework, SAM and etc...
the extension brings extra costs • Are there any servers optimized for a single process? • There are many servers that run on multiple processes/ threads, but I'm not sure about a server suitable for a single process? • Single Dockerfile (this is a minor issue) • Same Dockerfile can't be used for job processes because the extension always starts up and handles events
for Rack applications. — Referenced from: Lamby's README.md • Rack server converts Lambda events into Rack requests, and vice versa • So your rails app code and development style are not affected
starts with Lambda Web Adapter • No need to bother finding a suitable server for single process; instead, Lamby starts the Rails app • Can use Single Dockerfile by overriding CMD
queries percent-decoded • We solve this with a monkey patch in our project • Cold start times are long • Following the documentation: enable Bootsnap and create cache during Docker build phase • AWS Lambda Ruby RIC does not currently support Ruby 3.x
AWS Lambda Web Adapter • Lamby • Continue to use rails development skills • Code remains well-organized and keeps readability • Mitigate vendor lock-in