APPSeCONNECT Cloud Agent Scalability - An Overview

APPSeCONNECT Cloud Agent Scalability – An Overview

APPSeCONNECT Cloud Agent Scalability - An Overview

Overview of APPSeCONNECT Cloud Agent

APPSeCONNECT Cloud Agent is the main component that processes data coming from different data sources. The processes defined within the application are executed in the Agent infrastructure maintained by the APPSeCONNECT cloud.  The agent is designed to support the parallelism of process execution. The data processing over the APPSeCONNECT agent can be horizontally scaled as well as vertically scaled.  The cloud infrastructure handles thousands of requests coming from multiple organizations and can decide to scale up its infrastructure based on workloads.

The orchestration of data transfer through APPSeCONNECT Cloud Engine is :

  1. Handled by Implementer.
  2. Handled by the Infrastructure.

Orchestration through Implementation

The workflow is an execution engine that loads data from Source application, does all kind of processing defined within a workflow and then push the transformed data to the target application. During this process of execution, an implementation can be defined which splits the data into batches such that the data could be parallelly processed within a negligible timeframe. This process requires an advanced understanding of how the processing of data could be made quicker by using workflow nodes. The Self looping syntax could be used which could drastically improve the performance of data flow.

Orchestration through Infrastructure

Data transfer could also be performed by the infrastructure. The inbuilt scheduler present in the application can trigger data transfer at a particular interval and the data could be processed parallelly in multiple machines or containers. We encourage creating workflows in such a way that independent data could be processed in different intervals such that users can improve the performance of data sync. The data triggers present in the platform takes care of each execution and spawns different container to process a data transfer.

Integrate-Business-Apps-through-APPSeCONNECT

Types of Integration Triggers

APPSeCONNECT provides two types of integration.

  1. Real-time Trigger
  2. Scheduled Trigger

In the case of Real-time triggers, the Host application uses a Webhook feature to configure a particular URL, such that whenever data is posted to the host application, the data is automatically pushed to APPSeCONNECT. We use Enterprise Service Bus to ensure no data is lost during the transit. The data posted to the service bus present in APPSeCONNECT will ensure FIFO ( First In First Out) mechanism, and hence transactional sequence is maintained.

In the case of scheduled triggers, a Scheduler service takes care of all the triggers present in an organization. The scheduler invokes the triggers automatically to start the execution of a process. When APPSeCONNECT Cloud receives a request, the workflow is executed to process data from one application to another.

The Architecture Diagram

Integrate-Business-Apps-through-APPSeCONNECT

Component Description

  • Client
    A client is a user or a computer that triggers individual processes. For instance, in the case of Scheduled Triggers of individual processes, a client is just a request coming from a job trigger. On the other hand, if a request is coming from a Webhook, a client is an application posting data directly from an enterprise service bus. A client can also be a manual trigger by a Real user from the APPSeCONNECT portal.
  • API Gateway
    An API Gateway is the entry point of any execution on cloud infrastructure. The request coming from the client will be transferred to the load balancer to process the request. Know more about API Management!
  • Job Triggers
    APPSeCONNECT maintains a trigger repository inside a scheduler which invokes a request to API Gateway whenever the trigger is executed.
  • Load Balancer
    A load balancer checks workloads on different VM scale-sets and spawn containers accordingly.
  • Replicas
    For every container, a replica of the same is maintained by APPSeCONNECT such that whenever a VM scale-set is compromised, the replica is loaded automatically.
  • Containers
    Containers are independent execution unit that executes a workflow from end to end. The containers are micro-service at their core and orchestrate and divide individual workloads into multiple processes.
  • VM Scale-sets
    A VM scale-set is a group of physical VMs that takes care of the execution of containers.
  • Message Broker
    A Message broker is a standard message queue pattern that stores and pushes messages to the consumers.
  • Microservices
    A micro-service is an execution engine that takes care of one individual processing a task request and provides a response.

The Architecture Flow

When a client calls a cloud agent, the request first hits the API gateway. This routine loads the organization details to authenticate the request and generates a token for processing. The load balancer identifies the processing unit and spawns a container for request execution. The logical containers are hosted inside the VM Scale sets (or a collection of VM’s), and these services will load data from applications, does all the transformations, defined in the workflow and pushes it in the target application.  Each container is an independent, processing module that is mapped with a workflow or other independent modules of AEC.  The VM Scale sets are physical virtual machines present inside the cluster where these logical containers are stored. The logical container will always have a replica in another VM Scale-set idle mode, such that if the main VM scale-set is somehow crashed, the processing unit will transfer automatically to the idle scale-set.

While processing a workflow, the data which are required to be stored on physical storage are pushed through a Service Bus where we put messages for processing. There are a number of Message Consumers who process individual messages to put them in different data buckets such as a file, log, audit, etc.

Integrate-Business-Apps-through-APPSeCONNECT

Logical Container Diagram

The above image shows the representation of a logical container that caters and end to end data processing from one application to another. The container mainly executes the engine with some metadata passed to it from the API layer.  The container takes care of individual routines like Adapters, Scripts, Blobs, Cache, database, etc. to fetch and provide data to it during execution.  The processing unit takes care of individually execute tasks defined inside a flow to process data from the application.

How scalability is achieved in APPSeCONNECT

To achieve scalability of data processing, we provide two options:

  1. Horizontal Scaling
  2. Vertical Scaling

When we consider horizontal scaling, we divide each data block into a batch of data (say a batch of 100s) and then process each batch parallelly. This involves the parallel execution of data in a loop such that the data is processed quickly. We ensure the data is always backed by a storage unit to ensure data is not missed during transit.  There is a specific self-loop feature that executes an individual get/processing/push routine to be executed in parallel.

Check this out: How API Lifecycle Management can Help to Accelerate Growth

We can also consider vertical scaling, where the data is distributed over multiple independent workflows, each of which can be processed parallelly.

Important Note:

The data transfer in the APPSeCONNECT platform always depends on the API response time and hence the processing time will largely depend on the API Response time combined.

Integrate-Business-Apps-through-APPSeCONNECT

APPSeCONNECT is a smart and robust business application integration platform that seamlessly connects all your business applications with each other to streamline operations and facilitate the free flow of data across the platforms. By moving into the region of iPaaS, APPSeCONNECT proves to be a best-in-the-class platform that easily connects systems and automates the business process.

Now, you can easily connect all your business applications under one single platform to automate the business process!

Abhishek Sur

Abhishek Sur is the VP of Product in APPSeCONNECT. He is an architect of the product and a developer by passion.

Our integrations are dynamic in nature. The mentioned offerings are the cumulative possibilities of the platform (actual scenarios are specifically organization/business-dependent). For any disparity, please refer to the latest version of the integration brochures.