N-Tier / N-Layer Architecture (2024)

N-Tier / N-Layer Architecture (1)

  • Report this article

Swapnil Baxi N-Tier / N-Layer Architecture (2)

Swapnil Baxi

CTO & Co-Founder at CloudSight Technologies

Published Jun 5, 2015

+ Follow

N-Tier and N-Layer areentirelydifferent concepts. People generallyuse this term during the design of the application architecture. N-Tier refers to the actual n system components of your application.On the other hand, N-Layers refer to the internal architecture of your component.

N-Tier architecture usually has atleast three separate logical parts, each located on separate physical server. Each tier is responsible for a specific functionality. Communication between tiers is typically asynchronous in order to support better scalability.N-Layers of application may reside on the same physical computer (same tier) and the components in each layer communicates with the components of other layer by well defined interfaces. Layered architecture focuses on the grouping of related functionality within an application into distinct layers that are stacked vertically on top of each other.

N-Tier / N-Layer Architecture (3)

Pros and Cons of Tier and Layerd Architecture

  • Tiers indicate a physical separation ofcomponents, which may mean differentassemblies on the sameserver or multiple servers.Layers refers to a logical separationof components, such as having distinct namespaces and classes for the DatabaseAccess Layer (DAL), Business Logic Layer (BLL)and User Interface Layer (UIL).
  • Tiers could be on different machines, so they communicateby Value only – as serialized objects. Multi-layered design is suitable for small to mid-sizeprojects only.
  • Tiers could be on different machines, so they communicateby Value only – as serialized objects. Layer communicates with each other either by Value or byReference.
  • Tiered Architecture has all advantages of LayeredArchitecture +scalability as application will be deployed indifferent machines so load will be shared among the tiersand scalability will increase. Layered Architecture will improve readability and reusability

In Tier Architecture ASP.NET Web Servicesor .NET Remoting can be used in placeof Database Access Layer and BusinessLogic Layer. In .NET 3.0 & above WindowsCommunication Foundation (WCF) Servicescan be used, that will be great, it seems likeWeb Services but more powerful, secure andflexible than Web Services.

Help improve contributions

Mark contributions as unhelpful if you find them irrelevant or not valuable to the article. This feedback is private to you and won’t be shared publicly.

Contribution hidden for you

This feedback is never shared publicly, we’ll use it to show better contributions to everyone.

Like
Comment

90

12 Comments

Zeeshan Shakeel

Flutter Tech Lead | iOS (Native) Tech Lead | Mobile Architect (VP) & x-Daraz (Alibaba) Principal Mobile Lead Engineer | Agile Practitioner

1y

  • Report this comment

Simple and clear distinction between N-Tier and Layered architecture. Worth a read. Well done.

Like Reply

1Reaction

PRITAM KARMAKAR

Top Talent FY23 | Senior Software Engineer at Persistent Systems

2y

  • Report this comment

This article proved very helpful to me. Thank you Sir. 😄

Like Reply

2Reactions 3Reactions

Madhura Oak

-

8y

  • Report this comment

Why do you say that multi-layered design is suitable for small to midsize projects? In an enterprise application there could be multiple tiers and each tier can have multiple layers. One important point while designing application layers which you have stated is to have a unique responsibility for each layer, clear demarcation between layers and ensuring that only adjacent layers communicate with each other. For example, OSI model. Avoiding this could make application maintenance difficult as its scope increases. There is no such requirement for tiers. As you have written same application could be deployed on horizontal cluster for scalability.

Like Reply

3Reactions 4Reactions

SYAM, P.

Visionary .Net & Multi-Cloud Architect & Strategic Advisor | Orchestrating Success, Driving Progress | Providing Direction, Achieving Excellence

8y

  • Report this comment

You are right, many techies feels both are same but in reality it is not. This is very helpful article. Keep posting new articles.

Like Reply

1Reaction 2Reactions

See more comments

To view or add a comment, sign in

More articles by this author

No more previous content

  • Managing .NET application session state in Azure Cloud Jul 5, 2020

No more next content

Sign in

Stay updated on your professional world

Sign in

By clicking Continue, you agree to LinkedIn’s User Agreement, Privacy Policy, and Cookie Policy.

New to LinkedIn? Join now

Insights from the community

  • Systems Design How can you effectively use the pipe-and-filter architecture design pattern for Systems Design?
  • Systems Engineering What is the most effective way to evaluate your system architecture?
  • Systems Design How do you design high-performance systems that are functional?
  • Application Development What are the benefits and drawbacks of using the pipe-and-filter architecture pattern?

Others also viewed

  • Architecture Simplified Arindam Dutta 6y
  • Layer Vs Tier Swekriti Sharma 5y
  • Application Landscape Patterns Rabab Zein 1mo
  • Robustness Analysis for Application Architecture Design MyExamCloud 5mo
  • Software Architecture - Significant decisions Fernando S. 5y
  • Software Architecture Patterns - 1 Kapil Uthra 2y
  • Why use Onion and not N-tier architecture Roman S. 5y
  • What is Vertical Slice Architecture? Haider Raza Awan 1y
  • Why Microkernel Architecture is Key to any Integration Platform? Arindam Chakraborti 1y
  • Why Microkernel Architecture is Key to any Integration Platform? Subhajit Goswami 1y

Explore topics

  • Sales
  • Marketing
  • Business Administration
  • HR Management
  • Content Management
  • Engineering
  • Soft Skills
  • See All
N-Tier / N-Layer Architecture (2024)
Top Articles
Latest Posts
Article information

Author: Sen. Emmett Berge

Last Updated:

Views: 6367

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.