Canonical Producer CP API CP Servlet User Code Files

Slides:



Advertisements
Similar presentations
CrossGrid WP3 Task Non-invasive Monitoring Trinity College Dublin Brian Coghlan, Stuart Kenny, David O’Callaghan Santiago FEB-2003.
Advertisements

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.
Canonical Producer CP API User Code CP Servlet Files CreateTable, Port, Protocol, Security, SQL Support, Multiple Query Support Security Insert Query Port.
ASP.NET Programming with C# and SQL Server First Edition Chapter 8 Manipulating SQL Server Databases with ASP.NET.
Sept 27 th – 29 th, 2002Linz 2002, Task Task 3.3 Grid Monitoring Subtask SANTA-G Brian Coghlan, Stuart Kenny Trinity College Dublin.
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.
Poznan July-2003 CrossGrid Task 3.3 CrossGrid Task 3.3 Grid Monitoring Trinity College Dublin (TCD, AC14 – CR11) Brian Coghlan, Stuart Kenny, David O’Callaghan.
Introduction on R-GMA Shi Jingyan Computing Center IHEP.
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.
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.
EGEE-II INFSO-RI Enabling Grids for E-sciencE EGEE and gLite are registered trademarks R-GMA Now With Added Authorization Steve.
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.
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.
Grid-wide Intrusion Detection Stuart Kenny*, Brian Coghlan Trinity College Dublin.
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.
WP3 R-GMA: A Relational Grid information and monitoring system Steve Fisher / RAL 13/12/2002.
The Client-Server Model And the Socket API. Client-Server (1) The datagram service does not require cooperation between the peer applications but such.
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.
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.
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.
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.
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,
Chapter 7: Transport Layer
ASP.NET Programming with C# and SQL Server First Edition
Running a Forms Developer Application
Servlets.
MQTT-255 Support alternate authenticaion mechanisms
SQL – Python and Databases
Third Party Transfers & Attribute URI ideas
Servlet Fudamentals.
Coupling and Cohesion 1.
Chapter 3 Internet Applications and Network Programming
MCA – 405 Elective –I (A) Java Programming & Technology
ITM 352 Cookies.
Chapter 14 User Datagram Program (UDP)
Practicals on R-GMA Valeria Ardizzone INFN
Beyond HTTP Up to this point we have been dealing with software tools that run on browsers and communicate to a server that generates files that can be.
Client/Server Example
Client-Server Interaction
Java Byte IPC: Part 6-Summary
Implementation CAN Communication Engine
Chapter 14 User Datagram Protocol (UDP)
Lecture Set 14 B new Introduction to Databases - Database Processing: The Connected Model (Using DataReaders)
Lecture 1: Multi-tier Architecture Overview
Conceptual Architecture of PostgreSQL
Objectives In this lesson you will learn about: Need for servlets
Conceptual Architecture of PostgreSQL
Chapter 2: The Linux System Part 5
Introduction to Data Structure
RELATIONAL GRID MONITORING ARCHITECHTURE
Computer Networks Protocols
XML and Web Services (II/2546)
Junit Tests.
Message Passing Systems
Presentation transcript:

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

Canonical Producer Stuart Kenny Brian Coghlan Trinity College Dublin

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 CanonicalProducer Servlet 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 Connection instances To Producer Queue Query 1 Query 2

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 Authorisation 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 Authentication API 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 Query Parser 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 Search Engine 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.