How Technical Architecture Evolution Helps Internet Companies Survive Technology Cycles
Over the past three decades, internet companies have faced multiple technology waves. Whether a company can survive these cycles depends largely on the continuous evolution of its underlying architecture. This article explores reusable architectural approaches from a technical perspective, detailing the prerequisites and trade-offs of each practice, including the transition from monolithic to distributed systems, resilient design, elastic scaling, verifiable engineering practices, and AI infrastructure selection.
- From Monolithic to Distributed: Three Stages of Architecture Evolution
When the business scale is small, monolithic applications are fast to develop and easy to deploy, which is sufficient to support demands. As user scale and business lines expand, monolithic coupling leads to blocked releases, fault propagation, and database bottlenecks. The common evolution path is as follows.
| Stage | Applicable Scale | Main Advantages | Main Costs |
|---|---|---|---|
| Monolithic Architecture | Few business lines, small team size | Simple development and deployment, short call chain | Module coupling, releases affect each other, can only scale as a whole |
| Microservices Architecture | Multiple teams working in parallel, increasing business lines | Services can be independently deployed and scaled, finer fault isolation | Increased costs for distributed transactions, tracing, and service governance |
| Middle-office and Cloud-Native | Multiple business lines sharing core capabilities | General capabilities can be reused, new businesses start faster | Complex middle-office governance, premature abstraction slows down business, coordinating upstream upgrades is required |
During migration, three things must be checked: whether service boundaries are divided by business domain, whether interfaces have version management, and whether data has a clear owner. If service boundaries are drawn incorrectly, frequent cross-service calls will occur after splitting, degrading performance and reliability instead.
Middle-office reuse is a practice often misunderstood. It can shorten the startup time of new businesses, provided that shared capabilities are stable enough and maintained by dedicated personnel. If a middle-office simply pools requirements from multiple businesses, it becomes a new bottleneck. Three conditions determine if a capability is suitable for a middle-office: at least two business parties have the same requirement, the interface semantics are relatively stable, and the change frequency is lower than the business iteration frequency.
- Resilient Design: Containing Local Failures
In high-concurrency scenarios, local failures are normal. When a non-core dependency, such as a recommendation list service, responds slowly, if the caller does not set timeouts and isolation, threads or connections will be exhausted, and the failure will spread up the call chain. Resilient design aims to prevent non-core failures from affecting core transactions. There are three common approaches.
First is bulkhead isolation. Divide thread pools or connection pools by dependency so that a downstream’s slow response only consumes its own resources. If the isolation granularity is too coarse, the effect is limited; if too fine, resource utilization drops.
Second is circuit breaking. When the call error rate or timeout rate exceeds a threshold, the circuit breaker opens, and subsequent requests fail directly or fall back to default logic. After a period, the circuit breaker enters a half-open state, allowing a small number of requests to probe if the downstream has recovered. Thresholds should be set based on historical metrics. For example, triggering after an error rate exceeds 50% for 30 seconds is more reliable than guessing a number based on experience.
Third is graceful degradation. The fallback data returned by degradation must have clear boundaries. A recommendation list can return popular content, but strong consistency data like payment results or inventory deductions cannot be arbitrarily fallen back, otherwise overselling or duplicate charges will occur. During design reviews, teams must clearly specify which data can be degraded and which must fail and prompt users to retry.
These mechanisms require regular drills. A common practice is to inject faults in staging or grayscale environments, such as artificially increasing downstream latency or disconnecting, and then observe whether circuit breaking triggers as expected, whether the degraded page is usable, and whether alerts are sent in time. Circuit breaking rules that have never been drilled often fail to take effect during real failures.
- Elastic Scaling: Balancing Traffic Peaks and Costs
Sudden traffic from marketing campaigns requires the system to scale up in a short time. In cloud-native environments, a common practice is to automatically adjust the number of instances based on CPU, memory, or custom business metrics. Below is a Kubernetes Horizontal Pod Autoscaler configuration example. The cluster version must be at least 1.23 to use the autoscaling/v2 API.
apiVersion: autoscaling/v2kind: HorizontalPodAutoscalermetadata:name: payment-service-hpaspec:scaleTargetRef:apiVersion: apps/v1kind: Deploymentname: payment-serviceminReplicas: 10maxReplicas: 200metrics:- type: Resourceresource:name: cputarget:type: UtilizationaverageUtilization: 70behavior:scaleDown:stabilizationWindowSeconds: 300
There are several points to note in the configuration. CPU utilization depends on the collection cycle of metrics-server, and sampling latency will cause scaling to lag behind traffic changes. maxReplicas must be constrained by downstream database connections, message queue throughput, and other limits, otherwise scaling will only shift pressure downstream. The stabilization window of scaleDown can prevent instances from repeatedly scaling up and down during traffic fluctuations.
Elastic scaling also has costs. When a new instance starts, it needs to pull images, warm up caches, and establish connections. Response times may increase during cold starts, so scaling thresholds should leave a buffer. Metric anomalies, such as a false probe report, may lead to false scaling and generate extra cloud resource costs, so cost alerts should be set for the scaling upper limit. During load testing, verify whether the scaling speed can keep up with the traffic growth curve, rather than just looking at the final steady-state result.
- Verifiable Engineering Practices
Architectural resilience ultimately rests on verifiable engineering actions. The following three can serve as reference criteria for judging whether a team possesses resilience.
Capacity Planning: Estimate resources based on historical peaks and growth rates, retaining a certain margin. Planning results should be compared with load testing data, and re-evaluated when deviations exceed a set ratio.
Fault Drills: Regularly simulate datacenter network disconnections, dependency timeouts, and database master-slave switchovers, recording recovery time and manual intervention steps. Drill results should be converted into specific improvement items and tracked for implementation.
Data Synchronization Strategies: Cross-service or cross-region data synchronization needs a clear consistency level. Scenarios like counting and recommendations can accept eventual consistency; accounting and order status usually require stronger guarantees, supplemented by reconciliation tasks.
- Selection Dimensions for AI Infrastructure
Large model training and inference pose higher requirements for computing power, storage, and networks. When selecting infrastructure, candidate solutions can be compared across the following dimensions, with conclusions based on actual test data.
Compute Scheduling: Whether GPU sharing and isolation are supported, whether task queuing and preemption policies are configurable, and whether scheduling latency meets the startup requirements of training tasks.
Storage Throughput: The bandwidth and concurrency for reading training data, metadata performance in small file scenarios, and the hit rate of the data caching layer.
Observability: Whether the gradients, GPU memory, and node status of a single training task can be tracked, and whether alert rules cover common issues like gradient anomalies and node failures.
Teams should use the same benchmarking methodology to compare candidate solutions, recording throughput, latency, and cost, avoiding making decisions based solely on marketing materials.
- Conclusion
Returning to the original question, whether internet companies can survive technology cycles depends on whether their architecture can maintain evolvability across multiple dimensions. Clear service boundaries, middle-office reuse meeting prerequisites, faults contained locally, scaling with upper limits and cost constraints, and key processes drilled—systems meeting these conditions are more likely to start quickly in new technology waves.
Conversely, if the middle-office becomes a bottleneck, degradation rules are never drilled, and scaling has no upper limits, problems may be exposed during a single failure or a round of technological change, even if the scale is large. “Too big to fail” is not a naturally valid conclusion; it requires continuous engineering investment to maintain.
