Software Architecture & Engineering
77 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- OAuthhistorical
OAuth is an authorization protocol through which users allow third-party applications to access their data. These notes examine its roles and flows.
- How to Design a Configuration Centerhistorical
A configuration center manages settings independently of code releases. These notes compare client polling and server push for delivering changes.
- How to Design a Load-Balancing Componenthistorical
Load balancing distributes requests across machines, using shared work and redundancy to improve performance and availability. These notes examine implementation approaches.
- How to Design a Service Registryhistorical
A registry maps service names to addresses and ports so callers need not hard-code destination IPs. These notes examine its design from that requirement.
- How to Design an API Gatewayhistorical
An API gateway is an entry point for external requests and handles routing and filtering. These notes examine its relationship to backend services through those responsibilities.
- How to Design a Monitoring Systemhistorical
Monitoring observes systems through logs, metrics, and traces. These notes examine centralized queries, trend-based alerting, and request-path diagnosis.
- How to Design Distributed Tracinghistorical
Distributed tracing records the nodes a request passes through and their durations, helping locate problems within the call chain.
- How to Design a Fault-Tolerance Componenthistorical
A service failure can affect availability across a microservice call chain. These notes examine fault-tolerance components through limiting failure propagation.
- How to Design Log Monitoringhistorical
Log monitoring centralizes logs from different machines for querying and analysis, reducing the need to inspect each host separately.
- How to Design Metrics Monitoringhistorical
Metrics record event times and values for trend analysis and early alerting. These notes examine monitoring-system design through those purposes.