110 likes | 248 Views
LSSA 10 - Process and Deployment Design. Five Views. Physical database Process Process state Deployment Canonical server. Physical Database. How is the data stored in different databases? Oracle, DB2 ISAM Flat files, XML Custom. Physical Database. Size Growth rate
E N D
Five Views • Physical database • Process • Process state • Deployment • Canonical server
Physical Database How is the data stored in different databases? Oracle, DB2 ISAM Flat files, XML Custom
Physical Database Size Growth rate Transaction rates Archive policies Kinds of queries
Process view Problems with multiple processes Order of process startup and shutdown Process failure and recovery Allocation of components to processes Load balancing Process intercommunication Shared resources
Process View Web browser Web server Info server Teller client Teller server Database server
Process State • Describe the states, the state transitions, and the interactions between processes • Can model the states of a process or of its components • Used to avoid deadlock and starvation and to prevent interference between processes
Process State [Init Success] Initializing Operating [Diag OK] [Init Failure] / SendAlarm(InitFailure) [System Error or Shutdown Request] Diagnosing Startup ENTRY/SendAlarm(Diag) [Diag Failure] / SendAlarm(StartFailure) Shutting down
Deployment View • Shows the nodes that processes and components are run on Web server DB server
Canonical Server(Scalable Server) • Scalable system must duplicate servers • Canonical server shows the design of a server that can be duplicated • Replication is hard • Most often purchased as a component (Oracle, MTS) or a standard design (web server)
Summary • Many possible views • Can express most of them in UML • Often not needed • You need to know a lot more than just UML to understand these views