A logical layer groups code by responsibility, such as presentation, business logic, and data access. It describes how code is organized, not where it runs. section 4.2.3
Keep code structure and deployment structure separate:
- Layers are logical groups of code; tiers are physical deployments on different machines or processes. A three-layer app can run on one server or across three tiers. section 4.2.3
- Running presentation code on ten servers to handle traffic is horizontal scaling, not ten tiers. A new tier means crossing a network boundary to another responsibility. section 4.2.3
Figure 4.2 Layers are a logical separation, while tiers are a physical separation.

Use the diagram to compare logical layers with physical tiers. section 4.2.3
