Recently MeroSpark is lunched with more features and services, now you can ask your question, sell your books, share your notes and many more. Visit now and create your account to take full advantage of MeroSpark.

2-Tier Architecture, 3-Tier Architecture and n-Tier Architecture | Web Technologies

Download our Android App from Google Play Store and start reading Reference Notes Offline.

2 tier, 3 tier and n tier architecture2-Tier, 3-Tier and n-Tier Architecture,
Web Technologies Notes| Sixth Semester,
BSc.CSIT | Tribhuvan University (TU)

2-Tier Architecture
2-tier architecture is defined as client/server systems where the client requests resources and the server provide services to the client as requested, using its own resources. This means that the server does not rely on another application in order to provide part of the service. It runs the client processes separately from the server processes, usually on a different computer:

A two-tier architecture is a software architecture in which a presentation layer or interface runs on a client, and a data layer or data structure gets stored on a server. Separating these two components into different locations represents a two-tier architecture.

The business logic that validates data, monitors security and permissions, and performs other business rules can be housed on either the client or the server, or split between the two.
2 tier architecture

3-Tier Architecture
In 3-tier architecture, there is an intermediary level, meaning the architecture is generally split up between:

  • A client, i.e. the computer, which requests the resources, equipped with a user interface (usually a web browser) for presentation purposes.
  • The application server (also called middleware), whose task is to provide the requested resources, but by calling on another server.
  • The data server, which provides the application server with the data it requires.
    3 tier architecture

N-Tier Architecture (multi-tier)
N-tier architecture is 3 tier architectures in which the middle tier is split up into new tiers. The application tier is broken down into separate parts. These parts differ from system to system.

The primary advantage of N-tier architectures is that they make load balancing possible. Since the application logic is distributed between several servers, processing can then be more evenly distributed among those servers. N-tiered architectures are also more easily scalable, since only servers experiencing high demand, such as the application server, need be upgraded. The primary disadvantage of N-tier architectures is that it is also more difficult to program and test an N-tier architecture due to its increased complexity.
n tier architecture

(Visited 1,431 times, 8 visits today)

Posted By : Digvijay | Comment RSS | Category : Sixth Semester
Tag :

Post a Comment

Your email is never published nor shared. Required fields are marked *


Wordpress DMCA
Community | Toolbar | Android App | Founder/Developer : Hari Prasad Chaudhary | CSIT Portal Manager : Digvijay Chaudhary