OOP AND DISTRIBUTED SYSTEMS Flashcards

1
Q

What is a distributed system

A

• A distributed system is a network that consists of autonomous
computers that are connected using a distribution middleware.
• They help in sharing different resources and capabilities to
provide users with a single and integrated coherent network.

“A distributed system is one in which hardware or software
components located at networked computers communicate and
coordinate their actions only by message passing.”

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

Draw a diagram showing a distributed system

A

*See notes for pics(2)

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

Give differences between centralized and decentralized Systems

A

• Centralized Systems
– Centralized systems have non-autonomous components
– Centralized systems are often build using homogeneous technology
– Multiple users share the resources of a centralized system at all times
– Centralized systems have a single point of control and of failure
• Distributed Systems
– Distributed systems have autonomous components
– Distributed systems may be built using heterogeneous technology
– Distributed system components may be used exclusively
– Distributed systems are executed in concurrent processes
– Distributed systems have multiple points of failure

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

What is the relationship between Distributed systems and computer networks

A

Every distributed system relies on services provided by a
computer network.
Networks focuses on packets, routing, etc., whereas distributed
systems focus on applications.

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

Give examples of distributed systems

A
  • Internet
  • Intranet
  • Mobile/Ubiquitous Computing
  • Automatic Teller Machine Network
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the basic model for giant-scale services. Use a diagram

A

Clients connect via the Internet and then go through a load manager that hides down nodes and balances traffic.

*See notes for pic

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

What is the focus for the basic model for giant-scale services.

A
  • High availability
  • Replication
  • Degradation
  • Disaster tolerance
  • Online evolution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Give examples of giant-scale services

A
  • Aol
  • Microsoft network
  • Yahoo
  • eBay
  • Amazon
  • Google
  • CNN
  • Facebook
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the advantages of the basic model that giant-scale services follow

A
  • Access anywhere, anytime
  • Availability via multiple devices
  • Groupware support
  • Lower overall cost
  • Simplified service updates
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Give a brief listing of the reasons why there is need for distributed systems

A
  1. Technological changes
  2. User needs
  3. Functional separation
  4. Inherent distribution
  5. Power imbalance and load variation
  6. Reliability and economies
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Describe technological changes as a motivation for distributed systems

A

l Growth in microelectronics (e.g., VLSI – Very Large Scale
Integration, etc) has enabled price-performance ratio to
favor multiple low-performance processors rather than
single high-performance processors.

l Interconnection and communication costs have fallen

dramatically – LANs, etc are now readily available and cost-
effective.

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

Describe user needs as a motivation for distributed systems

A

l Increased desire to provide computing power (processing)
where it is needed. Users need more sophisticated facilities
– faster, reliable, etc.

l There is also managerial desire to decentralize.

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

Describe functional separation as a motivation for distributed systems

A

– Existence of computers with different capability & purpose:

  • Clients and Servers
  • Data collection and data processing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Describe inherent distribution as a motivation for distributed systems

A
• Information
– Different information is created and maintained by
different persons (e.g., Web pages);

• People
– Computer supported collaborative work (virtual
teams, engineering, virtual surgery)

• Retail store and inventory systems for supermarket
chain

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

Describe power imbalance and load variation as a motivation for distributed systems

A

• Distribute computational load among different computers

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

Describe reliability and economies as a motivation for distributed systems

A

Reliability:
• Long term preservation and data backup (replication) at
different location.

• Economies:
• Sharing a printer by many users and reduce the cost of
ownership.
• Building a supercomputer out of a network of computers.

17
Q

What is a cluster

A

“A type of parallel or distributed processing system,
which consists of a collection of interconnected stand- alone computers cooperatively working together as a
single, integrated computing resource”

18
Q

Briefly describe an RPC

A

Remote Procedure Call (RPC) is a powerful technique for constructing distributed, client-server based applications. It is based on extending the conventional local procedure calling so that the called procedure need not exist in the same address space as the calling procedure. The two processes may be on the same system, or they may be on different systems with a network connecting them.