3 ms·
One thing that is not super clear from the blog post, and which may be a surpsise to some, is that Cloud Functions will require you to upload your source code.
by stcredzero 8y ago
One thing that is not super clear from the blog post, and which may be a surpsise to some, is that Cloud Functions will require you to upload your source code. The compilation happens not on your end but on Google servers.
This is probably not a surprise for folks who have been using Python or Node for cloud functions, but it is something to think about.
I've been thinking of using this approach for a golang MMO game SaaS which is really an aggregation of a bunch of FaaS lambdas tied to an account. What upload allows you to do, is to do a syntactic scan of all of the code, particularly the package imports and function calls. All of the above can be whitelisted, which adds security. Also, you can munge the function calls against a generated munged version of the available libraries, which also adds security. (In addition to using containers under the covers.)
- winrid 8y agoLike Screeps? Even more niche? :)
- stcredzero 8y agoThat looks cool. What I'm describing is for implementing MMOs, though.