DEV Community

Discussion on: Deploy a new Rails app to AWS Lambda using Lamby

Collapse
liquid_chickens profile image
Chris Dodds • Edited on

"Why is Docker on Mac so slow?" = There are several reasons, but the main one is that Docker on Mac requires an additional layer of virtualization vs. Docker on Linux.

github.com/EugenMayer/docker-sync can help, but yeah... it's a problem.

Regarding Lamby, It's interesting, but I'm struggling to think of a real-world use case. I'm seeing some references in the docs to a Lambda/Rails proxy, which doesn't make much sense to me. A preferable pattern for something async would be Lambda -> SQS -> Rails worker/sidekiq, I would think. A real-time API using this seems like it would be fragile/slow/difficult-to-troubleshoot. I may be missing something. Have you come across any examples where folks were using this for something concrete?