We are experiencing performance issues when using the MuleSoft Log connector at a high TPS rate (over 5,000 TPS). It appears that in Synchronous mode, it quickly consumes all threads from the main thread pool and becomes a bottleneck. It also seems that creating and assigning a dedicated thread pool for the Log connector is not possible.
I am wondering if it's a good practice to create two custom connectors:
If this is not the best practice (or not possible at all), what is the most effective way to improve the logging performance of the existing logger?
We tried minimizing the usage of the Log connector, but it seems that even at the minimum usage we still get bad performance.
No, it is actually a bad practice.
Recommended practice (TL;DR):
Detailed explanation:
Note: there is no MuleSoft Log connector. The Logger component is a built-in feature of the Mule runtime.