| Use Catalyst serverless functions to build backend logic for basic or elaborate HTTP operations, event-driven flows, scheduled job executions, or integrations. |
Use AppSail services to build and deploy independent web services for any requirements. |
| Functions generally pack a tightly-coupled application logic that incorporate Catalyst components through language-specific SDKs. |
You can implement component SDKs in your AppSail applications as well. However, you will be required to manage the implementation on your own. |
| Catalyst functions cannot work independently outside the Catalyst platform, as they implement predefined coding structures specific to Catalyst. |
AppSail services are independent entities that can be engineered in any way you require, without any Catalyst-specific restrictions on the format. |
| Catalyst handles the implementation and maintenance of the dependencies that serverless functions are pre-engineered with. For example, the node modules that are included by default when you initialize a Node.js function are implemented by Catalyst. |
With AppSail, you must entirely handle all the implementation and maintenance of all frameworks, libraries, plugins, dependencies, and overheads that you might use in your code for all the supported platforms. |
| With Serverless functions, you incur costs when API calls are made to invoke function endpoints. The billing model works based on the number of API calls made to access a function endpoint. |
AppSail services incur costs based on the number of server instances that are actively running. In other words, you will be billed for instance uptime, and not for the number of requests made directly to access an app endpoint. |
| You will not be required to perform any infrastructure, backend, or platform management for serverless functions. |
You will not be able to perform any infrastructure management. However, you can manage the platform of your app instances after you deploy it. |
| You can deploy multiple functions of any supported stack or type in a single project through Serverless functions. |
You can deploy multiple apps of any supported stack or custom stack in a single project through AppSail. |