共 10 句 · 中英对照 · 对应本级 10 个目标词
开始练这一级 →Last week our service slowed during the evening peak, and the alert system fired.上周我们的服务在晚间高峰时变慢,告警系统随即触发。 We opened the dashboard and saw the request queue growing while the CPU stayed low.我们打开监控面板,看到请求队列不断变长,而 CPU 占用一直很低。
The first suspect was the middleman: its heartbeat to the registry stopped for a few seconds, so orchestration dropped it.第一个嫌疑对象是那个「中间层」:它发往注册中心的「心跳」中断了几秒,于是「编排」层把它剔除了。 That forced the other workers to take more traffic, and connection multiplexing became the bottleneck.这迫使其余工作节点承担更多流量,连接「多路复用」随之成为瓶颈。 The cache replication job also wrote a checkpoint every minute, briefly blocking the disk.缓存「复制」任务还每分钟写一次「检查点」,短暂阻塞了磁盘。
First, we added a short debounce to the alert rule, so one missed heartbeat no longer woke us.首先,我们给告警规则加了一个很短的「防抖」窗口,这样一次心跳丢失不再把我们叫起来。 Second, we told the autoscaling policy to add a worker only when the queue stayed long for a minute.其次,我们让「自动扩缩容」策略只在队列持续变长满一分钟后才增加一个工作节点。 We also put a throttle on the client side, so a retry storm could not flood the gateway again.我们还在客户端加了「限流」,这样重试风暴无法再次冲垮网关。
Finally, we compared the federation settings of our clusters and found different limits.最后,我们比较了各集群的「联邦」配置,发现限额并不一致。 Now the evening peak stays quiet, and new regions copy these settings.现在晚间高峰保持平稳,新区域会直接沿用这套配置。
数据来源:NGSL(CC BY-SA 4.0)· ECDICT(MIT License)。短文为本项目为练习编写的配套材料。