Application layer
Application layer
Application Architecture
Three types:
An application program running on the local machine sends a request to another application program is
known as a client, and a program that serves a request is known as a server.
For example, when a web server receives a request from the client host, it responds to the request to the
client host.
○ In Client-server architecture, clients do not directly communicate with each other. For example, in a
web application, two browsers do not directly communicate with each other.
○ A server is fixed, well-known address known as IP address because the server is always on while the
client can always contact the server by sending a packet to the sender's IP address.
It is a single-server based architecture which is incapable of holding all the requests from the clients. For example,
a social networking site can become overwhelmed when there is only one server exists.
2. P2P (peer-to-peer) architecture
It has no dedicated server in a data center. The peers are the computers which are not owned by the service
provider. Most of the peers reside in the homes, offices, schools, and universities.
The peers communicate with each other without passing the information through a dedicated server, this
architecture is known as peer-to-peer architecture.
The applications based on P2P architecture includes file sharing and internet telephony.
Previous protocols