This week, the Google Cloud Platform debuted Google Cloud Functions, a way to create lightweight, single-purpose functions that respond to cloud events without having to manage a separate server or a runtime environment.
This can be useful for checking for the responsiveness of cloud infrastructure so that applications can quickly and elegantly deal with failures.
Many have pointed out the similarities between Cloud Functions and an existing service available from Amazon Web Services called Lambda, which also lets developers execute snippets of code to respond to events. There are subtle differences between Cloud Functions and Lambda, but a major difference is that Lambda currently supports a wide range of languages including Node.js, Java, and Python.
Cloud Functions was introduced as an Alpha release in a Thursday blog post, which noted that there may be compatibility issues with older software making is “not recommended for production use.” Individual willing to take the risk can request to use this feature, and Google provides a quick guide to get started with Cloud Functions.