# 服务器（计算）

服务器是一种计算机，或运行在计算机上的软件程序，通过网络向其他计算机或程序提供共享服务，例如文件服务、打印服务、电子邮件、网页或数据库查询<sup>[1](https://www.ibm.com/docs/en/was-nd/9.0.5?topic=reference-glossary)</sup>。请求这些服务的机器称为客户端。同一个词既描述硬件也描述软件：服务器机器是为持续运行服务器软件并同时服务多个客户端而构建的物理计算机，而服务器程序是指任何被动等待请求、处理指定工作并将结果返回给发起请求的客户端的进程<sup>[2](https://www.ibm.com/docs/en/zos/3.2.0?topic=program-client-server-socket-programs)</sup>。

| 关键事实 | 详情 |
|---|---|
| 定义 | 一种通过网络向其他计算机或程序提供共享服务的计算机或程序；常见类型包括文件服务器、打印服务器、邮件服务器、数据库服务器、应用服务器和Web服务器<sup>[1](https://www.ibm.com/docs/en/was-nd/9.0.5?topic=reference-glossary)</sup><sup> • </sup><sup>[3](https://www.ibm.com/docs/tr/aix/7.3.0?topic=concepts-network-systems)</sup> |
| 客户端/服务器分工 | 客户端请求服务，通常负责用户交互；服务器执行服务、管理共享资源，通常同时服务多个客户端<sup>[4](https://www.ibm.com/docs/en/txseries/10.1.0?topic=computing-clientserver-model)</sup><sup> • </sup><sup>[5](https://www.ibm.com/docs/en/zos/3.1.0?topic=applications-clientserver-model)</sup> |
| 硬件定义 | 一种具有处理单元、内存和输入/输出能力的物理计算机，为一个或多个用户或客户端设备执行所请求的过程、命令或应用<sup>[6](https://www.ibm.com/docs/en/announcement_archive/ENUS212-001/ENUS212-001.PDF)</sup> |
| 客户端/服务器时代 | 在IT基础设施演进的标准叙述中，始于1983年，与大型机/小型机时代（1959年）和个人计算机时代（1981年）并列<sup>[7](https://academic.nimal.info/files/FHSS_PT_01_Introduction.pdf)</sup> |
| 虚拟化 | 虚拟机管理器允许多个各自拥有操作系统的虚拟机运行在单台物理服务器上；NIST将虚拟机管理器分为1型（裸金属）和2型（宿主操作系统上）<sup>[8](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-125Ar1.pdf)</sup> |
| 市场规模 | 2026年第一季度全球服务器市场收入创纪录地达到1226亿美元，同比增长30.4%，受AI基础设施支出推动<sup>[9](https://www.tomshardware.com/desktops/servers/arm-servers-capture-over-45-percent-of-data-center-market-revenue-gpu-clusters-and-high-end-ai-infrastructure-fuel-a-tectonic-shift-away-from-x86)</sup> |
| 能源 | 预计2026年全球数据中心电力消耗将增长26%至565太瓦时，AI优化服务器预计在2026年占数据中心功耗的31%<sup>[10](https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-servers-will-consume-more-power-than-conventional-data-center-hardware-by-2027-gartner-forecasts)</sup> |

## 服务器做什么

在客户端/服务器模型中，应用程序被分为两部分，它们可以运行在不同的操作系统上，但协同工作以向最终用户提供服务。客户端通常位于工作站或个人计算机上，提供用户界面并请求服务；服务器通常位于较大的机器上，利用自身资源执行该服务<sup>[5](https://www.ibm.com/docs/en/zos/3.1.0?topic=applications-clientserver-model)</sup>。一台服务器可以同时处理来自多个客户端的请求，通常一台服务器服务多个客户端<sup>[5](https://www.ibm.com/docs/en/zos/3.1.0?topic=applications-clientserver-model)</sup>。

服务器功能通常涉及资源管理：服务器同步和管理对共享资源的访问，并以数据或状态信息响应客户端请求<sup>[4](https://www.ibm.com/docs/en/txseries/10.1.0?topic=computing-clientserver-model)</sup>。集中服务器端也简化了维护，因为软件副本更少，而且服务器通常位于比桌面PC更容易更新的位置<sup>[4](https://www.ibm.com/docs/en/txseries/10.1.0?topic=computing-clientserver-model)</sup>。

在套接字编程中，这些术语有精确的含义。客户端进程发起服务请求；服务器进程被动等待请求。迭代服务器在完全处理完一个客户端请求后才接受下一个请求，而并发服务器管理子进程，每个子进程并行处理一个客户端请求<sup>[2](https://www.ibm.com/docs/en/zos/3.2.0?topic=program-client-server-socket-programs)</sup>。

## 常见服务器类型

分类因所提供的服务而异。文件服务器存储文件；名称服务器存储名称和地址；应用服务器存储程序和应用；打印服务器调度打印任务并将其导向目的地<sup>[3](https://www.ibm.com/docs/tr/aix/7.3.0?topic=concepts-network-systems)</sup>。数据库服务器维护数据库并处理客户端提取或更新数据的请求，而应用服务器为其客户端提供额外的业务支持处理<sup>[11](https://www.ibm.com/docs/en/itcam-app-mgr/7.2.1?topic=c-clientserver-architecture)</sup>。Web服务器响应HTTP请求；HTTP本身被定义为一种在可靠传输层或会话层连接上运行的客户端/服务器协议<sup>[12](https://www.ietf.org/ietf-ftp/rfc/rfc9110.pdf)</sup>。

同一台物理机器可以承载多个服务器角色，在分层架构中，一个系统可以同时是客户端和服务器：例如在IBM Tivoli Monitoring中，门户是门户服务器的客户端，而门户服务器本身又是监控服务器的客户端<sup>[11](https://www.ibm.com/docs/en/itcam-app-mgr/7.2.1?topic=c-clientserver-architecture)</sup>。

## 历史

**从大型机到客户端/服务器。** 大型机从20世纪40年代到60年代主导了机构计算，通用商用大型机随着1965年IBM 360系列的问世而成熟<sup>[13](https://ebooks.lpude.in/management/mba/term_4/DMGT505_management_information_system.pdf)</sup>。小型机降低了商业计算的门槛，企业采用它们是因为其成本远低于再购买一台大型机，而且商业应用软件让各部门无需等待中央数据处理团队即可解决问题<sup>[14](https://www.historyofcomputercommunications.info/section/1.4/Three-Revolutions-in-Computer-Technologies-and-Corporate-Usage-1968-1988/)</sup>。到1988年，个人计算机催生了客户端/服务器计算，大型机和小型机作为桌面个人计算机的数据服务器运行<sup>[14](https://www.historyofcomputercommunications.info/section/1.4/Three-Revolutions-in-Computer-Technologies-and-Corporate-Usage-1968-1988/)</sup>。IT基础设施演进的标准叙述将客户端/服务器时代定在1983年<sup>[7](https://academic.nimal.info/files/FHSS_PT_01_Introduction.pdf)</sup>。

专用PC级服务器随之出现。Novell的NetWare和IBM/Microsoft的OS/2 LAN Server最初是首选操作系统，但从20世纪90年代末开始，Linux、FreeBSD和其他PC UNIX版本因能够处理企业服务器应用的需求而广泛流行<sup>[15](https://museum.ipsj.or.jp/en/computer/pc/history.html)</sup>。日立在1995年发布了配备八个Pentium处理器的FLORA 3100LP高端PC服务器，1998年发布了配备八个Pentium II Xeon处理器的HA8000系列<sup>[15](https://museum.ipsj.or.jp/en/computer/pc/history.html)</sup>。

**作为服务器的大型机。** 大型机产品线本身也进行了调整。IBM于1990年推出System/390服务器系列后，许多行业观察者预计大型机只能短暂存续；然而，该产品线获得了高速光纤通道，首次允许客户将传统计算机机房设备放置在距中央处理器约五英里范围内任何位置的独立建筑中<sup>[16](https://www.ibm.com/history/system-390)</sup>。一年后，S/390 G5并行企业服务器10路Turbo型号能够处理1,000 MIPS（每秒百万条指令），成为世界上最强大的大型机<sup>[16](https://www.ibm.com/history/system-390)</sup>。

**Web服务器。** 第一个Web服务器在欧洲核子研究组织（CERN）构建。到1990年圣诞节，在瑞士物理实验室工作的英国程序员和物理学家[蒂姆·伯纳斯-李](https://www.edgepedia.org/zh/tim-berners-lee)（Tim Berners-Lee）在NeXT计算机上用三个月时间制作了“WorldWideWeb”原型；它包括服务器、HTML、URL和第一个浏览器<sup>[17](https://www.computerhistory.org/timeline/networking-the-web/)</sup>。随后，电子邮件、网页托管和早期电子商务推动各种规模的企业安装服务器<sup>[18](https://www.datum.co.uk/insights/blog/data-centre-history/)</sup>。竞争系统迅速衰落：[明尼苏达大学](https://www.edgepedia.org/zh/university-of-minnesota)于1993年开始对[Gopher](https://www.edgepedia.org/zh/gopher-protocol)服务器许可证收费，同年春天Web正式进入公有领域并免费<sup>[17](https://www.computerhistory.org/timeline/networking-the-web/)</sup>。

## 虚拟化

核心软件是虚拟机管理器，它直接提供CPU和内存虚拟化，并通过支持模块虚拟化网络和存储资源。虚拟机管理器可以直接安装在硬件上（1型），也可以安装在传统宿主操作系统之上（2型）<sup>[8](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-125Ar1.pdf)</sup>。NIST确定了五项具有安全影响的基线虚拟机管理器功能：虚拟机进程隔离、设备中介和访问控制、直接执行来自客户虚拟机的命令、虚拟机生命周期管理以及虚拟机管理器平台管理<sup>[8](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-125Ar1.pdf)</sup>。

VMware成立于1998年，1999年发布[VMware Workstation](https://www.edgepedia.org/zh/vmware-workstation)，2001年推出ESX Server，帮助虚拟化成为数据中心的标准做法<sup>[18](https://www.datum.co.uk/insights/blog/data-centre-history/)</sup>。NIST将服务器虚拟化描述为企业IT基础设施的成熟技术，因为它提供了更好的硬件资源利用率、减少了占用的物理空间，并降低了功耗和管理开销<sup>[8](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-125Ar1.pdf)</sup>。

## 服务器与能源

数据中心是大规模容纳服务器的设施，是大型能源消费者。美国环境保护署估计，美国总能耗的3%由数据中心电力消耗引起<sup>[19](https://www.sciencedirect.com/science/article/pii/S0167739X18312123)</sup>，而面积小于5,000平方英尺的小型数据中心容纳了一半的服务器，其能源性能最多只能算一般<sup>[20](https://www.energy.gov/sites/default/files/2025-08/femp-data-centers-fact-sheet-2025.pdf)</sup>。

AI工作负载改变了能耗状况。Gartner预测，2026年全球数据中心电力消耗将从2025年的447太瓦时增长26%至565太瓦时，AI优化服务器在2026年将达到数据中心功耗的31%，高于一年前约20%的水平，到2027年AI服务器的功耗将超过所有传统数据中心硬件的总和<sup>[10](https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-servers-will-consume-more-power-than-conventional-data-center-hardware-by-2027-gartner-forecasts)</sup>。在参考情景下，美国能源部2025年更新预测，到2030年AI服务器将占服务器全部能耗的84%，占数据中心全部能耗的55%<sup>[21](https://www.energy.gov/documents/united-states-data-center-energy-usage-report-2025-update)</sup>。

## 市场与硬件趋势

服务器市场已被AI硬件重塑。IDC估计，2026年第一季度全球服务器市场收入创纪录地达到1226亿美元，同比增长30.4%，其中AI基础设施支出尤为强劲<sup>[9](https://www.tomshardware.com/desktops/servers/arm-servers-capture-over-45-percent-of-data-center-market-revenue-gpu-clusters-and-high-end-ai-infrastructure-fuel-a-tectonic-shift-away-from-x86)</sup>。GPU和ASIC/FPGA加速系统在该季度贡献了全球服务器收入的70%以上，基于Arm的机器按收入计占据服务器市场远超过45%的份额，而x86机器占52%<sup>[9](https://www.tomshardware.com/desktops/servers/arm-servers-capture-over-45-percent-of-data-center-market-revenue-gpu-clusters-and-high-end-ai-infrastructure-fuel-a-tectonic-shift-away-from-x86)</sup>。IDC还报告称，2026年第二季度全球服务器市场支出增长52.0%，受GPU服务器大规模部署推动，五年期复合年增长率为28.4%<sup>[22](https://www.idc.com/promo/servers/)</sup>。

## References

1. [Glossary, IBM WebSphere Application Server documentation](https://www.ibm.com/docs/en/was-nd/9.0.5?topic=reference-glossary)
2. [Client and server socket programs, IBM z/OS documentation](https://www.ibm.com/docs/en/zos/3.2.0?topic=program-client-server-socket-programs)
3. [Network systems, IBM AIX documentation](https://www.ibm.com/docs/tr/aix/7.3.0?topic=concepts-network-systems)
4. [The client/server model, IBM TXSeries documentation](https://www.ibm.com/docs/en/txseries/10.1.0?topic=computing-clientserver-model)
5. [The Client/Server Model, IBM z/OS documentation](https://www.ibm.com/docs/en/zos/3.1.0?topic=applications-clientserver-model)
6. [Server as a unit of measure, IBM announcement ENUS212-001](https://www.ibm.com/docs/en/announcement_archive/ENUS212-001/ENUS212-001.PDF)
7. [Introduction, Platform Technologies course notes](https://academic.nimal.info/files/FHSS_PT_01_Introduction.pdf)
8. [Security Recommendations for Server-based Hypervisor Platforms, NIST SP 800-125A Rev. 1 (2018)](https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-125Ar1.pdf)
9. [Arm servers capture over 45% of data center market revenue, Tom's Hardware (IDC data)](https://www.tomshardware.com/desktops/servers/arm-servers-capture-over-45-percent-of-data-center-market-revenue-gpu-clusters-and-high-end-ai-infrastructure-fuel-a-tectonic-shift-away-from-x86)
10. [AI servers will consume more power than all conventional data center hardware combined by 2027, Tom's Hardware (Gartner forecast)](https://www.tomshardware.com/tech-industry/artificial-intelligence/ai-servers-will-consume-more-power-than-conventional-data-center-hardware-by-2027-gartner-forecasts)
11. [client/server architecture, IBM Tivoli Monitoring documentation](https://www.ibm.com/docs/en/itcam-app-mgr/7.2.1?topic=c-clientserver-architecture)
12. [RFC 9110: HTTP Semantics, IETF (June 2022)](https://www.ietf.org/ietf-ftp/rfc/rfc9110.pdf)
13. [Management Information Systems, DMGT505 course text](https://ebooks.lpude.in/management/mba/term_4/DMGT505_management_information_system.pdf)
14. [Three Revolutions in Computer Technologies and Corporate Usage 1968-1988, History of Computer Communications](https://www.historyofcomputercommunications.info/section/1.4/Three-Revolutions-in-Computer-Technologies-and-Corporate-Usage-1968-1988/)
15. [Brief History, Information Processing Society of Japan Computer Museum](https://museum.ipsj.or.jp/en/computer/pc/history.html)
16. [The IBM System/390, IBM history](https://www.ibm.com/history/system-390)
17. [Networking & The Web, Timeline of Computer History, Computer History Museum](https://www.computerhistory.org/timeline/networking-the-web/)
18. [Data Centre History: From 1940s to AI Era, Datum Datacentres](https://www.datum.co.uk/insights/blog/data-centre-history/)
19. [Measuring and rating the energy-efficiency of servers, ScienceDirect](https://www.sciencedirect.com/science/article/pii/S0167739X18312123)
20. [Data Center Energy Efficiency fact sheet, US Department of Energy FEMP](https://www.energy.gov/sites/default/files/2025-08/femp-data-centers-fact-sheet-2025.pdf)
21. [United States Data Center Energy Usage Report: 2025 Update, US Department of Energy](https://www.energy.gov/documents/united-states-data-center-energy-usage-report-2025-update)
22. [Servers Market Insights, IDC](https://www.idc.com/promo/servers/)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 15, 2026 · Edited: Sep 30, 2026; Oct 15, 2026 · Last review: Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/server-computing

English original: https://www.edgepedia.org/server-computing
