Components of Catalyst Serverless

FAAS

COMPUTE

ORCHESTRATION

As represented above, Catalyst Serverless includes the following components:

  • Functions
  • AppSail
  • Circuits
  • Security Rules

Functions

Serverless Functions are custom-built coding structures that contain the core backend logic of your application or service. Using Serverless Functions reduces your code setup, building, and maintenance efforts and the time you would typically spend before starting to code your logic.

  • Serverless offers the following functions types and templates for various purposes:
    • Basic I/O Function: Code basic input/output operations and simple HTTP operations between the various components of Catalyst services.
    • Advanced I/O Function: Access the ideal code structure to use multiple APIs and handle native HTTP responses between the components of various Catalyst services. You can also code complex server-client operations, and parse and channel large volumes of data.
    • Integration Function: These functions offers you the advantage of using a Serverless function on the backend to perform operations in other Zoho services by establishing an integration with them.
    • Event Function: This type of function can be used to handle event-based logic associated with an Event Listener. An Event Listener is an event bus service component found in the Catalyst Cloud Scale service. You can use this function to execute an operation, or a set of operations, after the occurrence of a configured event.
    • Cron Function: Cron, a component of Catalyst Cloud Scale, is an automatable job scheduler. This type of function can be coded as a periodic function associated with a configured Cron.
    • Browser Logic: You can code browser logic functions that can be used to perform any task you would manually do in a browser. The SmartBrowz Catalyst service lets you control and manage a browser through code and the Browser functions lets you code in the business logic to ensure the same.

Each of these function types can be initialized in Java, Node.js, or Python, and when you initialize these functions you will be provided with a customizable boilerplate for coding your logic faster.

AppSail

The AppSail component is a powerful platform-as-a-service (PaaS) offering, with which you can build and host any scale of applications from simple microservice to large enterprise solutions, even independently of Catalyst, in the supported development environments. You have the flexibility to code using any framework without any restrictions, incorporate and manage any dependencies, and efficiently manage the platform of your service after you deploy it. AppSail will ensure the required server instances are generated and are scaled based on the needs.

The platform management feature enables you to view the generated instances, set thresholds, view statistics and reports of the instances, and terminate them manually, when needed. These reports offer crucial aid during the debugging stages.

Circuits

With Circuits, you can orchestrate and automate workflows in your Catalyst application directly from the console. Use circuits to implement concurrent or sequential executions of Serverless’ Basic I/O Functions. You can manage and execute multiple parallel processing tasks, configure conditions, incorporate data, and design workflows that repeatedly execute tasks for any desired outcome. There are several Circuit states, flow control options, and input and output paths you can utilize to design a comprehensive workflow. Catalyst enables you to use the drag-and drop builder to construct complex workflows in a few simple steps from the console.

You can design a workflow with any scale of functionality, and as elaborate or as simple as you require based on your requirements.

Security Rules

The Security Rules component fulfills fundamental requirements for securing Basic I/O and Advanced I/O endpoints. Security Rules is a JSON file which contains the security definitions of the function, including the HTTP methods that can be accessed by a function, and whether authentication is necessary to access the function’s endpoint. You can configure these based on your requirements.

Security Rules is automatically enabled by Serverless when a Basic I/O or an Advanced I/O function is created in the console, or initialized locally using the Catalyst CLI and deployed to the console.


Last Updated 2023-07-07 01:27:41 +0530 +0530