DEV Community

VISHAK
VISHAK

Posted on

Two-Tier Architecture

In two-tier architecture, the presentation layer or user interface layer runs on the client side while dataset layer gets executed and stored on server side.

Data is stored in a seperate server that offers greater control over the server along with higher level of security. Even if the application fails, data will be stored securely in the server and can be retained. Backup data in multiple servers will defenitely improves the data redundancy.

The user system interface is usually located in the user’s desktop environment and the database management services are usually in a server that is a more powerful machine that services many clients. There wont be any business logic layers between the application layer and database.

Image description

Advantages:

1) As most of the data is stored centrally in the server, it is much easier to do updates on the data. This is one of the simplest architectural styles.

2) Since this contains static business rules it’s more
applicable for homogenous environments.

3) Easy to maintain.

4) It runs faster and it is tightly coupled between client
applications and data source.

Disadvantages:

1) Cannot be used for higher applications.

2) Scalability will be problematic.

Top comments (0)