N-Tier Architecture

Learn about N-tier architecture and its layers.

Overview

N-tier or multitier architecture is a way of organizing and dividing the components of a computer system into distinct layers or tiers. The tiers can be defined based on the functionality of the components or the computing environment in which the system will run. When the tiers are based on the functionality of the components, the architecture is considered a control and communication pattern. However, when the tiers are defined with an eye toward the computing environment, the architecture is considered an allocation pattern.

Tiers refer to physical partitions and are also associated with multilayered architecture. The three-tier design, which divides logic into the display, business, and data layers, is one of the most extensively used forms of layered architecture.

Press + to interact
Overview of N-tier architecture layers
Overview of N-tier architecture layers

Tiers vs. layers

In literature, many times, tiers and layers are discussed together. However, there’s a small but important difference between the two. Layers are the logical separation, whereas tiers talk about the physical separation.

Therefore, layers are a means to structure functionality and components when splitting application logic. In a three-layered design, ...