Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Semantic Web Standards Presented By: Matthew Dunlop Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech
Semantic Web Standards Thinking Inside the Box! Optimizing Web Services Performance Today (2008) Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech
Purpose Improve web services performance using existing systems/tools Hence “thinking inside the box”
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Why Web Services Take web applications to the next level Application can publish its function to world Solve interoperability problems
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech The Box 1. Request construction 2. SOAP message construction 3. Transmission 4. Server Listening 5. SOAP message deconstruction 6. Request Processing
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Timing Process Initialize Web service objectStart timer Call Web service XML message is generated. Request (XML message) is sent to the server. Server processes the request and the response is sent back. Response (SML message) is decomposed. Stop timer Calculate total time taken to make a Web service call
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Client Language verses Return Type Client Lang. Return Data Type JavaC#PHP Scalar D array D array Response Times (ms) using an IIS Server Client Lang. Return Data Type JavaC#PHP Scalar7215 1D array D array Response Times (ms) using a Sun Server
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Client Language verses Message Size Client Lang. #contacts JavaC#PHP Response Times (ms) using a Sun Server and returning 1D arrays of 15- byte elements Client Lang. #contacts JavaC#PHP Response Times (ms) using a IIS Server and returning 1D arrays of 15- byte elements
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Data Type verses Message Size Array type # contacts 2D array 1D array Response Times (ms) using a Java Client Array type # contacts 2D array 1D array Array type # contacts 2D array 1D array ,624 Response Times (ms) using a C# Client Response Times (ms) using a PHP Client
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Server Specifics verses Data Type Server Config. Data type Sun high Sun low IIS high IIS low Scalar D array D array Response Times (ms) as a function of server application and machine type
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Conclusion Large data structures are more efficient SUN Application Server more efficient A more powerful server is better PHP least efficient
Usable Security – CS 6204 – Fall, 2009 – Dennis Kafura – Virginia Tech Discussion Are any of these conclusions surprising? Will the results of these tests make semantic web more attractive?