V2EX  ›  英汉词典

504

Definition / 释义

504 常指 HTTP 状态码 504(Gateway Timeout,网关超时):服务器作为网关/代理时,未能在规定时间内从上游服务器收到响应而返回的错误。也可作为数字读作 five hundred and four(五百零四) 或口语 five oh four

Pronunciation / 发音

  • /faɪv ˈhʌndrəd ænd fɔːr/
  • /faɪv oʊ fɔːr/

Examples / 例句

The website returned a 504 error during peak hours.
网站在高峰时段返回了 504 错误。

After we added a proxy and increased the upstream timeout, the intermittent 504s disappeared, but we still monitored latency and server load.
我们加了代理并延长上游超时时间后,间歇性的 504 消失了,但仍持续监控延迟和服务器负载。

Etymology / 词源

504 来自 HTTP 状态码体系:以 5xx 表示“服务器端错误”,其中 504 专门用于“网关/代理等待上游响应超时”。该用法在互联网协议标准与工程实践中固定下来,逐渐成为开发与运维语境里的常用说法。

Related Words / 相关词

Literary Works / 文学与著作

  • RFC 7231: Hypertext Transfer Protocol (HTTP/1.1): Semantics and Content(提及并规范化 HTTP 状态码体系与相关语义)
  • HTTP: The Definitive Guide(David Gourley 等,O’Reilly;讲解 HTTP 状态码并包含 504 等错误的实践语境)
  • Designing Web APIs(Brenda Jin 等;讨论 API 设计与错误处理时常涉及 5xx/超时类问题,如 504)
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   1653 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 00:48 · PVG 08:48 · LAX 16:48 · JFK 19:48
♥ Do have faith in what you're doing.