Distribution Strategies Flashcards

(6 cards)

1
Q

Talk about Distributed Applications

A

Applications with distributed objects communicate remotely, objects from application design become separate components at implementation, and each is executed on a separate processing node

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

Talk about local interfaces

A

For local calls, many methods with simple functionality. No problem if many calls are needed (ex: methods to set part of an address)

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

Talk about remote interfaces

A

For remote calls, complex functionality, maximize number of calls (one method to set an address)

recommendation: minimize remote calls, avoid distributed objects

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

What’s the alternative for remote calls?

A

Horizontal scalability (many computers with many replicas)
- all application objects are hosted in a single machine, then execute multiple of the app on different machines

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

What are the unavoidable remote calls?

A
  • Between client and server
  • Between application server and database
    _ usually there’s separate machines to
    improve performance and shared data
    to avoid synchronization issues
    _ Leverage SQL Remote Interface, well
    prepared to minimize issues due to
    remote calls.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Talk about distributed object patterns

A
  • Remote facade: group methods that are called remotely in a single interface. Built on top of simpler local methods
    -Data transfer object: for return calls that receive or return objects, simplified version of the local object that reduces the amount of data sent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly