Logging and Monitoring

Logging

As your system grows larger and larger, logging and monitoring becomes very important. When there are issues with the user experience, and when we dont know the issue or issue is not very clear. So in the context of system design, we are referring to logging in the code by also having a system which would collect all the logs, which would allow us to debug issue which we discribed. There are two format for logging - syslog and json. Then there is a service which collects these logs and store them in some database, e.g stack driver.

Monitoring

If we have build a system which is growing and you need to visibility to system health, performance and general status. This is possuble when you have designed a system that would gather such meaningful metrics and that you have tools to monitor these metrics. Making sure in your overall system you have systems in place that would monitor important metrics of your overall metrics.

back