a reference architecture for web servers
play

A Reference Architecture for Web Servers - PowerPoint PPT Presentation

A Reference Architecture for Web Servers


  1. A Reference Architecture for Web Servers ����������������������������� ���������������������������� ���������������������� ������

  2. Reference Architecture • Architecture template for software systems in a domain • A product architecture is an instantiation of • A product architecture is an instantiation of the reference arch • Defines the fundamental components and the relations between them • Well known for mature domain (eg. Compilers, Operating Systems)

  3. Compiler Ref. Arch. Source Source Binary Binary Sem. Sem. Code Code Scanner Scanner Parser Parser Analyzer Gen.

  4. Reference Architecture Benefits • Documents existing well-proven designs • Helps build complex systems • Provides a common vocabulary • Provides a common vocabulary • Aids in the comparison of different architectures in the same domain • Improves code reuse

  5. Paper Overview • We present: – A process to derive a reference architecture by non-domain experts non-domain experts – A reference architecture for web servers – Mapping it to different product architectures

  6. The Web Server Domain

  7. BROWSER WEB SERVER Operating System Resources Servlet CGI Files Program

  8. Web Servers • Apache • Microsoft - IIS • Netscape - iPlanet Server • Netscape - iPlanet Server • AOL Server • Jigsaw

  9. Summary: 3 Servers 1 st Web Main Dev Code Lang. Arch. type stable Server arch. release size (KLOC) Apache Apache Robert Robert Open Open April April 80 80 C C 5 yrs 5 yrs Thau source 1995 AOL - Comm May 164 C & - Server ercial 1995 TCL Jigsaw Yves Experi May 106 Java 2.5 yrs Lafon mental 1996

  10. Conceptual vs. Concrete Architecture • Conceptual Architecture: – Resides in the head(s) of the developer(s) – Mental model: incomplete, inaccurate, ideal – Mental model: incomplete, inaccurate, ideal • Concrete Architecture: – Extracted from the system’s implementation – Many mismatches with the conceptual architecture

  11. Process for Deriving Ref. Arch. Reference Architecture for Web Servers Conceptual Conceptual Conceptual Architecture Architecture Architecture Concrete Concrete Concrete Architecture Architecture Architecture Apache AOLServer Jigsaw

  12. Web Server Reference Architecture Architecture

  13. Reception Request Record Analysis Transaction Access Resource Control Handler Util Operating System Abstraction Layer Web Server Reference Architecture Control flow All depend on

  14. Mapping the Reference Architecture to a Web Server Architecture to a Web Server

  15. The Apache Web Server

  16. Recep. Req. Analysis. Request Trans. Core Translation Logging Access Ctrl. Req. Handler. Authen- Authen- Author- Author- MIME MIME Response tication ization type Util OS Layer OSAL. Util. Apache: Conceptual to ref. architecture mapping Apache: Conceptual Architecture

  17. The AOL Web Server

  18. Recep. & Req. Analysis. Communication Driver Access Ctrl. Request Trans. Daemon – Core NSPerm NSLog Req. Handler. URL Handle Database TCL Timer Util NSThread Interface Interpreter Util. OSAL. AOLServer: Conceptual to ref. architecture mapping AOLServer: Conceptual Architecture

  19. Mapping Summary • Conceptual arch. of 3 servers maps nicely to ref. arch. • Main differences are splitting and merging • Main differences are splitting and merging of subsystems • The derived architecture is independent of development methodology

  20. Conclusions • Ref. arch.: Framework to assist in forward and reverse engineering • Conceptual arch: Each server maps nicely • Conceptual arch: Each server maps nicely to the derived reference architecture • Needs more validation

Recommend


More recommend