-
Thank you for creating this project, it looks very promising. From a Google Cloud customer perspective, using a client-provided framework like this one to achieve a functionality otherwise provided by a dedicated service may seem like a "hack" or a "workaround" with potential gotchas. Are you aware of any pricing, performance, operational, usability-related, or any other gotchas related with using Cloud Run to "simulate" Cloud Functions functionality? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Hey @cubuspl42 – moved this to discussion. Since this is more of a discussion/Q&A Cloud Functions are easier as a developer: you only have to manage the function definition itself. You don't have to worry about a Docker file, etc. Now, we've done a LOT of work here to make the dev experience pretty close. As far as pricing, performance, etc – I'm not sure. Your mileage may vary. I'm hoping they'd be close. CC @subfuzion or @grant who may have other thoughts here. |
Beta Was this translation helpful? Give feedback.
-
I had a similar thought and here are the limitations for the free tier that I have discovered when it comes to using Cloud Run to simulate Cloud Functions: Cloud Functions:
Cloud Run:
Financially speaking, if you do not expect anything or anyone from outside of North America to download huge amounts of data from your Cloud Run containers/instances in any given month, then I think you'll probably be fine. Otherwise, you will want to learn JavaScript or TypeScript and use Cloud Functions as intended to minimise costs. I've started to and there's plenty of documentation and guides to reference, so it's not too bad: Getting Started with Cloud Functions for Firebase Note that it is probably possible to have the |
Beta Was this translation helpful? Give feedback.
Hey @cubuspl42 – moved this to discussion. Since this is more of a discussion/Q&A
Cloud Functions are easier as a developer: you only have to manage the function definition itself. You don't have to worry about a Docker file, etc.
Now, we've done a LOT of work here to make the dev experience pretty close.
As far as pricing, performance, etc – I'm not sure. Your mileage may vary. I'm hoping they'd be close.
CC @subfuzion or @grant who may have other thoughts here.