Docsity

Scalability - Clouds and Power-Aware Computing - Lecture Slides, Slides of Computer-Aided Power System Analysis

Toggle sidebar
bg1
So far, we've constructed cloud applications according
to a (so far) unjustified set of "commandments: "
○
Thou shalt write thy client to contact only one
designated (logical) server.
a.
Thou shalt store all persistent data in distributed
objects, not on the server or client!
b.
Thou shalt exchange information with other
application instances only through use of distributed
objects, and not via direct communications between
instances.
c.
Thou shalt use strong consistency of the distributed
datastore to insure that application instances see the
same view of data.
d.
Scalability
Scalability Page 1
Docsity.com
pf3
pf4
pf5
pf8
pf9
pfa

Partial preview of the text

Download Scalability - Clouds and Power-Aware Computing - Lecture Slides and more Slides Computer-Aided Power System Analysis in PDF only on Docsity!

So far, we've constructed cloud applications according to a (so far) unjustified set of " commandments : "

Thou shalt write thy client to contact only one designated (logical) server. a. Thou shalt store all persistent data in distributed objects , not on the server or client! b. Thou shalt exchange information with other application instances only through use of distributed objects, and not via direct communications between instances. c. Thou shalt use strong consistency of the distributed datastore to insure that application instances see the same view of data. d. The commandments of cloud computing Scalability Docsity.com

So far, you've been taught to write killer apps through killer programs of high complexity. The lesson of the cloud: simple programs always win. I will emphasize how to fit a program into the cloud, by simple application of internally complex black boxes. This means: the real complexity of programming the cloud is in dealing with complex interfaces. Basic theme of this lecture Docsity.com

An application is the combination of client-side and server-side code that results from a project. A server is a physical or virtual machine that runs applications. A service is a specific mechanism for responding to requests from within an application. Some vocabulary Some vocabulary Docsity.com

… and a machine that follows the blueprint. A blueprint for a server … and a running application that follows the blueprint. An application as a blueprint for execution … and a running service that has that behavior. A service as a blueprint for behavior We want to be able to distinguish between Alas, this language is inadequate Inadequacies of language Docsity.com

A server (class, configuration) is a blueprint for building a server. A server instance is a machine built (deployed) to those specifications. An application (class, deployable) is a blueprint for interactions with the cloud. An application instance is an executing (deployed) program that satisfies that blueprint. A service (class) is a blueprint for behavior in responding to clients. A service instance is a running (deployed) service that satisfies that blueprint. Objects and instances Objects and instances Docsity.com

An application is deployed as a set of application i nstances. Each application instance is assigned to and executes on a (unique) server instance. Each application instance consists of one or more service instances, e.g., google AppEngine servlets. Deployment, objects, and instances Deployment, objects, and instances Docsity.com

An application is like a program: it has the potential to run and provide services. It is also like a class, in the sense that it has predefined properties. An application instance is analogous to a running program (process) ; it is providing services. It has the character of a class instance. Applications versus application instances Applications versus application instances Docsity.com