Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port.

Slides:



Advertisements
Similar presentations
WP3 WP3 17/9/2002 Steve Fisher / RAL. WP3 Steve Fisher 17/9/2002WP32 Summary Quality Current status 1.2 R-GMA in release 2.0 Recent Requirements Work.
Advertisements

CrossGrid WP3 Task Non-invasive Monitoring Trinity College Dublin Brian Coghlan, Stuart Kenny, David O’Callaghan Santiago FEB-2003.
Internetworking Different networks –Different bit rates –Frame lengths –Protocols.
A CHAT CLIENT-SERVER MODULE IN JAVA BY MAHTAB M HUSSAIN MAYANK MOHAN ISE 582 FALL 2003 PROJECT.
CrossGrid WP3 Task Non-invasive Monitoring Trinity College Dublin Brian Coghlan, Stuart Kenny, David O’Callaghan Santiago FEB-2003.
SANTA-G Sensor. Query Engine Classes Canonical Producer DBProducer CP Servlet Query Service Query Engine QE API Search Engine Trace Files Sensor CP API.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Chapter 7 Managing Data Sources. ASP.NET 2.0, Third Edition2.
Chapter 26 Client Server Interaction Communication across a computer network requires a pair of application programs to cooperate. One application on one.
CSCI 6962: Server-side Design and Programming Course Introduction and Overview.
Configuration Management and Server Administration Mohan Bang Endeca Server.
ADO.NET A2 Teacher Up skilling LECTURE 3. What’s to come today? ADO.NET What is ADO.NET? ADO.NET Objects SqlConnection SqlCommand SqlDataReader DataSet.
Introduction on R-GMA Shi Jingyan Computing Center IHEP.
Computer and Automation Research Institute Hungarian Academy of Sciences Presentation and Analysis of Grid Performance Data Norbert Podhorszki and Peter.
LiveCycle Data Services Introduction Part 2. Part 2? This is the second in our series on LiveCycle Data Services. If you missed our first presentation,
9 Chapter Nine Compiled Web Server Programs. 9 Chapter Objectives Learn about Common Gateway Interface (CGI) Create CGI programs that generate dynamic.
Process Management Working Group Process Management “Meatball” Dallas November 28, 2001.
CYBORG Domain Independent Distributed Database Retrieval System Alok Khemka Kapil Assudani Kedar Fondekar Rahul Nabar.
PHP and MySQL CS How Web Site Architectures Work  User’s browser sends HTTP request.  The request may be a form where the action is to call PHP.
Lecture 8 – Cookies & Sessions SFDV3011 – Advanced Web Development 1.
CVSQL 2 The Revenge of the SQL. The present Read-only access to CVS repository logs Language is a subset of SQL XML interface for returning results Built-in.
Application code Registry 1 Alignment of R-GMA with developments in the Open Grid Services Architecture (OGSA) is advancing. The existing Servlets and.
Dr. John P. Abraham Professor University of Texas Pan American Internet Applications and Network Programming.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks R-GMA Now With Added Authorization Steve.
Improving Database Performance Derrick Rapley
Registry Replication Registry calls are forwarded by a registry Service to a single registry instance (i.e. replica) per VDB. If a replica cannot be contacted.
Lecture 9: AJAX, Javascript review..  AJAX  Synchronous vs. asynchronous browsing.  Refreshing only “part of a page” from a URL.  Frameworks: Prototype,
WP3 Information and Monitoring Steve Fisher / RAL 23/9/2003.
An information and monitoring system for static and dynamic information about grid resources, applications, networks … RDBMS Servlet aware of API during.
WP3 R-GMA: Likely status New Years Eve Steve Fisher / RAL 24/2/2003.
WP3 Authorization and R-GMA Linda Cornwall WP3 workshop 2-4 April 2003.
2/26/021 Pegasus Security Architecture Author: Nag Boranna Hewlett-Packard Company.
Computer and Automation Research Institute Hungarian Academy of Sciences SZTAKI’s work in DataGrid WP September Norbert Podhorszki Laboratory of.
EGEE User Forum Data Management session Development of gLite Web Service Based Security Components for the ATLAS Metadata Interface Thomas Doherty GridPP.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
INFSO-RI Enabling Grids for E-sciencE
CS 6401 Introduction to Computer Networks 09/21/2010 Outline - UNIX sockets - A simple client-server program - Project 1 - LAN bridges and learning.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
JS (Java Servlets). Internet evolution [1] The internet Internet started of as a static content dispersal and delivery mechanism, where files residing.
Windows 7 WampServer 2.1 MySQL PHP 5.3 Script Apache Server User Record or Select Media Upload to Internet Return URL Forward URL Create.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Secure Authentication. SQL Injection Many web developers are unaware of how SQL queries can be tampered with SQL queries are able to circumvent access.
1 Java Server Pages A Java Server Page is a file consisting of HTML or XML markup into which special tags and code blocks are inserted When the page is.
ITM © Port,Kazman 1 ITM 352 Cookies. ITM © Port,Kazman 2 Problem… r How do you identify a particular user when they visit your site (or any.
INFSO-RI Enabling Grids for E-sciencE Information System Valeria Ardizzone INFN EGEE NA4 Generic Applications Meeting Catania,
WP3 Security and R-GMA Linda Cornwall. WP3 UserVOMS service authr map pre-proc authr LCAS LCMAPS pre-proc LCAS Coarse-grained e.g. Spitfire WP2 service.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
INFSO-RI Enabling Grids for E-sciencE R-GMA Gergely Sipos and Péter Kacsuk MTA SZTAKI Credit to Valeria Ardizzone.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 5.
EGEE-II INFSO-RI Enabling Grids for E-sciencE Practical using R-GMA.
INFSO-RI Enabling Grids for E-sciencE gLite Information System: R-GMA Tony Calanducci INFN Catania gLite tutorial at the EGEE User.
Intro to JDBC Joseph Sant Applied Computing and Engineering Sciences Sheridan ITAL.
WP3 Relational Work Progress Report 11/5/2001 Steve Fisher / RAL.
Advanced Taverna Aleksandra Pawlik University of Manchester materials by Katy Wolstencroft, Aleksandra Pawlik, Alan Williams
WP3 Security and R-GMA Linda Cornwall, RAL. WP3 Linda Cornwall, RAL - 02/09/2002Security and R-GMA,DataGrid Workshop, Budapest 2 Current Status Currently,
ASP.NET Programming with C# and SQL Server First Edition
Servlets.
MQTT-255 Support alternate authenticaion mechanisms
Practicals on R-GMA Valeria Ardizzone INFN
Client/Server Example
Java Byte IPC: Part 6-Summary
Implementation CAN Communication Engine
Chapter 14 User Datagram Protocol (UDP)
Objectives In this lesson you will learn about: Need for servlets
Chapter 2: The Linux System Part 5
RELATIONAL GRID MONITORING ARCHITECHTURE
Canonical Producer CP API CP Servlet User Code Files
Computer Networks Protocols
Message Passing Systems
Presentation transcript:

Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port To Consumer Servlet Register

Canonical Producer Flow 2 cases: Simple Case: Single consumer Harder Case 2 consumers querying same producer

Single Consumer User Code Registers with CanonicalProducer Servlet Existing code but requires extra information: Port- Port the user code listens on to receive queries. Protocol- Protocol to use to connect to port. Security- Security information required by Servlet for authentication. SQL Support - Level of SQL which the user code supports. Multiple Queries- Whether or not the user code supports multiple queries. Declares the tables which it provides Existing code.

Single Consumer CanonicalProducer Servlet Accepts connection from the Consumer Servlet and creates a new instance for the connection Uses existing code! Parses the SQL query: Has to check that query is supported by User Code. Forwards the query to the User Code: Sends it to specified port using required protocol Can either send parsed query (XML) or SQL string as received from Consumer Servlet. Waits for the response from the User Code

Single Consumer User Code Carries out the query Returns data using RGMA Insert as per current API CanonicalProducer Servlet Receives data from User Code Sends it to the Consumer Servlet as per existing code.

Multiple Queries Problem arises if the User Code cannot handle multiple queries at the same time. User Code informs servlet on registration as to whether it can support parallel queries or not. If the User Code cannot, and the Servlet receives a query whilst another query is currently running, the Servlet must queue the connection instance until the producer is available.

Multiple Queries Consumer can specify how long to wait for results to the query. If the Producer does not become available before this time has elapsed then the Servlet can remove the instance from the queue and dispose of it.

2 Consumers, Same Producer! CanonicalProducer Servlet To Producer Query 1Query 2 Queue Connection instances

Keep Alive Normally it is known how often a Producer will be queried. This is not the case with a CanonicalProducer! Will have to make use of GRRP. Has to inform Servlet that it is still alive. Otherwise it will be removed from the registry!

Security Authentication 2 way communication between User Code and Servlet Requires authentication Authorisation Servlet can provide some authorisation, will need to be passed security information by User Code User Code will need to provide authorisation also, Servlet must send security information to the User Code.

User Code Structure CP API Authentication Query Parser Authorisation Search Engine

User Code Structure Although the User Code can essentially be anything, certain components will almost always be present: Authentication Query Parser Authorisation Seach Engine

User Code Structure Authentication Communication between the User Code and Servlet will always require authentication. This will be a standard piece of code. Query Parser If a user chooses not to allow the Servlet to parse the query and return a parse tree they will need to provide a component to parse the SQL string.

User Code Structure Authorisation In order to allow authorisation on the user side the User code will have to receive security information from the Servlet, e.g. DN, VO, Certificate etc. Search Engine This will be code that actually takes the parsed SQL query and carries out the search on the information source.