Question Prompt
Design the technical architecture of a log management system for a microservices-based application, defining the components of the system, their interactions, and the flow of data within the system.
- [execution time limit] 4 seconds (go)
- [memory limit] 1 GB
This problem asks you to design a log management architecture for a microservices-based application. A strong solution should explain how logs are collected from services, transported reliably, aggregated, stored, and queried, while describing the interactions among components and the end-to-end data flow. The key is to balance scalability, reliability, observability, and operational simplicity under the given runtime and memory limits.