...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
Benefits of a Asynchronous logging
The chart below shows the performance difference between synchronous and asynchronous logging, and how much latency increased as more concurrent messages were added. In this test, an app logged about one million messages, using an increasingly higher amount of threads on each run. Each transaction resulted in 1000 messages.
As indicated by the chart, the results of logging asynchronously are significantly closer to the results of not logging at all.
Aman:
•Higher peak throughput: With an asynchronous logger your application can log messages at 6 - 68 times the rate of a synchronous logger
•Lower logging response time latency: Response time latency is the time it takes for a call to Logger.log to return under a given workload
Although asynchronous logging can give significant performance benefits, there are situations where you may want to choose synchronous logging. This section describes some of the trade-offs of asynchronous logging.
Benefits
- Higher throughput. With an asynchronous logger your application can log messages at 6 - 68 times the rate of a synchronous logger.
- Lower logging latency. Latency is the time it takes for a call to Logger.log to return. Asynchronous Loggers have consistently lower latency than synchronous loggers or even queue-based asynchronous appenders. Applications interested in low latency often care not only about average latency, but also about worst-case latency. Our performance comparison shows that Asynchronous Loggers also do better when comparing the maximum latency of 99% or even 99.99% of observations with other logging methods.
- Prevent or dampen latency spikes during bursts of events. If the queue size is configured large enough to handle spikes, asynchronous logging will help prevent your application from falling behind (as much) during sudden bursts of activity.
What is Logging (In general)
Types of Logging supported in Adeptia Connect
Explain Synchronous logging and Asynchronous logging (use graphics to explain as mulesoft) :
- Latency: Time required to perform some action or to produce some result. Time of a transaction, or service invocation.
- Throughput: The number of some actions executed or results produced per unit of time.
Benefits using Asynchronous logging (explain using chart)
Performance tests chart
Limitations of Asynchronous logging
View the Runtime Log in Adeptia Connect
Log Level
Exception Handling with Asynchronous Logging
Shutdown hook
Configuring the Logging
...