Presentation is loading. Please wait.

Presentation is loading. Please wait.

Noel Winstanley - Server Side AstroRuntime Noel Winstanley A PPARC funded project.

Similar presentations


Presentation on theme: "Noel Winstanley - Server Side AstroRuntime Noel Winstanley A PPARC funded project."— Presentation transcript:

1 Noel Winstanley - nw@jb.man.ac.uk Server Side AstroRuntime Noel Winstanley A PPARC funded project

2 Noel Winstanley - nw@jb.man.ac.uk Astro Runtime – Recap ● A library of virtual-observatory functions and clients. – integrate VO standards, popular one-of-a-kind services, suitable helper functions – Used for science scripting or enhancing desktop apps ● Library appears as a desktop service – accessible from almost all programming languages ● XML-RPC, HTTP, RMI, Direct call ● Library design uses consistent abstractions and types – cleaner API, shallow learning curve, procedural / object based design. – Insulates clients from change and details. ● Shared component – single signon, single configuration. – cached registry queries, other data.

3 Noel Winstanley - nw@jb.man.ac.uk Astro Runtime Schematic

4 Noel Winstanley - nw@jb.man.ac.uk Implementing Web Services & Apps ● Multi-User applications ● Already added to AR: – User Sessions ✔ – Headless Operation ✔ – Configurable ✔ ● Working On: – Security – Scalability – Robustness – Embeddability

5 Noel Winstanley - nw@jb.man.ac.uk User Sessions ● Multiple identities & user state in single AR, isolated from each other. ● common data – config, registry queries – shared between sessions (single cache) ● API in AR to lease new sessions & manage them ● Each session has a unique identifier – can be connected to by XML-RPC or RMI ● Each session presents unaltered AR API – few changes required to existing code ● Demonstration scripts in zip.

6 Noel Winstanley - nw@jb.man.ac.uk Python/AR Web App ● Multi-user demonstration webapp ● Login Page ● Run authenticated cone query against DR3 ● Track query progress ● Display results ● Try it: http://noels- computer.local:8080http://noels- computer.local:8080 ● Implementation – Python stand-alone webapp (cherrypy) – Webapp connects via XML-RPC to external AR process – AR is configured to remove unneeded functionality – Java policy file prevents other clients connecting to AR (working on this). – Code in zip.

7 Noel Winstanley - nw@jb.man.ac.uk Java/AR Web App: Scenarios ● A) JSP in Tomcat, RMI / XMLRPC to external AR ● B) JSP in Tomcat, method call to internal AR – more efficient ● C) JSP in AR's own web server, method call to AR – simplest setup – only suitable for lightweight deployments? – http://noels-computer.local:8001 http://noels-computer.local:8001

8 Noel Winstanley - nw@jb.man.ac.uk Further Work ● Measure scalability of each scenario ● Test for robustness ● improve AR / Tomcat integration – link webserver & AR sessions – ease access to AR from context. – complete embeddability ● Release examples / toolkit / development notes ● Extend / Improve AR API


Download ppt "Noel Winstanley - Server Side AstroRuntime Noel Winstanley A PPARC funded project."

Similar presentations


Ads by Google