If you have more than one service in any of your projects, you should have probably heard of Correlation IDs already. You may know it under other names, but I am sure the concept sounds pretty familiar. Anyway, let me repeat it one more time for everyone to be on the same page.
Each good technical project writes all kind of operational logs. When there are several independent services, each service sends logs to some log aggregation system. The more services there are and the higher the load, the harder it becomes to figure out meaningful sequences of actions. We need some simple pattern to help us operate this mess. This pattern is called Distributed Tracing and its core component is Correlation ID.

#sql #django #python #code #microservices

Correlation IDs in Django SQL
1.15 GEEK