Skip to main content

Posts

Showing posts from August, 2024

What is runbook ?

 A runbook is a detailed “how-to” guide for completing a commonly repeated task or procedure within a company’s IT operations process (e.g. provisioning, software updates / deployment, change configs, and opening ports). Runbooks are created to provide everyone on the team—new or experienced—the knowledge and steps to quickly and accurately resolve a given issue. For example, a runbook may outline routine operations tasks such as patching a server or renewing a website’s SSL certificate. Think of a runbook as a recipe. It provides detailed instructions for completing a specific task in a quick and efficient manner based on previous experiences with resolving the issue. Runbooks allow more experienced members on the team to share their knowledge so newer or more junior members can more easily resolve commonly faced issues themselves. It also means all team members can quickly refresh their memory and follow detailed steps without having to memorize countless individual procedures. W...

How to Monitor application ?

Summery :  Dashboards. Event-Driven Alerts Logging System Tools for Monitoring Integrations (you can add from exchange). Live Demo  Logging & monitoring Tools  Splunk: Splunk is an enterprise software company that makes machine data accessible, usable and valuable to everyone. Manily used for log management. AppDynamics: Application monitoring. Datadog is used for observability and monitoring.

Best Practices in Logging

Summery :  Follow best practices in logging, such as avoiding logging sensitive information and using appropriate log levels for different scenarios. use asynchronous logging over synchronous with a minimum logging level of WARN for a production application. In some cases, enable INFO logging level when you need to confirm events such as successful policy installation or to perform troubleshooting. Avoid logging sensitive information. Using correlation identifier to trace system calls across application layers. Use categories to turn on/off logging during runtime, for eg we need diff. log level for Dev & PROD.  If a flow uses several loggers, add some fixed text in the logger’s message to identify where it was generated. 

Logging in Mulesoft

 Logger Component  This Core component helps you monitor and debug your Mule application by logging important information such as error messages, status notifications, payloads, and so on. You can add a Logger anywhere in a flow, and you can configure it to log a string that you specify, the output of a DataWeave expression you write, or any combination of strings and expressions. / Type of Log in Mulesoft: System Log : It is specific to MuleSoft runtime & “log4j.xml” configuration file is not accessible to an user.System logs contains log messages about the MuleSoft runtime life cycle (startup and shutdown) & status messages about MuleSoft application. Application Log : It is specific to MuleSoft application & “log4j.xml” configuration file is packaged inside MuleSoft application. It contains all log messages generated inside the Mule application, including System.out messages. We can configure custom log file appender to send application log data outside of cloud...

MQ-Based Integration vs. REST API-Based Integration: Choosing the Right Path for Your Architecture

In today's interconnected world, integration is at the heart of seamless operations.  Two of the most popular methods for connecting systems are  1. Message Queue (MQ)-based integration  2. REST API-based integration. But how do you choose the right one for your needs? 🔄 MQ-Based Integration : - Asynchronous Communication : Ensures reliability and resilience, allowing systems to communicate without waiting for an immediate response. Perfect for handling high volumes of data and complex workflows. - Decoupled Systems : MQ allows systems to operate independently, reducing dependencies and enhancing scalability. - Guaranteed Delivery : Messages are queued and delivered even if the destination system is temporarily unavailable, ensuring that no data is lost. 🌐 REST API-Based Integration : - Synchronous Communication : Ideal for real-time, request-response interactions where immediate feedback is needed. - Ease of Use : REST APIs are widely adopted, easy to implement, and pe...