Professional Documents
Culture Documents
level
• Architecture, by itself, is unable to achieve qualities. It provides the
foundation for achieving quality
Layered pattern
▪ Context: complex systems need to develop and evolve portions of the
system independently
▪ Problem: software needs to be segmented; to support portability,
modifiability, and reuse
▪ Solution: divides the software into units called layers (grouping of modules
that offers a cohesive set of services)
- allowed-to-use relationship is unidirectional, also not circular
- only next-lower-layer uses are allowed
- layer bridging: higher layer using modules in a nonadjacent lower
layer (Portability and modifiability will be harmed)
Broker pattern
▪ Context: systems are constructed from a collection of services distributed
across multiple servers
- systems will interoperate with each other
▪ Problem: structure distributed software so that service users do not need
to know the nature and location of service providers
▪ Solution: separates users of services (clients) from providers of services
(servers) by inserting an intermediary, called a broker
- Broker’s tasks
✓ Locating appropriate server
✓ forwarding requests to server
✓ transmitting results and exceptions to client
- It replaces a failed server with another.
- It assigns work to the least-busy server.