Chapter 5: Web Applications and Distributed Systems Flashcards

1
Q

What model do web applications adopt?

A

Client/server architecture

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

What are some of the performance concerns of web application?

A
  • Forecasting volume of activity
  • Mechanisms for accessing database
  • Location of database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are performance problems with good security?

A

SSL, server needs to create a key for each request (computationally expensive)

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

What is Distributed Object Technology (DOT)?

A

DOT is merging of object orientated technology with distributed systems technology

  • The object is the unit of computation and distribution in a heterogenous multi-platform computing environment
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is middleware?

A

A region in between the client and server. Contains it’s own APIs

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

What is latency?

A

Latency is the difference in response time between a local and remote operation invocation

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

What are sources of latency?

A
  • Network speed
  • Middleware overhead
  • Communication overhead due to objects in different address space
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the differences between local vs remote object access?

A
  • Programmer must be aware of ultimate location of object on server
  • Execution environment must provide a uniform mechanism for accessing objects that hides their location
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is partial failure?

A

Failure occurs in a component or network while others continue to operate normally

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

What are two alternatives for coping with failures?

A
  • Treat all objects as if they were local (partial failures might be issue)
  • Treat all objects as if they were remote (adds extra latency)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are approaches to treating all objects uniformly?

A
  • Ignore the concurrency
  • Make all objects single threaded
  • Include concurrency semantics in all objects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How to have effective development with DOT?

A

Object locations and concurrency should be dealt with early as possible

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

What is the essence of developing distributed systems?

A
  • Prioritize placement of objects and the communication and synchronization between objects.
  • Adapt keep-it-simple approach, represent synchronization as a delay between client and server
  • Use software model approximation techniques to solve software execution models
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Types of System Interactions in Middleware

A
  • Synchronous
  • Asynchronous
  • Deferred Synchronous
  • Asynchronous Callback communication
How well did you know this?
1
Not at all
2
3
4
5
Perfectly