Understanding of Persistence in MuleSoft Runtime Fabric explained July 1, 2021|Runtime Fabric




Lot of people talk about Persistance in Runtime Fabric.

First lets talk about what are persisted in MuleSoft

  1. Object store
  2. VMs
  3. Internal Queues used during Batch processing and other internal services

As RTF is based on Docker and Kubernetes, File system in the Kubernetes container provide ephemeral storage, which means restart of a POD (Which host your Mule Runtime and application), all the data is wiped out on such containers(PODS).

In RTF version 1.9, MuleSoft have introduced Persistent Gateway (Which inturn used by Persistent object store)


Now setting up Persistent object store is not just a check box. You would need to configure the Persistent Gateway

For enabling Persistence Gateway, you have to first provision a database to serve as the data source for data stored by Persistence Gateway. This database must be compatible with PostgresSQL 9 and above

Also if you have multiple RTF clusters each cluster should have its own Data source

Please refer to the below link to understand more

https://docs.mulesoft.com/runtime-fabric/latest/persistence-gateway

Remember the way the memory used, File system is used, batch process usage of internal queues are different in RTF compared to On-Prem or Cloudhub implementation

Comments

Popular posts from this blog

Understand Salesforce Governance Limits January 7, 2021|Salesfoce Integration

MuleSoft New Pricing and Packaging