
In
computing
Computing is any goal-oriented activity requiring, benefiting from, or creating computing machinery. It includes the study and experimentation of algorithmic processes, and development of both hardware and software. Computing has scientific, ...
, a server is a piece of
computer hardware or software (
computer program
A computer program is a sequence or set of instructions in a programming language for a computer to execute. Computer programs are one component of software, which also includes documentation and other intangible components.
A computer progra ...
) that provides functionality for other programs or devices, called "
clients". This
architecture
Architecture is the art and technique of designing and building, as distinguished from the skills associated with construction. It is both the process and the product of sketching, conceiving, planning, designing, and constructing buildings ...
is called the
client–server model. Servers can provide various functionalities, often called "services", such as sharing data or
resources among multiple clients, or performing
computation for a client. A single server can serve multiple clients, and a single client can use multiple servers. A client process may run on the same device or may connect over a network to a server on a different device. Typical servers are
database servers,
file server
In computing, a file server (or fileserver) is a computer attached to a network that provides a location for shared disk access, i.e. storage of computer files (such as text, image, sound, video) that can be accessed by the workstations that are ab ...
s,
mail servers,
print servers,
web servers,
game servers, and
application servers.
Client–server systems are usually most frequently implemented by (and often identified with) the
request–response model: a client sends a request to the server, which performs some action and sends a response back to the client, typically with a result or acknowledgment. Designating a computer as "server-class hardware" implies that it is specialized for running servers on it. This often implies that it is more powerful and reliable than standard
personal computer
A personal computer (PC) is a multi-purpose microcomputer whose size, capabilities, and price make it feasible for individual use. Personal computers are intended to be operated directly by an end user, rather than by a computer expert or tech ...
s, but alternatively, large
computing clusters may be composed of many relatively simple, replaceable server components.
History
The use of the word ''server'' in computing comes from
queueing theory, where it dates to the mid 20th century, being notably used in (along with "service"), the paper that introduced
Kendall's notation. In earlier papers, such as the , more concrete terms such as "
elephoneoperators" are used.
In computing, "server" dates at least to RFC 5 (1969),
one of the earliest documents describing
ARPANET (the predecessor of
Internet
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a ''internetworking, network of networks'' that consists ...
), and is contrasted with "user", distinguishing two types of
host: "server-host" and "user-host". The use of "serving" also dates to early documents, such as RFC 4, contrasting "serving-host" with "using-host".
The
Jargon File defines
server in the common sense of a process performing service for requests, usually remote, with the 1981
1.1.0 version reading:
Operation

Strictly speaking, the term ''server'' refers to a
computer program
A computer program is a sequence or set of instructions in a programming language for a computer to execute. Computer programs are one component of software, which also includes documentation and other intangible components.
A computer progra ...
or
process (running program). Through
metonymy
Metonymy () is a figure of speech in which a concept is referred to by the name of something closely associated with that thing or concept.
Etymology
The words ''metonymy'' and ''metonym'' come from grc, μετωνυμία, 'a change of name ...
, it refers to a device used for (or a device dedicated to) running one or several server programs. On a network, such a device is called a ''
host''. In addition to ''server'', the words ''serve'' and ''service'' (as verb and as noun respectively) are frequently used, though ''servicer'' and ''servant'' are not. The word ''service'' (noun) may refer to either the abstract form of functionality, e.g.
Web service. Alternatively, it may refer to a computer program that turns a computer into a server, e.g.
Windows service. Originally used as "servers serve users" (and "users use servers"), in the sense of "obey", today one often says that "servers serve data", in the same sense as "give". For instance,
web servers "serve
pweb pages to users" or "service their requests".
The server is part of the
client–server model; in this model, a server serves data for
clients. The nature of communication between a client and server is
request and response. This is in contrast with
peer-to-peer model in which the relationship is on-demand reciprocation. In principle, any computerized process that can be used or called by another process (particularly remotely, particularly to share a resource) is a server, and the calling process or processes is a client. Thus any general-purpose computer connected to a network can host servers. For example, if files on a device are shared by some process, that process is a
file server
In computing, a file server (or fileserver) is a computer attached to a network that provides a location for shared disk access, i.e. storage of computer files (such as text, image, sound, video) that can be accessed by the workstations that are ab ...
. Similarly,
web server software can ''run'' on any capable computer, and so a
laptop or a personal computer can host a web server.
While request–response is the most common client-server design, there are others, such as the
publish–subscribe pattern. In the publish-subscribe pattern, clients register with a pub-sub server, subscribing to specified types of messages; this initial registration may be done by request-response. Thereafter, the pub-sub server forwards matching messages to the clients ''without'' any further requests: the server ''
pushes'' messages to the client, rather than the client ''
pulling'' messages from the server as in request-response.
Purpose
The role of a server is to share data as well as to share
resources and distribute work. A server computer can serve its own computer programs as well; depending on the scenario, this could be part of a ''
quid pro quo'' transaction, or simply a technical possibility. The following table shows several scenarios in which a server is used.
Almost the entire structure of the
Internet
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a ''internetworking, network of networks'' that consists ...
is based upon a
client–server model. High-level
root nameservers,
DNS
The Domain Name System (DNS) is a hierarchical and distributed naming system for computers, services, and other resources in the Internet or other Internet Protocol (IP) networks. It associates various information with domain names assigned to ...
, and routers direct the traffic on the internet. There are millions of servers connected to the Internet, running continuously throughout the world and virtually every action taken by an ordinary
Internet
The Internet (or internet) is the global system of interconnected computer networks that uses the Internet protocol suite (TCP/IP) to communicate between networks and devices. It is a ''internetworking, network of networks'' that consists ...
user requires one or more interactions with one or more servers. There are exceptions that do not use dedicated servers; for example,
peer-to-peer file sharing and some implementations of
telephony
Telephony ( ) is the field of technology involving the development, application, and deployment of telecommunication services for the purpose of electronic transmission of voice, fax, or data, between distant parties. The history of telephony is i ...
(e.g. pre-Microsoft
Skype
Skype () is a proprietary telecommunications application operated by Skype Technologies, a division of Microsoft, best known for VoIP-based videotelephony, videoconferencing and voice calls. It also has instant messaging, file transfer, ...
).
Hardware
Hardware requirement for servers vary widely, depending on the server's purpose and its software. Servers are more often than not, more powerful and expensive than the clients that connect to them.
Since servers are usually accessed over a network, many run unattended without a
computer monitor or input device, audio hardware and
USB interfaces. Many servers do not have a
graphical user interface (GUI). They are configured and managed remotely. Remote management can be conducted via various methods including
Microsoft Management Console (MMC),
PowerShell,
SSH and
browser-based out-of-band management systems such as Dell's
iDRAC
The Dell Remote Access Controller, or DRAC, is an out-of-band management platform on certain Dell servers. The platform may be provided on a separate expansion card, or integrated into the main board; when integrated, the platform is referred to a ...
or HP's
iLo
The International Labour Organization (ILO) is a United Nations agency whose mandate is to advance social and economic justice by setting international labour standards. Founded in October 1919 under the League of Nations, it is the first and ol ...
.
Large servers
Large traditional single servers would need to be run for long periods without interruption.
Availability would have to be very high, making hardware reliability and durability extremely important.
Mission-critical enterprise servers would be very
fault tolerant and use specialized hardware with low
failure rates in order to maximize
uptime.
Uninterruptible power supplies might be incorporated to guard against power failure. Servers typically include hardware
redundancy such as dual
power supplies,
RAID disk systems, and
ECC memory, along with extensive
pre-boot memory testing and verification. Critical components might be
hot swappable
Hot swapping is the replacement or addition of components to a computer system without stopping, shutting down, or rebooting the system; hot plugging describes the addition of components only. Components which have such functionality are said ...
, allowing technicians to replace them on the running server without shutting it down, and to guard against overheating, servers might have more powerful fans or use
water cooling. They will often be able to be configured, powered up and down, or rebooted remotely, using
out-of-band management, typically based on
IPMI. Server casings are usually
flat and wide, and designed to be rack-mounted, either on
19-inch racks or on
Open Racks.
These types of servers are often housed in dedicated
data centers. These will normally have very stable power and Internet and increased security. Noise is also less of a concern, but power consumption and heat output can be a serious issue. Server rooms are equipped with air conditioning devices.
Clusters
A ''server farm'' or ''server cluster'' is a collection of computer servers maintained by an organization to supply server functionality far beyond the capability of a single device. Modern
data centers are now often built of very large clusters of much simpler servers, and there is a collaborative effort,
Open Compute Project around this concept.
Appliances
A class of small specialist servers called
network appliances are generally at the low end of the scale, often being smaller than common desktop computers.
Mobile
A mobile server has a portable form factor, e.g. a
laptop. In contrast to large
data centers or rack servers, the mobile server is designed for on-the-road or ''ad hoc'' deployment into emergency, disaster or temporary environments where traditional servers are not feasible due to their power requirements, size, and deployment time. The main beneficiaries of so-called "server on the go" technology include network managers, software or database developers, training centers, military personnel, law enforcement, forensics, emergency relief groups, and service organizations.
To facilitate portability, features such as the
keyboard,
display,
battery (
uninterruptible power supply, to provide power redundancy in case of failure), and mouse are all integrated into the chassis.
Operating systems

On the Internet the dominant operating systems among servers are UNIX-like
open-source distributions, such as those based on
Linux
Linux ( or ) is a family of open-source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991, by Linus Torvalds. Linux is typically packaged as a Linux distribution, which i ...
and
FreeBSD,
with
Windows Server also having a significant share. Proprietary operating systems such as
z/OS and
macOS Server are also deployed, but in much smaller numbers.
Specialist server-oriented operating systems have traditionally had features such as:
*
GUI not available or optional
* Ability to
reconfigure and update both hardware and software to some extent without restart
* Advanced
backup facilities to permit regular and frequent online backups of critical
data
In the pursuit of knowledge, data (; ) is a collection of discrete values that convey information, describing quantity, quality, fact, statistics, other basic units of meaning, or simply sequences of symbols that may be further interpret ...
,
*
Transparent data transfer between different
volumes or devices
* Flexible and advanced networking capabilities
* Automation capabilities such as
daemons in UNIX and
services in Windows
* Tight system security, with advanced user, resource, data, and memory protection.
* Advanced detection and alerting on conditions such as overheating, processor and disk failure.
In practice, today many desktop and server operating systems share similar
code base
In communications and information processing, code is a system of rules to convert information—such as a letter, word, sound, image, or gesture—into another form, sometimes shortened or secret, for communication through a communica ...
s, differing mostly in configuration.
Energy consumption
In 2010, data centers (servers, cooling, and other electrical infrastructure) were responsible for 1.1-1.5% of electrical energy consumption worldwide and 1.7-2.2% in the United States. One estimate is that total energy consumption for information and communications technology saves more than 5 times its
carbon footprint in the rest of the economy by increasing efficiency.
Global energy consumption is increasing due to the increasing demand of data and bandwidth.
Natural Resources Defense Council (NRDC) states that data centers use
91 billion kilowatt hours (kWh) electrical energy in 2013 which accounts to 3% of global electricity usage.
Environmental groups have placed focus on the carbon emissions of data centers as it accounts to 200 million metric tons of
carbon dioxide
Carbon dioxide ( chemical formula ) is a chemical compound made up of molecules that each have one carbon atom covalently double bonded to two oxygen atoms. It is found in the gas state at room temperature. In the air, carbon dioxide is t ...
in a year.
See also
*
Peer-to-peer
Notes
References
Further reading
*
*
{{Authority control
Server hardware