IPC basics Flashcards

1
Q

What are the 5 types of middleware?

A
  1. Transaction-oriented
  2. Procedure-oriented
  3. Object-oriented
  4. Message-oriented
  5. Service-oriented
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the advantages of Transaction-Oriented middleware?

A
  • Provides ACID properties across distributed database

- Perform transaction across distributed machines

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

What are the disadvantages of Transaction-Oriented middleware?

A
  • Doesn’t scale

- Components are large-grained

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

What are the advantages of Procedure-Oriented middleware?

A
  • Make remote call (abstraction)

- Encourages distribution

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

What are the disadvantages of Procedure-Oriented middleware?

A
  • Tight binding
  • Can’t reliably detect failure
  • Language dependent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What are the advantages of Object-Oriented middleware?

A
  • Encapsulated state
  • Strong interfaces which define ways to access the objects
  • No explicit de-allocation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the disadvantages of Object-Oriented middleware?

A
  • Challenging to develop IDL

- Need to find a uniform way to interact with object references

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

What are the advantages of Message-Oriented middleware?

A
  • Location transparent
  • Provides an abstraction for routing
  • Asynchronous
  • Dynamically add new components (more specialised)
  • Define QoS guarantees
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the disadvantages of Message-Oriented middleware?

A
  • Sender doesn’t know if their message has been received
  • Can only be tackled at a system level
  • Potentially more complex function in the server
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of Service-Oriented middleware?

A
  • No notion of state

- Services are accessed using endpoints

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

What are the disadvantages of Service-Oriented middleware?

A
  • Heavy messages because state is in messages
  • Less intuitive
  • Doesn’t map to every application
How well did you know this?
1
Not at all
2
3
4
5
Perfectly