distributed application structure in computing From Wikipedia, the free encyclopedia
In Computer science, client-server is a software architecture model consisting of two parts, client systems and server systems, both using a computer network or on the same computer. A client-server application is a distributed system made up of both client and server software. Client server application provide a better way to share the workload. The client process always starts a connection to the server, while the server process always waits for requests from any client.
When both the client process and server process are running on the same computer, this is called a single seat setup.
Another type of related software architecture is known as peer-to-peer, because each host or application instance can act as both a client and a server (unlike centralized servers of the client-server model) and because each has the same responsibilities and status. Peer-to-peer architectures are often abbreviated using the acronym P2P.
Both client-server and P2P architectures are in wide usage today.
The client-server relationship describes the relation between the client and how it makes a service request to the server, and how the server can accept these requests, process them, and return the requested information to the client. The interaction between client and server is often described using sequence diagrams. Sequence diagrams are standardized in the Unified Modeling Language.
The basic type of client-server software architecture employs only two types of hosts: clients and servers. This type of architecture is sometimes referred to as two-tier. The two-tier architecture means that the client acts as one tier and server process acts as the other tier.
The client-server software architecture has become one of the basic models of network computing. Many types of applications have been written using the client-server model. Standard networked functions such as E-mail exchange, web access and database access, are based on the client-server model. For example, a web browser is a client program at the user computer that may access information at any web server in the world.
Specific types of servers include: web servers, FTP servers, database servers, E-mail servers, file servers, print servers. Most web services are also types of servers.
Seamless Wikipedia browsing. On steroids.