Cloud Functions are executed in a fullymanaged environment. The infrastructure and software that's needed to run the function are handled for you. Each function is single-threaded and is run in an isolated environment with the intended context. You don't need to take care of any updates for that environment. They are auto-updated for you and scaled as needed.
Currently, there are a number of runtimes supported by Cloud Functions, namely the following:
- Node.js 6, 8, and 10
- Python 3.7
- Go 1.11
When you define a function, you can also define the requirements or dependencies file in which you state which modules or libraries your function is dependent on. Remember, however, that those libraries will be loaded when your function is executed. This causes delays in terms of execution. We will talk about this in more detail in the Cold start section of...