Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 2 out of 8 pages
Exam (elaborations)

DISTRIBUTED SYSTEMS CH.2 ARCHITECTURES QUESTIONS WITH 100%VERIFIED ANSWERS

Document preview thumbnail
Preview 2 out of 8 pages

DISTRIBUTED SYSTEMS CH.2 ARCHITECTURES QUESTIONS WITH 100%VERIFIED ANSWERS

Content preview

DISTRIBUTED SYSTEMS CH.2
ARCHITECTURES QUESTIONS
WITH 100%VERIFIED ANSWERS
Three logical levels in Application layering - ✔✔* application-interface level
* processing level
* data level (data is persistent and responsible for keeping data consistent across apps)



Object-based and Service-oriented Architectures - ✔✔- each object is a component
and components are connected through procedure calls
- benefits: encapsulate data (called an objects state) and the operations (or methods) into a
single entity
- when a client binds to a distributed object the implementation of the object's interface, called a
proxy, is loaded into the client's address space


proxy - ✔✔- the implementation of an object interface

- it mashal's method invocations into messages and unmarshals reply messages to return
the result of the method invocation to the client
- incoming invocations from the client are passed to a server stub called a skeleton,
which unmarshals the request to make method invocations at the object interface



remote objects - ✔✔- a distributed object where the state is not distributed (its on a
single machine)
- only the interfaces implemented by the object are available on other machines


In service-oriented architecture (SOA) a distributed app is a composition of many _______ -
✔✔- different services that may not all belong to the same administrative org
- thus SOA is based on service composition



One of the problems with service composition - ✔✔- connecting different components
can turn into an integration nightmare

, An alternative to service composition that helps deal with integration hassles - ✔✔-
resource based architectures
- the distributed system is a huge collection of resources managed by components
where resources can be added or removed



Representational State Transfer (REST) architecture - ✔✔1. Resources are identified
through a single name scheme
2. All services offer the same interface consisting of four operations at most (PUT, GET,
DELETE, POST)
3. Messages sent to or from a service are fully self-described
4. After executing an operation at a service, that component forgets everything about the caller
(stateless execution)


S3 is an example of what architecture - ✔✔RESTful architecture
- GET request to a URI of a bucket to get a list of objects
- PUT request with the URI of the bucket and object



Disadvantage of RESTful architecture - ✔✔- it can prohibit easy solutions to
intricate communication schemes
- for example if distributed transactions are needed then services need to keep track of the state
of execution



Publish-subscribe architectures - ✔✔- dependencies between process are loosely
coupled - strong separation between processing and coordination



Cabri taxonomy of coordination models and coupling - ✔✔- direct = temporally coupled
and referentially coupled
- mailbox = temporally DEcoupled and referentialy coupled
- event-based = temporally coupled and referentially DEcoupled

Document information

Uploaded on
May 1, 2025
Number of pages
8
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$12.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
QUINTER
3.6
(73)
Sold
413
Followers
105
Items
40085
Last sold
6 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions