|< < 3 > >|

2-tier and 3-tier architecture

2-tier architecture

A C program accessing a database is a 2-tier application.

  • Tier 1: The database.
  • Tier 2: The C program.

Communication between the tiers is the database protocol, implemented by the driver, (e.g. libpq, JDBC, ...).

|< < 3 > >|