Middleware Flashcards

1
Q

What is the primary purpose of middleware in modern distributed systems?

A

To operate as an intermediate layer between OS layer and application layer to facilitate component interaction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What transparency-related function does middleware provide?

A

It abstracts away the complexity of network programming

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the scalability aspect of middleware?

A

It handles large numbers of components and supports dynamic resource allocation and load balancing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does openness mean in middleware context?

A

Support for heterogeneous components developed with different technologies and platform independence

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is adaptivity in middleware systems?

A

The ability to handle dynamic component joining and leaving without relying on a priori information

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is context-awareness in middleware?

A

The ability to dynamically retrieve environmental information and adapt to environmental dynamics

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the main components of Remote Method Invocation (RMI)?

A

Stub (Client-side proxy), Skeleton (Server-side handler), and Registry for service lookup

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the role of a stub in RMI?

A

It acts as a client-side proxy for method invocation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How does attribute-based discovery differ from traditional naming service?

A

It uses a set of attributes instead of simple names for service discovery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the three subscription models in event-based middleware?

A

Topic-based, Content-based, and Type-based

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the difference between synchronous and asynchronous notification in event-based models?

A

Synchronous provides immediate delivery, while asynchronous uses queued delivery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the main benefit of asynchronous notification?

A

It offers space and time decoupling, allowing components to exist on different networks at different times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the main data types supported in shared dataspace models?

A

Simple variables, Tuples, Objects, Structured files, and Binary files

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What are the three main data access operations in shared dataspace models?

A

Put (write), Read (non-destructive), and Take (destructive)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the main advantage of shared dataspace models?

A

Space and time uncoupling, plus nice representation of common context for interactions

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the main drawback of shared dataspace models?

A

Components may have to actively poll the dataspace to understand what’s happening

17
Q

What are the advantages of centralized middleware implementation?

A

Simple implementation, consistent state, and easy maintenance

18
Q

What are the disadvantages of centralized middleware implementation?

A

Single point of failure, limited scalability, and performance bottleneck

19
Q

What are the coordination policies in distributed middleware implementation?

A

Hierarchical distribution, Global replication, Request forwarding, and Partial replication

20
Q

What are the advantages of distributed middleware implementation?

A

High availability, better scalability, and fault tolerance

21
Q

What are the challenges of distributed middleware implementation?

A

Consistency maintenance, synchronization overhead, and complex implementation

22
Q

What is CORBA?

A

Common Object Request Broker Architecture - a pioneering middleware technology for distributed computing across different platforms

23
Q

What is .NET Framework’s role in middleware?

A

Microsoft’s comprehensive approach to enterprise middleware for building and deploying distributed applications

24
Q

What are the main open issues in middleware?

A

User-aware services, Pervasive Computing Integration, Semantic Services, Autonomic Computing, and Multi-agent Systems