Real Web Services Jim Gray Microsoft Research 455 Market St, SF, CA, 94105 Talk at Charles Schwab.

Slides:



Advertisements
Similar presentations
Microsoft Research Microsoft Research Jim Gray Distinguished Engineer Microsoft Research San Francisco SKYSERVER.
Advertisements

Analyzing Large Datasets in Astrophysics Alexander Szalay The Johns Hopkins University Towards an International Virtual Observatory, Garching, 2002 (Living.
Trying to Use Databases for Science Jim Gray Microsoft Research
Online Science -- The World-Wide Telescope Archetype
OSIsoft Talk May Real Web Services Jim Gray Microsoft Research 455 Market St, SF, CA, 94105
World Wide Telescope mining the Sky using Web Services Information At Your Fingertips for astronomers Jim Gray Microsoft Research Alex Szalay Johns Hopkins.
Web Services for the Virtual Observatory Alex Szalay, Tamas Budavari, Tanu Malik, Jim Gray, and Ani Thakar SPIE, Hawaii, 2002 (Living in an exponential.
1 Online Science the New Computational Science Jim Gray Microsoft Research Alex Szalay Johns Hopkins.
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research Talk at
1 Online Science -- The World-Wide Telescope as an Archetype Jim Gray Microsoft Research Collaborating with: Alex Szalay, Peter Kunszt, Ani
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research

September 13, 2004NVO Summer School1 VO Protocols Overview Tom McGlynn NASA/GSFC T HE US N ATIONAL V IRTUAL O BSERVATORY.
Astronomy Data Bases Jim Gray Microsoft Research.
László Dobos 1,2, Tamás Budavári 2, Nolan Li 2, Alex Szalay 2, István Csabai 1 1 Eötvös Loránd University, Budapest,
Virtual Observatory & Grid Technique ZHAO Yongheng (National Astronomical Observatories of China) CANS2002.
A Web service for Distributed Covariance Computation on Astronomy Catalogs Presented by Haimonti Dutta CMSC 691D.
16 months…. The Visibility Information Exchange Web System is a database system and set of online tools originally designed to support the Regional Haze.
SDSS Web Services Tamás Budavári Johns Hopkins University Coding against the Universe.
Web-based Portal for Discovery, Retrieval and Visualization of Earth Science Datasets in Grid Environment Zhenping (Jane) Liu.
eScience -- A Transformed Scientific Method"
1 Where The Rubber Meets the Sky Giving Access to Science Data Jim Gray Microsoft Research Alex.
Supported by the National Science Foundation’s Information Technology Research Program under Cooperative Agreement AST with The Johns Hopkins University.
Astronomical Data Query Language Simple Query Protocol for the Virtual Observatory Naoki Yasuda 1, William O'Mullane 2, Tamas Budavari 2, Vivek Haridas.
National Center for Supercomputing Applications Observational Astronomy NCSA projects radio astronomy: CARMA & SKA optical astronomy: DES & LSST access:
Alex Szalay, Jim Gray Analyzing Large Data Sets in Astronomy.
OASIS ebXML Registry Standard Open Forum 2003 on Metadata Registries 10:30 – 11:15 January 20, 2003 Kathryn Breininger The Boeing Company Chair, OASIS.
Functions and Demo of Astrogrid 1.1 China-VO Haijun Tian.
Science with the Virtual Observatory Brian R. Kent NRAO.
Metadata and Geographical Information Systems Adrian Moss KINDS project, Manchester Metropolitan University, UK
GIS On The Web: An Overview of ArcIMS. *The easy flow of geographic data can offer real-life solutions in many societal sectors, including municipal government,
Public Access to Large Astronomical Datasets Alex Szalay, Johns Hopkins Jim Gray, Microsoft Research.
The Data Avalanche Jim Gray Microsoft Research Talk at HP Labs/MSR: Research Day July 2004.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
Issues in Large Online Image Databases Jim Gray Microsoft Research National Cancer Institute Workshop on Cancer Imaging Informatics
Federation and Fusion of astronomical information Daniel Egret & Françoise Genova, CDS, Strasbourg Standards and tools for the Virtual Observatories.
Wiss. Beirat AIP, ClusterFinder & VO-Methods H. Enke German Astrophysical Virtual Observatory ClusterFinder VO Methods for Astronomical Applications.
Building BIG Data Servers on the Web Jim Gray Microsoft Research Talk at Flash Mob Supercomputer.
1 Computing Challenges for the Square Kilometre Array Mathai Joseph & Harrick Vin Tata Research Development & Design Centre Pune, India CHEP Mumbai 16.
A PPARC funded project Workflow and Job Control in Astrogrid Jeff Lusted Dept Physics and Astronomy University of Leicester.
Web Services for the National Virtual Observatory Tamás Budavári Johns Hopkins University.
Some Grid Science California Institute of Technology Roy Williams Paul Messina Grids and Virtual Observatory Grids and and LIGO.
Sky Survey Database Design National e-Science Centre Edinburgh 8 April 2003.
The International Virtual Observatory Alliance (IVOA) interoperability in action.
Slide 1 Archive Computing: Scalable Computing Environments on Very Large Archives Andreas J. Wicenec 13-June-2002.
German Astrophysical Virtual Observatory Overview and Results So Far W. Voges, G. Lemson, H.-M. Adorf.
Distributed Data Analysis & Dissemination System (D-DADS ) Special Interest Group on Data Integration June 2000.
12 Oct 2003VO Tutorial, ADASS Strasbourg, Data Access Layer (DAL) Tutorial Doug Tody, National Radio Astronomy Observatory T HE US N ATIONAL V IRTUAL.
1 Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
Microsoft “information at your fingertips” for scientists Collaborating with Scientists to build better ways to organize, analyze, and understand.
William O’Mullane/ Tannu Malik - JHU IVOA Cambridge May 12-16, 2003 SkyQuery.Net SKYQUERY Federated Database Query System (using WebServices)
1 Where The Rubber Meets the Sky Giving Access to Science Data Jim Gray Microsoft Research Alex.
Distributed Archives Interoperability Cynthia Y. Cheung NASA Goddard Space Flight Center IAU 2000 Commission 5 Manchester, UK August 12, 2000.
5/29/2001Y. D. Wu & M. Liu1 Content Management for Digital Library May 29, 2001.
E-commerce Architecture Ayşe Başar Bener. Client Server Architecture E-commerce is based on client/ server architecture –Client processes requesting service.
Hydroinformatics Lecture 15: HydroServer and HydroServer Lite The CUAHSI HIS is Supported by NSF Grant# EAR CUAHSI HIS Sharing hydrologic data.
Microsoft Research San Francisco (aka BARC: bay area research center) Jim Gray Researcher Microsoft Research Scalable servers Scalable servers Collaboration.
NOS DataExplorer Enterprise GIS Efforts within NOAA's Ocean Service Jason Marshall (PSGS) NOAA Coastal Services Center.
Online Science -- The World-Wide Telescope Archetype
CUAHSI HIS Sharing hydrologic data
Online Science -- The World-Wide Telescope as an Archetype
Online Science The World-Wide Telescope as a Prototype For the New Computational Science Jim Gray Microsoft Research
BARC Scaleable Servers
Rick, the SkyServer is a website we built to make it easy for professional and armature astronomers to access the terabytes of data gathered by the Sloan.
Jim Gray Researcher Microsoft Research
Jim Gray Microsoft Research
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
Google Sky.
Presentation transcript:

Real Web Services Jim Gray Microsoft Research 455 Market St, SF, CA, Talk at Charles Schwab Technology Summit, Friday, September 20, 2002 Slides at

Outline TerraServer becomes a WebService Astronomy: Data Mining Web Services What possible relevance to you? This is not the talk I promised: The World Wide Telescope: Archetype for Online Science The World Wide Telescope: Archetype for Online Science but it is more relevant to you, and that talk is online paperpaper, slidesslides, video

TerraServer TerraServer.net TerraServer.net A photo of the United States –1 meter resolution (photographic/topographic) –USGS data –Some demographic data (BestPlaces.net) –Home sales data –Linked to Encarta Encyclopedia 15 TB raw, 6 TB cooked (grows 10GB/w) Point, Pan, zoom interface Among top 1,000 websites –40k visitors/day –4M queries/day –1.2 B page views (in 3 years) All in an SQL database

TerraServer Becomes a Web Service TerraServer.net -> TerraService.Net TerraService.Net Web server is for people. Web Service is for programs –The end of screen scraping –No faking a URL: pass real parameters. –No parsing the answer: data formatted into your address space. Hundreds of users but a specific example: –US Department of Agriculture

And now.. 6 slides from the “customer” who built a portal using TerraService

Data Gateway Functional Overview Navigation Service Catalog Service Ship Service > Item Broker Customer Orders Data XML Order Placer Listen for OrderPlacer Raised Event Select sequenced Item Output XML rasie event : stats.delivery start validate (dtd) Insert into SQL / GUID to client return est time raise OrderMgr.event Order Database Selects from XML Request for data Logger Called by anyone rasies to stats svc' ASP XML Soil Data Viewer Geospatial Data Acknowledges item ready for delivery Data Services Package Service Send order info FTP Services Rimage CD Service Product Catalog Updates Billing Services NCGC - Fort Worth, TexasITC - Fort Collins, Colorado Terra Service

Order Process Locate area Select your productsSelect data formatsIdentify shipping informationLighthouse returns confirmation

Custom End Product Web Soil Data ViewerXML Soil ReportSoil Interpretation Map

Web Soil Viewer Web Server - Internet Information Services Navigator.HTML Client - Internet Explorer WebSDVArcIMS Connector GetSSAs.ASP Provides an interface for user navigation within the U.S. Retrieves the Soil Survey Areas for the requested extent and checks if they exist in the NASIS database Connects to ArcIMS; communication is done through ArcIMS XML (AXL) Retrieves and processes Soils Data from the NASIS relational Database Map Navigator An HTML Component providing visual navigation within the U.S. SoilDataViewer.ASP Provides an interface for users to request Soils Data for the selected extent Image RetrieverIMSNavigator Generates maps (JPGs) using ArcIMS Retrieves imagery from the Microsoft TerraServer NavigationStreamXML.ASP Streams XML data to the IMS Navigator ProcessData.ASP Processes Soils Data Requests, returning both tabulature (XML report) and spatial (map image) data Web Server - COM+ Applications

ESRI Spatial Data Engine WebSDVArcIMS Connector Connects to ArcIMS; communication is done through ArcIMS XML (AXL) Retrieves and processes Soils Data from the NASIS relational Database Image RetrieverIMSNavigator Generates maps (JPGs) using ArcIMS Retrieves imagery from the Microsoft TerraServer Terraserver Geospatial Data Business Rules National Soils Data Database Server - Microsoft SQL Server Database Server - ESRI Spatial Data Server Web Server - COM+ Applications Microsoft Terraserver

Outline TerraServer becomes a WebService Astronomy: Data Mining Web Services What possible relevance to you?

SkyServer SkyServer.SDSS.org SkyServer.SDSS.org Like the TerraServer, but looking the other way: a picture of ¼ of the universe Pixels + Data Mining Astronomers get about 400 attributes for each “object” Get Spectrograms for 1% of the objects

Why Astronomy Data? There is lots of it –High dimensional –Spatial –temporal Great sandbox for data mining algorithms –Can share cross company –University researchers Great way to teach both Astronomy and Computational Science Want to federate many instruments

Why Astronomy Data? It has no commercial value –No privacy concerns –Can freely share results with others –Great for experimenting with algorithms It is real and well documented –High-dimensional data (with confidence intervals) –Spatial data –Temporal data Many different instruments from many different places and many different times Federation is a goal The questions are interesting –How did the universe form? There is a lot of it (petabytes) IRAS 100  ROSAT ~keV DSS Optical 2MASS 2  IRAS 25  NVSS 20cm WENSS 92cm GB 6cm

Virtual Observatory Premise: Most data is (or could be online) So, the Internet is the world’s best telescope: –It has data on every part of the sky –In every measured spectral band: optical, x-ray, radio.. –As deep as the best instruments (2 years ago). –It is up when you are up. The “seeing” is always great (no working at night, no clouds no moons no..). –It’s a smart telescope: links objects and data to literature on them.

Federation Data Federations of Web Services Massive datasets live near their owners: –Near the instrument’s software pipeline –Near the applications –Near data knowledge and curation –Super Computer centers become Super Data Centers Each Archive publishes a web service –Schema: documents the data –Methods on objects (queries) Scientists get “personalized” extracts Uniform access to multiple Archives –A common global schema

Grid and Web Services Synergy I believe the Grid will be many web services share data (computrons are free) IETF standards Provide –Naming –Authorization / Security / Privacy –Distributed Objects Discovery, Definition, Invocation, Object Model –Higher level services: workflow, transactions, DB,.. Synergy: commercial Internet & Grid tools

Time and Spectral Dimensions The Multiwavelength Crab Nebulae X-ray, optical, infrared, and radio views of the nearby Crab Nebula, which is now in a state of chaotic expansion after a supernova explosion first sighted in 1054 A.D. by Chinese Astronomers. Slide courtesy of Robert CalTech. Crab star 1053 AD

Web Services: The Key? Web SERVER: –Given a url + parameters –Returns a web page (often dynamic) Web SERVICE: –Given a XML document (soap msg) –Returns an XML document –Tools make this look like an RPC. F(x,y,z) returns (u, v, w) –Distributed objects for the web. –+ naming, discovery, security,.. Internet-scale distributed computing Your program Data In your address space Web Service soap object in xml Your program Web Server http Web page

Virtual Observatory Challenges Size : multi-Petabyte 40,000 square degrees is 2 Trillion pixels –One band (at 1 sq arcsec) 4 Terabytes –Multi-wavelength Terabytes –Time dimension >> 10 Petabytes –Need auto parallelism tools Unsolved MetaData problem –Hard to publish data & programs –How to federate Archives –Hard to find/understand data & programs Current tools inadequate –new analysis & visualization tools –Data Federation is problematic Transition to the new astronomy –Sociological issues

SkyQuery: a prototype Defining Astronomy Objects and Methods. Federated 3 Web Services (fermilab/sdss, jhu/first, Cal Tech/dposs) multi-survey cross-match Distributed query optimization (T. Malik, T. Budavari, Alex JHU) My first web service (cutout + annotated SDSS images) online – WWT is a great Web Services (.Net) application –Federating heterogeneous data sources. –Cooperating organizations –An Information At Your Fingertips challenge.

SkyNode Basic Web Services Metadata information about resources –Waveband –Sky coverage –Translation of names to universal dictionary (UCD) Simple search patterns on the resources –Cone Search –Image mosaic –Unit conversions Simple filtering, counting, histogramming On-the-fly recalibrations

Portals: Higher Level Services Built on Atomic Services Perform more complex tasks Examples –Automated resource discovery –Cross-identifications –Photometric redshifts –Outlier detections –Visualization facilities Goal: –Build custom portals in days from existing building blocks (like today in IRAF or IDL)

SkyQuery ( Distributed Query tool using a set of services Feasibility study, built in 6 weeks from scratch –Tanu Malik (JHU CS grad student) –Tamas Budavari (JHU astro postdoc) Implemented in C# and.NET Allows queries like: SELECT o.objId, o.r, o.type, t.objId FROM SDSS:PhotoPrimary o, TWOMASS:PhotoPrimary t WHERE XMATCH(o,t)<3.5 AND AREA(181.3,-0.76,6.5) AND o.type=3 and (o.I - t.m_j)>2

Architecture Image cutout SkyNode SDSS SkyNode 2Mass SkyNode First SkyQuery Web Page

Summary So Far Some real web services deployed today Easy to build & deploy Services publish data, Portals unify it Tools really work! I’m using C# and foundation classes of VisualStudio.Net, a great! Tool A nice book explaining the ideas: (.Net Framework Essentials, Thai, Lam isbn ) (.Net Framework Essentials, Thai, Lam isbn

Outline TerraServer becomes a WebService Astronomy: Data Mining Web Services What possible relevance to you?

Possible Relevance to You This web service stuff is REAL It is a way to publish data: Internet Intranet It is a way to find data no more screen scraping/parsing data comes with schema Business model unclear –Your ideas go here.