Lesson 2 (Client-Server Architecture)
Lesson 2 (Client-Server Architecture)
CHS 3
1-Tier Architecture
In the 1-tier architecture, all client/server configuration settings, user interface environment,
data logic, and marketing logic system have existed on the same system.
These types of services are reliable but it is very difficult tasks to handle because they
contain all data in different variance, which are allotted the replication of the entire work. This
architecture also contains different layers.
For example – Presentation, Business, Data Access layer with using of a single
software package. All data is saved on the local machine.
Some applications, manage all three tiers like an MP3 player, MS Office; but these types
of applications are presented under 1-tier architecture applications.
2-Tier Architecture
2-tier architecture provides the best client/server environment that helps to store user interface
on the client system and all database is saved on the server machine.
In this architecture, client and server machines are connected directly incorporation because if
the client is firing any input for server terminal, then in between should not any intermediate. So,
it delivers the output at the fastest rate and ignores misunderstandings between the other
clients.
Benefits
3-Tier Architecture
In this 3-tier architecture, middleware is needed because if the client machine sends the
request to the server machine then firstly this request is received by the middle layer, and
finally this request is obtained to the server.
So, the first response of the server is received by the middle layer then it is obtained to the
client machine. All data logic and business logic are stored on the middleware. Due to the
use of middleware, to improve its flexibility and deliver excellent performance.
The 3-tier architecture is divided into 3 layers such as presentation layer (Client Tier), the
Application layer (Business Tier), and the Database layer (Data Tier).
Benefits
Limitation
To increase the complexity of communication in between client and server because in
which middleware is also used.
N-Tier Architecture
This architecture is also known as the “Multitier Architecture”, so it is scaled form of 3-tier
architecture. In this architecture, entire presentations, application processing, and data
management functions are isolated from each other.
1. Web Servers
● Web server are high-performance computer system that can host multiples websites.
● On this server, to install different types of web server software like as Apache or
Microsoft IIS, which delivers access to hosted several websites on the internet, and
these servers are linked with internet through higher speed connection that delivers
ultra-data transmission rates.
2. Mail Servers
● Email servers helps to send and receive all emails. Some software runs on the mail
server which allows to administrator to create and handle all email accounts for any
domain that is hosted on the server.
● Mail servers use some protocols for sending and receiving emails such as SMTP, IMAP,
and POP3.
✔ SMTP protocol helps to fire messages and manages all outgoing email requests.
✔ IMAP and POP3 help to receive all messages and handle all incoming mails.
3. File Servers
A file server is a dedicated system that allows users to access all files. It works as a
centralized file storage location, and it can be accessed by several terminal systems.
4. DNS – DNS stands for “Domain Name Server “, and it has a huge database of different types
of public IP addresses, and they link with their hostnames
This type of server help to deliver all resources (like files, directories, shared devices such as
applications and printers) to client terminals like PCs, smartphones, PDAs, laptops, tablets,
etc.
There are different types of operating systems, which are installed on the workstations
like Windows 2000, Windows XP, Windows Vista, Windows 7, and Windows 10. These
workstation operating systems are cheaper compared to the server’s operating systems.
2. Server is an ultra-performer computer system that contains the fastest memory, more
hard drive space, and faster speed processors because they save and service several
requests which are coming from the workstation side.
A server plays different types of roles like a mail server, database server, file server, and
domain controller at the same time duration.
3. Network Devices – With the help of network devices; workstations and servers are
connected with each other. Every network device has its own functionality as a hub is
used for making a connection between server to multiple workstations, the repeater is
used for moving data from one device to another device, and bridges helps to isolate all
network segments.