Middleware Flashcards
What is the primary purpose of middleware in modern distributed systems?
To operate as an intermediate layer between OS layer and application layer to facilitate component interaction
What transparency-related function does middleware provide?
It abstracts away the complexity of network programming
What is the scalability aspect of middleware?
It handles large numbers of components and supports dynamic resource allocation and load balancing
What does openness mean in middleware context?
Support for heterogeneous components developed with different technologies and platform independence
What is adaptivity in middleware systems?
The ability to handle dynamic component joining and leaving without relying on a priori information
What is context-awareness in middleware?
The ability to dynamically retrieve environmental information and adapt to environmental dynamics
What are the main components of Remote Method Invocation (RMI)?
Stub (Client-side proxy), Skeleton (Server-side handler), and Registry for service lookup
What is the role of a stub in RMI?
It acts as a client-side proxy for method invocation
How does attribute-based discovery differ from traditional naming service?
It uses a set of attributes instead of simple names for service discovery
What are the three subscription models in event-based middleware?
Topic-based, Content-based, and Type-based
What is the difference between synchronous and asynchronous notification in event-based models?
Synchronous provides immediate delivery, while asynchronous uses queued delivery
What is the main benefit of asynchronous notification?
It offers space and time decoupling, allowing components to exist on different networks at different times
What are the main data types supported in shared dataspace models?
Simple variables, Tuples, Objects, Structured files, and Binary files
What are the three main data access operations in shared dataspace models?
Put (write), Read (non-destructive), and Take (destructive)
What is the main advantage of shared dataspace models?
Space and time uncoupling, plus nice representation of common context for interactions