Top Banner
A PPARC funded project AstroGrid’s Common Execution Architecture Guy Rixon, reporting on behalf of Paul Harrison and the other AstroGrid developers SC4DEVO-1, Pasadena, July 2004
24

AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

Oct 30, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

A PPARC funded project

AstroGrid’s Common Execution Architecture

Guy Rixon, reporting on behalf of Paul Harrison and the other AstroGrid developersSC4DEVO-1, Pasadena, July 2004

Page 2: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 2

AstroGridUK national virtual-observatory projectSee cover slide for participants and fundingTasked to produce a VO toolkit to be reused by service providersCollective author of a SOA using web servicesCommon Execution Architecture:

A major part of AstroGrid architecturePart of the service-oriented architectureA way of making and using web servicesSome important applications to data mining

Page 3: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 3

SOA for data mining

How can we carve up the distributed application into services?

And where do we put the application logic?

Page 4: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 4

Distributed app: conservative

Desktop

Application

Data-centre 1

Data source

Data-centre 2

Data transform

Application logic in here

Page 5: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 5

Distributed app: browser-based

Desktop

Browser

Data-centre 1

Data source

Data-centre 2

Data transform

Application logic in here

Page 6: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 6

Distributed app: intragrid

Desktop

Browser/app

Data-centre 1

Data source

Data-centre 2

Data transform

Compute grid

NodeNodeNodeNode

Some application logic in here;

Rest still in client or in user

Page 7: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 7

Distributed app: scripted

Desktop

Browser/app

Data source

Data-centre 2

Data transform

Data centre 3

Data transform

Data-centre 1

Portal

Workflowengine

Script

App logic in here

Page 8: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 8

Distributed app: embedded

Desktop

Browser

Data source

Data-centre 2

Data transform

Data mine

Application

Data-centre 1

Portal

Workflowengine

Script

Most app logic here

Little app logic here

Page 9: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 9

Distributed app: data grid

Desktop

Browser/app

Data source

Data-centre 2

Data transform

Data centre 3

Data transform

Data-centre 1

Portal

Workflowengine

Script

Page 10: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 10

Issues to be addressedBoring, technical:

How to write apps as w/s?How to write w/s clients?How to connect apps to storage?How to register functions?

Interesting, scientific:Who has useful algorithms?How to match algorithms to data?Best place to run computations?How to share code?Provenance?How to share kudos?Is more science possible?

Page 11: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 11

AstroGrid architecture and productsAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate on the science issues.AstroGrid supports:

Browser-based appScripted appData gridEmbedded app (pre-installed exes)

Common Execution Architecture lets all parts but exe for embedded app be reusable code.

Page 12: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 12

Common Execution Architecture (1)Desktop

Browser/app

Data source

Data-centre 2

Data transform

Data centre 3

Data transform

Data-centre 1

Portal

Workflowengine

Script

Web service(CEC)

Application(local exe)

MySpace

Data mine

“CEC” = CommonExecutionConnector

CECconfiguration

Page 13: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 13

Common Execution Architecture (2)Desktop

Browser/app

Data source

Data-centre 2

Data transform

Data centre 3

Data transform

Data-centre 1

Portal

Workflowengine

Script

Workflow executor (JES)

MySpace

Pagepresentation

Workflowdefinition

Portal

Scripts stored here,as files

Page 14: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 14

Common execution architecture (3)

Common language throughout system allows s/w reuse.

Page 15: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 15

How to write an app using CEA?Don’t write a web service!Write a command-line exeConfigure a CEC to run your app:

I.e. describe parameters in the CEA language

Or: get your app configured on someone else’s CEC

Page 16: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 16

How to publish an app using CEA?Take the <ApplicationDefinition> that informs the CEC.Wrap it in a <VOResource> of sub-type CeaApplicationType.Publish the <VOResource> in IVO registry.

Page 17: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 17

How to call an app-service using CEA?Look it up in the resource registry.Get the <ApplicationDefinition> from its <VOResource>.Give the <ApplicationDefinition> to a CEA delegate => define SOAP call.Add parameters from UI according to <ApplicationDefinition>.Bake in pre-heated SOAP engine @ HTTP 1.1.

Page 18: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 18

CEA language example<ApplicationDefinition>

<Parameters><ParameterDefinition name="DetectionImage" type="binary">

<UI_Name>Detection Image</UI_Name><UI_Description>The image that is used to detect sources.

Basic position, shape and size information is derived from this image</UI_Description>

</ParameterDefinition><ParameterDefinition name="PhotoImage" type="binary">

<UI_Name>Measurement Image<UI_Name><UI_Description>The Image that is used to measure photometric

parameters</UI_Description></ParameterDefinition><ParameterDefinition name="config_file" type="text">

Page 19: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 19

CEA language schema (1)

Page 20: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 20

CEA language schema (2)

Page 21: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 21

CEA facilities so far

PALCEC

HyperZCEC

Otherservice

MySpace

JESCEA Delegate Other Delegate

SIAPCEC

Page 22: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 22

Future evolutionAdd facilities to CEC:

AsynchronicitySecurityMore parameter types

New facility: field-programmable CEC (PCEC)

Page 23: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 23

PCEC (1): local code libraries

Client

PCEC

Data mine

Code library

Load exe

Select exe

Page 24: AstroGrid’s Common Execution Architecturergm/sc4devo/sc4devo1/sc4devo1_11rixon.pdfAstroGrid bits and pieces let techies solve the tech problems so that scientists can concentrate

AstroGrid’s CEA; Guy Rixon; SC4DEVO-1; Pasadena, July 2004. Slide 24

PCEC (2): distributed code-library

Client

PCEC

Data mine

Code library

Download exe

Select exe

VOSpace

SandboxRun exe

Upload exe