Why do we use three tier arc开发者_如何转开发hitecture?
Here are a few possible reasons: client/server doesn't work well over the Internet, doesn't scale as well, and is harder to secure.
In the web development field, three-tier is often used to refer to websites, commonly electronic commerce websites, which are built using three tiers:
- A front-end web server serving static content, and potentially some are cached dynamic content. In web based application, Front End is the content rendered by the browser. The content may be static or generated dynamically.
- A middle dynamic content processing and generation level application server, for example Java EE, ASP.NET, PHP platform.
- A back-end database, comprising both data sets and the database management system or RDBMS software that manages and provides access to the data.
The End-To-End traceability of n-tier systems is a challenging task which becomes more important when systems increase in complexity. The Application Response Measurement defines concepts and APIs for measuring performance and correlating transactions between tiers.
To keep the Internet away from machines that have no business being there.
Internet | Firewall | Load Balanacer | switch | <-> Web <-> Application <-> Database
精彩评论