DISTRIBUTED SYSTEMS CHAPTER 2 ARCHITECTURES
EXAM QUESTIONS AND ANSWERS
Software architecture - ANSWER tell us how the software components are
organized and how they interact
How can we separate applications from the underlying platforms? - ANSWER
- use a middleware layer which provides distribution transparency
System architecture - ANSWER - the final instantiation of a software
architecture where it goes on real machines
- this can include centralized or decentralized architecture
component - ANSWER a modular unit with well-defined interfaces and are
replaceable, while the system continues to operate
4 architectural styles - ANSWER - layered architecture (components are
organized in a heirarchy making calls down the layers)
- Object-based architecture
- resource-centered architecture
- Event-based architecture
communication protocol stacks - ANSWER each layer implements a
communication service with the layer offering an interface for functions that
can be called and allowing data to be sent to one or several targets
- communication protocol describes the rules that parties must follow to
exchange info
Transmission Control Protocol (TCP) - ANSWER - provides reliable, ordered,
and error-checked delivery of a stream of packets on the internet
- AF_NET and SOCK_STREAM are used to specify that the TCP protocol
should be used to communicate between two parties
Three logical levels in Application layering - ANSWER * application-
interface level
* processing level