Difference between 2 tier architecture and 3 tier architecture (2024)

This page compares 2 tier architecture vs 3 tier architecture and mentions difference between 2 tier architecture and 3 tier architecture.It mentions advantages and disadvantages of 2 tier architecture and 3 tier architecture.Link to basics of client server architecture is also mentioned.

2 tier architecture

Difference between 2 tier architecture and 3 tier architecture (1)

Following are the features of 2 tier architecture.
•It is Client Server Architecture.
•There will be direct communication between entities.
•It runs faster and it is tightly coupled between client applications and data source.
•It is divided into two parts viz. client application (known as client tier) anddatabase (known as data tier).
•On the client application side, the code is written for saving the data in the SQL serverdatabase.

Advantages and disadvantages of 2 tier architecture

Following are the advantages of 2 tier architecture.
•It is easy to maintain.
•The modification is very easy.
•Communication is very fast.

Following are the disadvantages of 2 tier architecture.
•Performance degrades when number of users increase.
•It is very cost effective.

3 tier architecture

Difference between 2 tier architecture and 3 tier architecture (2)

Following are the features of 3 tier architecture.
•It is used in web based applications.
•It has three layers viz. client layer, business layer and data layer.
•Client layer contains UI (User Interface) part. This layer takes input and gives outputto the user.
•Business layer is the interface between client and data layers.All the logic such as validation, calculation, data related operations exist at business layer.It helps communication fast between client and data layers.
•Actual database exist at data layer. It contains methods to connect with database.The operations such as insert, delete, updatem get data lies here.

Advantages of 3 tier architecture

Following are the advantages of 3 tier architecture.
•It is scalable as each tier can scale in horizontal direction.
•Better re-use is possible.
•Offers higher flexibility as far as configuration and platform deployment is concerned.
•It improves data integrity.
•It offers higher level of security as client does not have access to the database directly.
•It is easier to maintain and do any modification.
•Offers good performance as presentation tier does caching operations.This offers better network utilization and load is reduced on application tier anddata tiers.

Refer Client Server Architecture to know more on client and server definitions as well astypes of client server architecture.

Networking related links

Basics of OSI and TCPIP layers
Networking Gateway
What is Router
What is an IP address
network switch
network bridge
Hub and Types of Hub
What is MAC address

What is Difference between

hub Vs switchcircuit switching Vs packet switchingfirewall Vs routerHDLC Vs PPPIGRP Vs EIGRProuter Vs bridgeswitch Vs routerWLAN Vs Ethernet LANLAN vs WAN vs MAN

RF and Wireless Terminologies


Difference between 2 tier architecture and 3 tier architecture (2024)
Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 6352

Rating: 5 / 5 (80 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Sen. Emmett Berge

Birthday: 1993-06-17

Address: 787 Elvis Divide, Port Brice, OH 24507-6802

Phone: +9779049645255

Job: Senior Healthcare Specialist

Hobby: Cycling, Model building, Kitesurfing, Origami, Lapidary, Dance, Basketball

Introduction: My name is Sen. Emmett Berge, I am a funny, vast, charming, courageous, enthusiastic, jolly, famous person who loves writing and wants to share my knowledge and understanding with you.