cloud computing mit mathematischen anwendungenkit – the cooperation of forschungszentrum karlsruhe...

30
www.kit.edu 04.08 KIT – the cooperation of Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH) Cloud Computing mit mathematischen Anwendungen Vorlesung SoSe 2009 Dr. Marcel Kunze Karlsruhe Institute of Technology (KIT) Steinbuch Centre for Computing (SCC)

Upload: others

Post on 07-Aug-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

www.kit.edu

04.0

8

KIT – the cooperation of Forschungszentrum Karlsruhe GmbH und Universität Karlsruhe (TH)

Cloud Computing mit mathematischen Anwendungen

Vorlesung SoSe 2009

Dr. Marcel KunzeKarlsruhe Institute of Technology (KIT) Steinbuch Centre for Computing (SCC)

Page 2: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze2

Agenda Cloud Computing1. Einleitung

Was ist Cloud Computing?2. Grundlagen

Virtualisierung, Web Services, Java, …3. Cloud Architekturen

Infrastruktur, Plattform, Anwendung4. Cloud Services

Amazon Web Services, Google App Engine5. Aufbau einer Cloud

OpenCirrus Projekt, Eucalyptus6. Cloud Algorithmen

MapReduce, Optimierungsverfahren, …

Praktische Übungen und AnwendungenVorlesung im Web: http://www.mathematik.uni-karlsruhe.de/mitglieder/l ehre/cloud2009s/

Page 3: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze3

Web-basierte Software-Produkte

Web SystemHypermedia-Infrastruktur, die das Ausführen von Web -Applikationen erlaubt

Web-ApplikationVerteilte Anwendung auf WWW-Techniken basierend, au fgebaut aus Web-Ressourcen

Web-RessourcenDurch einen Web-Server geliefertes Objekt, mit stan dardisierten Protokollen, auf Request eines Web-Klienten

Page 4: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze4

Request/Response Model

Page 5: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze5

Client-Server Model

Page 6: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze6

Hypertext Markup Language (HTML)

Page 7: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze7

HTML

Page 8: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze8

eXtensible Markup Language (XML)

Extension of HTML for structured dataA way to represent machine readable informationXML documents are composed of elements and attributes

Page 9: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze9

Footnote

Page 10: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze10

Data – Information and Media

Page 11: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze11

Providing and Comsuming

Page 12: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze12

Service Oriented Architecture (SOA)

Page 13: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze13

Web Service Architecture

Page 14: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze14

Scalability

Page 15: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze15

Some Examples for SOA

KIT Integrated Information Management (KIM)Integration of Business Processes at KITExtension with OpenID

B2B in the CloudIntegration of Business Workflows

Programming = Software Design and Architecture

Page 16: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze16

KIT Integrated Information Management (KIM)

integration-layer I

integration-layer IV

integration-layer II

integration-layer III

application services

core services

technical infrastructure

service portal

research anddevelopment

teaching, study andfurther education

informationprovider

administration

„i2map“

Integration of Business Processes at KIT

Page 17: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze17

KIM-iSOA (Integrated SOA)

WF

... ...

Integrations-schicht I

Integrations-schicht II

Integrations-schicht III

Integrations-schicht IV

WS-System

Legacy-System

Legacy-System

Datenbanken, Host-Systeme

Sic

herh

eit,

IDM

„Lan

dkar

te“

(i2M

ap)

Mitarbeiterportal

ADO.NET, LINQ, BDC, ...

Hardware, Netze, Infrastruktur

BPEL

.NET, Java

Infrastrukturdienste

WebParts WebControls ASP.NET Provider

Studierendenportal ...

Page 18: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze18

KIM-IDM: Service-Oriented Identity Management

Page 19: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze19

BMWi Project: B2B in the Cloud

Move Business Processes of SMEs into the CloudConstruction of a Cloud Enterprise Service Bus

Page 20: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze20

Klassische Architektur

Das Konzept, der Plan und das Ergebnis stimmen (meist) überein

Page 21: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze21

Software-Architektur

Das Konzept, der Plan und das Ergebnis sind verschiedenNotwendigkeit zur Abstraktion : Software-Entwicklung ist daher eine schwierige Disziplin

Page 22: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze22

Objekt-Orientierte Programmierung (OOP)

OOP erlaubt es dem Programmierer, in Kategorien der Problemstellung zu denken!

Durch Abstraktion reduziert sich die Komplexität

Drei fundamentale IdeenKlasse/Objekt, KapselungKlassenhierarchien, VererbungAbstraktion, Polymorphismus

Page 23: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze23

DataData

OOP Basics

Ein Objekt kapselt Daten zusammen mit den

Operationen/Funktionen

Die Daten sind nur über die Methoden

(Operationen/Funktionen) anzusprechen

Der Bauplan für ein Objekt heißt Klasse

Klassen sind Abstrakte Datentypen

Abstrakte Datentypen

Vector a, b, c;c = a + b;float x = c.x();

Page 24: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze24

Java

Erfunden von SUNErste Version 1995 (Heute Version 6)

Programmiersprache für Web- und Standalone ProgrammeJava ist objekt-orientiertJava ist plattformunabhängig (garantierte Genauigke it!)Java ist portabel (Keine Betriebssystemabhängigkeit )Java ist einfach (Keine Pointer)Java ist sicher (Sandboxing)

Page 25: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze25

Java Virtual Machine (JVM)

Implementierung einer virtuellen Ausführungsumgebung (Anwendungsvirtualisierung)

Page 26: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze26

Java ist portabel: Beispiel StarOffice

Cross-Plattform Office Suite: Mac, Windows, Linux, …

Page 27: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze27

Java ist einfach und sicher

Automatisches Memory-ManagementReferenzen statt Zeiger (keine „Dangling Pointer“)Garbage Collection (keine „Memory Leaks“)

Keine MakefilesKeine Header FilesC++ Syntax

Page 28: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze28

Java ist Objekt-Orientiert

Alle Funktionen sind stets mit Objekten asoziiertNur Member-Funktionen

Nahezu alle Datentypen sind ObjekteFiles, Arrays, Strings, Sockets, etc.Primitive Datentypen für Effizienzbyte, short, long, int, float, double, char, boolea n

Super-Klasse „Object“ wird an alle Objekte vererbt

Page 29: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze29

Zusammenfassung

Web ServicesClient/Server ModellProtokolle: HTML, XMLService-Orientierte Architektur (SOA)Vorlesung: Web Engineering (Dr. Nussbaumer)

JavaObjekt-Orientierte Programmiersprache für Web-basie rte AnwendungenJava Virtual Machine (JVM)Plattformunabhängig, portabel, einfach, sicher Vorlesung: Einstieg in die Informatik mit Java (Dr. Bohlender)

Page 30: Cloud Computing mit mathematischen AnwendungenKIT – the cooperation of Forschungszentrum Karlsruhe G mbH und Universität Karlsruhe (TH) 04.08 Cloud Computing mit mathematischen

Cloud Computing Teil 3 | SoSe 2009 | Dr. M.Kunze30

Karlsruhe Institute of Technology

Thank you for your attention.Steinbuch Centre for Computing (SCC)