DEV Community

VISHAK
VISHAK

Posted on

1

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.

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay