Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Main Difference Between 3-tier & n-tier Architecture in .NET?

I have searched Google to find the main difference between 3-tier and n-tier architecture in .net but I have failed to find it out. Several sites said both are the same in nature and some of the sites said there are differences between them.

I want to know the major differences, and which one is better in performance optimization?

like image 810
immayankmodi Avatar asked Jul 18 '12 13:07

immayankmodi


People also ask

What is the difference between 2 tier and 3-tier?

A two-tier DB architecture either buries the application logic within the server database, on the client (inside the UI), or both of them. A three-tier DB architecture buries the process or application logic in the middle-tier. Thus, it acts as a separate entity from the Client/ User Interface and the data Interface.

What is the difference between 3 layer and 3 tier architecture?

In simple term 3 layer architecture can implement in single machine then we can say that its is 1 tier architecture. If we implement each layer on separate machine then its called 3 tier architecture.

What is the advantage of 3-tier?

The chief benefit of three-tier architecture is that because each tier runs on its own infrastructure, each tier can be developed simultaneously by a separate development team, and can be updated or scaled as needed without impacting the other tiers.

What is the meaning of 3-tier?

A 3-tier application architecture is a modular client-server architecture that consists of a presentation tier, an application tier and a data tier.


2 Answers

3-tier architecture is general architecture in software development and it consists of

  • Presentation layer (client browser)

  • Application or Business logic layer

  • Data Layer

n-tier architecture in .Net

enter image description here

The main difference is that n-tier arch got 2 extra layers. Example on data layers one part of developers are SQL developers whose work on DB server (making DB structure, writing Stored procedures and so forth), and .Net developers whose work on consuming that stored procedures and making abstraction ( implementing repository pattern)...

Hope this help you.

like image 160
Nikola Mitev Avatar answered Sep 19 '22 16:09

Nikola Mitev


I know this question is old, but the really simple and ultimately correct answer is:

3-tier is N-tier where N=3.

like image 32
CodeRedick Avatar answered Sep 19 '22 16:09

CodeRedick