Anypoint Runtime Fabric Basic vs. Crucial Points for Planning Resources
This article provides a tutorial on how to define a strategy to utilize the benefits of the MuleSoft Runtime fabric setup.
Join the DZone community and get the full member experience.Join For Free
MuleSoft Runtime fabric setup is one of the optimized resource platforms. However, we need to define a strategy to utilize its benefits for application deployment.
There are a few points we need to remember:
1: The number of applications required or forecast to deploy.
- Before moving to MuleSoft RTF, prepare statistics about several applications that are targeting to deploy from lowest environment to production environment.
- Define the application and platform monitoring strategy for a platform with the currently available resources in an organization.
- The MuleSoft RTF platform provides maximum capabilities to support platform monitoring with external tools.
- The current level of support and configuration needs to be identified before application deployment.
2: The application integration strategy.
- The amount of CPU and memory can be defined based on application-level integrations.
- For instance, an experienced API and process API might need approx. the same resource or a slight difference to execute a required task.
- As the Anypoint monitoring consumes additional resources from assigned to an individual pod (log forwarder enabled), 30% of resources will be consumed in the pod's monitoring and maintenance services.
- Based on the externalizing configuration or the external system performance, define the resource allocation. For instance, there is a probability to retry/wait in the scheduling operation in the system API integration. Hence, securing additional resources for individual applications.
3: The future performance of the platform.
- The number of instances needs to be defined based on the expected process during peak or non-peak application performance.
- All instances will not consume assigned resources. Hence, the matrix needs to be prepared and to allocate CPU/memory.
- Adding any container/service on the controller node will not have any adverse impact on the cluster performance, hence defining metadata forwarding strategy on cluster node despite individual node.
4. While defining the application deployment strategies, the resources sharing the concept need to be considered.
- As pods are created, they can share assigned resources to other pods within the worker. It is decided based on the probability of resources expected for individual pods. In the below picture, it is indicated that the assigned resources can be shared among pods.
Note: While defining or preparing strategy, it needs to be comprehensively evaluated. It is an extraordinary feature of Runtime Fabric, but any wrong calculation would harm application performance. Furthermore, it needs to be calculated/assessed with every point of requirement.
Opinions expressed by DZone contributors are their own.