When using Cloud Functions, you should be aware of a couple of features and considerations. Let's have a look at each of them.
Other considerations
Cloud SQL connectivity
As we mentioned previously, Cloud Functions are stateless and the state needs to be saved on external storage or in a database. This can be done with external storage such as Cloud Storage or a database such as Cloud SQL. In general, any external storage can be used. We introduced Cloud SQL in Chapter 3, Google Cloud Platform Core Services. To remind you, it is a managed MySQL or Postgres database. With Cloud Functions, you can connect to Cloud SQL using a local socket interface that's provided in the Cloud Functions execution environment. It eliminates...