Compare Serverless Products
Estimates based on serverless:talent research team. Source: Product's Website
Azure Functions allows developers to take action by connecting to data sources or messaging solutions thus making it easy to process and react to events. Developers can leverage Azure Functions to build HTTP-based API endpoints accessible by a wide range of applications, mobile and IoT devices.
Google Cloud Functions is a serverless execution environment for building and connecting cloud services. With Cloud Functions, you write simple, single-purpose functions that are attached to events emitted from your cloud infrastructure and services. Your function is triggered when an event being watched is fired. Your code executes in a fully managed environment. There is no need to provision any infrastructure or worry about managing any servers.
Azure Functions consumption plan is billed based on per-second resource consumption and executions. Consumption plan pricing includes a monthly free grant of 1 million requests and 4,00,000 GB-s of resource consumption per month per subscription in pay-as-you-go pricing across all function apps in that subscription. Azure Functions Premium plan provides enhanced performance and is billed on a per second basis based on the number of vCPU-s and GB-s your Premium Functions consume.
Google Cloud Free Usage includes:
Requests: $0.20 per 1M requests
Duration: $0.0000025 per GB-second
Data Transfer: $0.12 per Outbound Data GB
1 million invocations with an average time of 500ms and 128 MB of available memory would only cost approximately $1.57 USD
Azure supports multiple functions concurrently provided operations take place simultaneously within a single data partition. The number of concurrent activity and executions is capped at 10X depending upon the number of cores in the VM level. The execution time limit is 600 seconds or 10 minutes.
Start building a database in production in 5 minutes.
Automatically done through serverless technology.
Google Cloud Regions are available on all continents.
Backups help you restore lost data to your Cloud SQL instance. Additionally, if an instance is having a problem, you can restore it to a previous state by using the backup to overwrite it. Enable automated backups for any instance that contains necessary data. Backups protect your data from loss or damage.
Cloud SQL is integrated with Identity and Access Management (IAM) to help you better manage login access for users and service accounts to databases. This feature is called IAM database authentication.
Azure Functions claims to scale 200 instances for a single Node.js function, it fails to do so in practice. When put to test, it was only able to scale 10 function instances concurrently for a single function.
It took a long time for the Azure instances to launch despite 1.5 GB of memory being allocated to them. Median cold start latency was observed at 3640 ms in Azure.
Connects and extends services to build complex applications
Cloud Functions lets you treat all Google and third-party cloud services as building blocks. Connect and extend them with code, and rapidly move from concept to production with end-to-end solutions and complex workflows. Further, integrate with third-party services that offer webhook integrations to quickly extend your application with powerful capabilities.
End-to-end development and diagnosability
Go from code to deploy, with integrated monitoring. Get full observability and diagnosability for your application with Cloud Trace and Cloud Debugger. Additionally, get support for local and disconnected development/debugging using open-sourced functions framework.
Serve users from zero to planet-scale without even thinking about any infrastructure. Cloud Functions automatically manages and scales underlying infrastructure with the size of workload.
No server management
Deploy your code and let Google run and scale it for you. Cloud Functions abstracts away all the underlying infrastructure so that you can focus on your code and build applications faster than ever before.
Runs code in response to events
Cloud Functions allows you to trigger your code from Google Cloud, Firebase, and Google Assistant, or call it directly from any web, mobile, or backend application via HTTP.
Pay only for what you use
You are only billed for your function’s execution time, metered to the nearest 100 milliseconds. You pay nothing when your function is idle. Cloud Functions automatically spins up and back down in response to events.
Avoid lock-in with open technology
Use an open-source FaaS (function as a service) framework to run functions across multiple environments and prevent lock-in. Supported environments include Cloud Functions, local development environment, on-premises, Cloud Run, Cloud Run for Anthos, and other Knative-based serverless environments.