Design a Distributed Logging System.
Code Playground
JavaScript (V8)
Loading...
Console Output
// Output will appear here...
// For React: ReactDOM.createRoot(rootElement).render(<App />);
// For React: ReactDOM.createRoot(rootElement).render(<App />);
Recommended Answer
System Design Scenario:
1. Components:
* Sidecar/Agent: Collects logs from container/app (e.g., Fluentd, Logstash).
* Buffer: Kafka (to handle spikes).
* Indexer: Elasticsearch (for searching).
* Storage: S3 (for archival/long-term).
* UI: Kibana.