Performance of Networked XML-Driven Cooperative Applications S. Ghandeharizadeh, C. Papadopoulos M. Cai, K. Chintalapudi, Parakshit Pol, S. Song, R. Schmidt,

Slides:



Advertisements
Similar presentations
Remote Visualisation System (RVS) By: Anil Chandra.
Advertisements

Welcome to Middleware Joseph Amrithraj
Is supported by the Australian Government through the Advanced Networks Program (ANP) of the Department of Communications, Information Technology and the.
Panoptes: A Scalable Architecture for Video Sensor Networking Applications Wu-chi Feng, Brian Code, Ed Kaiser, Mike Shea, Wu-chang Feng (OGI: The Oregon.
Interactive Systems Technical Design Seminar work: Web Services Janne Ojanaho.
Understand Web Services
J2ME Web Services Specification.  With the promise to ease interoperability and allow for large scale software collaboration over the Internet by offering.
What is.NET?. The Clients of.NET a) A new generation of connected application b) Microsoft.NET Framework managed execution c) Allows PCs and other smart.
MIT iCampus iLabs Software Architecture Workshop June , 2006.
15 Chapter 15 Web Database Development Database Systems: Design, Implementation, and Management, Fifth Edition, Rob and Coronel.
Introduction to ASP.NET. 2 © UW Business School, University of Washington 2004 Outline Static vs. Dynamic Web Pages.NET Framework Installing ASP.NET First.
Workshop on Cyber Infrastructure in Combustion Science April 19-20, 2006 Subrata Bhattacharjee and Christopher Paolini Mechanical.
Challenges of Teaching OO Constructs with Databases Shahram Ghandeharizadeh Database Laboratory Computer Science Department University of Southern California.
V1.00 © 2009 Research In Motion Limited Introduction to Mobile Device Web Development Trainer name Date.
14 1 Chapter 14 Database Connectivity and Web Development Database Systems: Design, Implementation, and Management, Seventh Edition, Rob and Coronel.
Managing XML and Semistructured Data Lecture 19: Compressing XML Data Prof. Dan Suciu Spring 2001.
.net Microsofts ’ Platform for Web Services Naveed Arshad.
Messaging Technologies Group: Yuzhou Xia Yi Tan Jianxiao Zhai.
Optimized Communication For Mobile Multimedia Collaboration Applications Sangyoon Oh Community Grids Laboratory Indiana University
Introduction SOAP History Technical Architecture SOAP in Industry Summary References.
.NET, and Service Gateways Group members: Andre Tran, Priyanka Gangishetty, Irena Mao, Wileen Chiu.
A Cross-Platform Component Based Ecommerce Framework in.NET Vishwak Rajgopalan Under the guidance of Dr. Daniel Andresen (Major Professor) Dr. Mitchell.
CIS 451: Web Services Dr. Ralph D. Westfall March, 2009.
IBSS Inc (International Business Software Solutions Inc.) Microsoft.NET.
Week 7 Lecture Web Database Development Samuel Conn, Asst. Professor
ISYS 512 Business Application Design and Development with.Net David Chao.
Introduction to .NET Rui Ye.
Web Platform Performance Analysis for AOL Team #4 ECE 498A Spring 2004.
Adapting Legacy Computational Software for XMSF 1 © 2003 White & Pullen, GMU03F-SIW-112 Adapting Legacy Computational Software for XMSF Elizabeth L. White.
DMSO Technical Exchange 3 Oct 03 1 Web Services Supporting Simulation to Global Information Grid Mark Pullen George Mason University with support from.
CIS 375—Web App Dev II Microsoft’s.NET. 2 Introduction to.NET Steve Ballmer (January 2000): Steve Ballmer "Delivering an Internet-based platform of Next.
1 Web Server Administration Chapter 1 The Basics of Server and Web Server Administration.
4 - 1 Copyright © 2006, The McGraw-Hill Companies, Inc. All rights reserved.
Internet, intranet, and multimedia database processing l Database processing across local and wide area networks l Alternative architectures for distributing.
Node Mentoring Workshop “Sharing What We Node” Middleware Breakout Session.NET New Orleans, Louisiana February 9-10, 2004.
Evaluation of a Publish/Subscribe System for Collaboration and Mobile Working Collaborative Advertising over Internet with Agents Independent Study: Wireless.
Web Services Kanda Runapongsa Dept. of Computer Engineering Khon Kaen University.
Dynamic Content On Edge Cache Server (using Microsoft.NET) Name: Aparna Yeddula CS – 522 Semester Project Project URL: cs.uccs.edu/~ayeddula/project.html.
Introduction to IT Presented by: Ishan Agarwal ABV-IIITM, Gwalior.
Web Services based e-Commerce System Sandy Liu Jodrey School of Computer Science Acadia University July, 2002.
Web Services for Satellite Emulation Development Kathy J. LiszkaAllen P. Holtz The University of AkronNASA Glenn Research Center.
Effect Of Message Size and Number of Clients on WS Frameworks For CIS* Service Oriented Computing Dariusz Grabka Gerett Commeford Jack Cole.
By: PHANIDEEP NARRA. OVERVIEW Definition Motivation.NET and J2EE Architectures Interoperability Problems Interoperability Technologies Conclusion and.
Microsoft.NET; A vision for the next generation of XML Web Services. Steven Adler Product Manager Microsoft EMEA.
4BP1 Electronic & Computer Engineering Paul Gildea th Year Final Project Presentation.
S O A P ‘the protocol formerly known as Simple Object Access Protocol’ Team Pluto Bonnie, Brandon, George, Hojun.
Investigating the Performance of Audio/Video Service Architecture I: Single Broker Ahmet Uyar & Geoffrey Fox Tuesday, May 17th, 2005 The 2005 International.
An Introduction to Web Services Web Services using Java / Session 1 / 2 of 21 Objectives Discuss distributed computing Explain web services and their.
An Introduction to Web Services and Proteus’ RTI S. Ghandeharizadeh, E. Alwagait, S. Manjunat Database Lab., CS Department
Web Services Using Visual.NET By Kevin Tse. Agenda What are Web Services and Why are they Useful ? SOAP vs CORBA Goals of the Web Service Project Proposed.
Intro to Web Services Dr. John P. Abraham UTPA. What are Web Services? Applications execute across multiple computers on a network.  The machine on which.
Features Of SQL Server 2000: 1. Internet Integration: SQL Server 2000 works with other products to form a stable and secure data store for internet and.
Introduction to Web Services Presented by Sarath Chandra Dorbala.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
Web Services Blake Schernekau March 27 th, Learning Objectives Understand Web Services Understand Web Services Figure out SOAP and what it is used.
The Jukebox is a.NET web application that plays streaming music files to it’s clients according to their favorites musical genres. Clients can rate the.
Retele de senzori EEMon Electrical Energy Monitoring System.
CSCI 599: Beyond Web Browsers Professor Shahram Ghandeharizadeh Computer Science Department Los Angeles, CA
ECMM6018 Enterprise Networking For Electronic Commerce Tutorial 1 Installing A Web Server.
Added Value to XForms by Web Services Supporting XML Protocols Elina Vartiainen Timo-Pekka Viljamaa T Research Seminar on Digital Media Autumn.
Chapter 13 Web Application Infrastructure
WEB SERVICES.
Unit – 5 JAVA Web Services
PHP / MySQL Introduction
The future of distributed systems architecture
Service Oriented Architecture (SOA)
Database Software.
Serpil TOK, Zeki BAYRAM. Eastern MediterraneanUniversity Famagusta
UFCEUS-20-2 Web Programming
Microsoft Azure Services Platform
Presentation transcript:

Performance of Networked XML-Driven Cooperative Applications S. Ghandeharizadeh, C. Papadopoulos M. Cai, K. Chintalapudi, Parakshit Pol, S. Song, R. Schmidt, R. Zhou

A Shift in Computing Server-centricDistributed Dumb clientsSmart clients Hardware-drivenSoftware-driven User to appUser to app; app to app Information accessInformation action One-wayTwo-way Monolithic islandspeer-to-peer Integration an afterthoughtIntegration by design Worry: scaleWorry: value Internet

Future Vision In the future, any two IT components will automatically integrate and “communicate” with one another, even though they were not specifically designed to interoperate In the future, any two IT components will automatically integrate and “communicate” with one another, even though they were not specifically designed to interoperate How? How?  Semantics  Standards  Concept of “software and data” as a service, web services, e.g.,  Google web service tool set  Microsoft Teraserver web service tool set  Experian (TRW) credit report web service tool set  Etc.

XML A standard for data interoperability among web services A standard for data interoperability among web services  Language independent  Sun’s Java, Microsoft’s C#  Device and software platform independent Motorola i85s Motorola i85s J2ME J2ME Compaq iPAQ Compaq iPAQ Windows CE Windows CE StrongARM StrongARM PERL PERL Apache 2.0 Apache 2.0 MySQL MySQL Linux Linux.NET.NET SQL 2000 SQL 2000 Commerce server Commerce server Windows 2000 Windows 2000

Query10 Result 9.5MB Query10 Result 9.5MB SOAP message 25MB SOAP message 25MB ServerClient Internet Producer.NET Consumer Microsoft.NET

.NET Formatters SOAP formatted messages are larger than their binary counter-part, e.g., Query 10 of TPC-H benchmark: SOAP formatted messages are larger than their binary counter-part, e.g., Query 10 of TPC-H benchmark: Binary 9.47 MB SOAP MB

.NET Formatters Compression (Zip) reduces message size: Compression (Zip) reduces message size: Binary 9.47 MB Zip-Binary 3.85 MB SOAP MB Zip-SOAP 4.12 MB

.NET Formatters XMill-SOAP messages might be smaller than Zip-binary [LS00, CGSS02]: XMill-SOAP messages might be smaller than Zip-binary [LS00, CGSS02]: Binary 9.47 MB Zip-Binary 3.85 MB SOAP MB Zip-SOAP 4.12 MB XMill-SOAP 3.21 MB

Compression Factor

A Comparison

Transmission Times (msec) 450 MHz1 GHz2 GHz Binary100,14874,84935,655 Zip-Binary113,18775,64537,694 XML183,902112,20064,365 Zip-XML184,062113,93064,276 XMill-XML296,311176,27891,547 Query 10

Transmission Times (msec) 450 MHz1 GHz2 GHz Binary100,14874,84935,655 Zip-Binary113,18775,64537,694 XML183,902112,20064,365 Zip-XML184,062113,93064,276 XMill-XML222,927146,01170,009 Query 10

A.NET Middleware Compress messages with the objective to minimize response time: Compress messages with the objective to minimize response time: InternetApplicationMiddleware.NET ClientApplicationMiddleware.NET Server Response Time

A.NET Middleware Overhead of compression should not outweigh its savings in transmission time Overhead of compression should not outweigh its savings in transmission time Factors contributing to transmission time: Factors contributing to transmission time:  Network bandwidth  Loss rate  Latency

A.NET Middleware, e.g., By applying XMill to a SOAP formatted result set produced by query 10: By applying XMill to a SOAP formatted result set produced by query 10:  response time improves by a factor of 3 when:  Processor speed = 2 GHz  Network bandwidth = 100 Kbps  Network latency = 1 ms  Loss rate = 0  response time degrades by 30% with a 10 Mbps network bandwidth

Summary DEXA 2002 Paper shows the impact of processor speed (450 MHz, 1 GHz, 2 GHz) on Xmill & Zip using TPC-H benchmark. DEXA 2002 Paper shows the impact of processor speed (450 MHz, 1 GHz, 2 GHz) on Xmill & Zip using TPC-H benchmark. CIC workshop paper shows the compression tradeoff using a variety of network parameters. CIC workshop paper shows the compression tradeoff using a variety of network parameters. Current status: A heuristic that decides when to compress messages with the objective to minimize response time (in preparation for submission) Current status: A heuristic that decides when to compress messages with the objective to minimize response time (in preparation for submission)

Network Adaptible Middleware Compress messages with the objective to minimize response time: Compress messages with the objective to minimize response time: InternetApplicationNAM.NET ClientApplicationNAM.NET Server Response Time

NAM Heuristic NAM (byte[ ] M, Client C1) { S = M.Length(); S C = Size of M when compressed T Comp = Time to compress M at server T decomp = Time to decompress M at C 1 T U = Time to uncompress M at C 1 Bandwidth b, round-trip time d, and loss rate for network connection between server and C 1 RT U = transmission time (S, b, d, ) RT C = transmission time (S C, b, d, ) + T comp + T decomp if (RT U < RT C ) return “transmit uncompressed”, else “transmit compressed” }

NAM Heuristic NAM (byte[ ] M, Client C1) { S = M.Length(); S C = Size of M when compressed T Comp = Time to compress M at server T decomp = Time to decompress M at C 1 T U = Time to uncompress M at C 1 Bandwidth b, round-trip time d, and loss rate for network connection between server and C 1 RT U = transmission time (S, b, d, ) RT C = transmission time (S C, b, d, ) + T comp + T decomp if (RT U < RT C ) return “transmit uncompressed”, else “transmit compressed” } Estimations!

Current Research Streaming XML Streaming XML

Query10 Result 9.5MB Query10 Result 9.5MB SOAP message 25MB SOAP message 25MB ServerClient Internet Producer.NET Consumer No Streaming

Query10 Result 9.5MB ServerClient Internet Producer.NET Consumer Streaming

ServerClient 2MB Internet Producer.NET Consumer Streaming Query10 Result 1 SOAP message 5MB 1

ServerClient Internet Producer.NET Consumer Streaming SOAP message 5MB 1 Query10 Result 2MB 2

ServerClient Internet SOAP message 5MB 2MBProducer.NET Consumer Streaming Query10 Result 2MB 1 1 SOAP message 5MB 2 2 Query10 Result

ServerClient Internet Producer.NET Consumer Streaming Query10 Result 2MB SOAP message 5MB 2 Query10 Result 2MB 3

ServerClient Internet Query10 Result 2MB SOAP message 5MBProducer.NET Consumer Streaming Query10 Result 4MB 2 SOAP message 5MB 3 3 2

ServerClient Internet Query10 Result 4MBProducer.NET Consumer Streaming SOAP message 5MB 3 Query10 Result 2MB 4

SOAP message 5MB ServerClient Internet Query10 Result 2MBProducer.NET Consumer Streaming Query10 Result 6MB 3 SOAP message 5MB 4 4 3

ServerClient Internet Query10 Result 6MBProducer.NET Consumer Streaming SOAP message 5MB 4 Query10 Result 2MB 5

SOAP message 5MB ServerClient Internet Producer.NET Consumer Streaming Query10 Result 6MB 4 SOAP message 5MB 5 4

ServerClient Internet Producer.NET Consumer Streaming Query10 Result 8MB SOAP message 5MB 5

SOAP message 5MB ServerClient Internet Producer.NET Consumer Streaming 5 Query10 Result 9.5MB 5

Publications 1. S. Ghandeharizadeh, F. Sommers, J. Kuntal, and E. Alwagait. A Document as a Web Service: Two Complementary Frameworks. In the Second International Workshop on Multimedia Data Document Engineering, March A Document as a Web Service: Two Complementary Frameworks. A Document as a Web Service: Two Complementary Frameworks. 2. S. Thakkar, C. A. Knoblock, J. L. Ambite, and C. Shahabi. Composing Web Service from On-line Sources. In AAAI-02 Workshop on Intelligent Service Integaration, July Composing Web Service from On-line Sources. Composing Web Service from On-line Sources. 3. S. Ghandeharizadeh, C. Papadopoulos, M. Cai, K. Chintalapudi. Performance of Networked XML Driven Cooperative Applications. In the Second International Workshop on Cooperative Internet Computing, August Performance of Networked XML Driven Cooperative Applications Performance of Networked XML Driven Cooperative Applications 4. M. Cai, S. Ghandeharizadeh, R. Schmidt, and S. Song. A Comparison of Alternative Encoding Mechanisms for Web Services. In the 13 th International Conference on Database and Expert Systems Applications, September A Comparison of Alternative Encoding Mechanisms for Web Services. A Comparison of Alternative Encoding Mechanisms for Web Services. 5. S. Ghandeharizadeh, E. Alwagait, and S. Song. A “nine11” Registry: A Component of Scalable Web Services. Submitted for publication.

References [CGSS02] M. Cai, S. Ghandeharizadeh, R. Schmidt, and S. Song. A Comparison of Alternative Encoding Mechanisms for Web Services. In the 13 th International Conference on Database and Expert Systems Applications, September [LS00] H. Liefke and D. Suciu. XMill: an efficient compressor for XML data. In SIGMOD 2000, [GFKA02] S. Ghandeharizadeh, F. Sommers, J. Kuntal, and E. Alwagait. A Document as a Web Service: Two Complementary Frameworks. In the Second International Workshop on Multimedia Data Document Engineering, March [GPCC02] S. Ghandeharizadeh, C. Papadopoulos, M. Cai, K. Chintalapudi. Performance of Networked XML Driven Cooperative Applications. In the Second International Workshop on Cooperative Internet Computing, August [TKAS02] S. Thakkar, C. A. Knoblock, J. L. Ambite, and C. Shahabi. Composing Web Service from On-line Sources. In AAAI-02 Workshop on Intelligent Service Integaration, July 2002.