Tuesday, April 13, 2010

Pros, Cons and Differences. . .

Salam all..... =)


Today..I want to talk about the Pros and Cons of 3-tier Architecture and also the differences between 2-tier and 3-tier Architecture. First I will talk about the advantages and disadvantages of 3-tier architecture before we talk about the differences.


The Advantages and Disadvantages of 3-tier Architecture are divided by two. . . Development Issues and Performance.

Advantages. . .

## Development Issues:

- Complex application rules easy to implement in application server.
- Business logic off-loaded from database server and client, which improves performance.
- Changes to business logic automatically enforced by server – changes require only new application server software to be installed.
- Application server logic is portable to other database server platforms by virtue of the application software.


## Performance:
- Superior performance for medium to high volume environments.



Disadvantages. . .

##Development Issues:

- More complex structure.
- More difficult to setup and maintain.


## Performance

- The physical separation of application servers containing business logic functions and database servers containing databases may moderately affect performance.



Differences between 2-tier and 3-tier Architecture. . .

2-tier:

- The server holds both the application and the data.
- The application resides on the server rather than the client probably because the server will have more processing power and disk space than the PC.

3-tier:

- The data and applications are split onto separate servers with the server-side distributed between a database server and an application server.
- The client is a front end simply requesting and displaying data. Reason being that each server will be dedicated to processing either data or application requests hence a more manageable system and less contention for resources will occur.





p/s: http://channukambalyal.tripod.com/NTierArchitecture.pd.
http://www.geekinterview.com/question_details/17637.