A Mediation Framework for Transparent Access to largely distributed data sources
Christine Collet
Christine.Collet@imag.fr Institut National Polytechnique Grenoble LSR assistant director Database group leader
A Mediation Framework for Transparent Access to largely distributed - - PowerPoint PPT Presentation
A Mediation Framework for Transparent Access to largely distributed data sources Christine Collet Christine.Collet@imag.fr Institut National Polytechnique Grenoble LSR assistant director Database group leader http://www-lsr.imag.fr/mediagrid
Christine.Collet@imag.fr Institut National Polytechnique Grenoble LSR assistant director Database group leader
2
http://www-lsr.imag.fr/mediagrid
3
« framework » means a reusable design of a
4
WRAPPER WRAPPER MEDIATOR WRAPPER WRAPPER MEDIATOR
M e d i a t i
l e v e l
Mediation schema
Exported schema
MQn MQ1 MQ2
APPLICATION USER
5
Design Communication Execution Association Design Communication Execution Association Syntax (technics, interfaces) Logic (semantics, schemas) Syntax (technics, interfaces) Logic (semantics, schemas) Systems more and more distributed Several protocols (SOAP, CORBA, RMI) Several transparency levels Systems more and more distributed Several protocols (SOAP, CORBA, RMI) Several transparency levels Structured : DISCO(objet), LeSelect(relationnel) Semi-structured : TSIMMIS(OEM), Tukwila, MIX, YAT, MOMIS(XML) Structured : DISCO(objet), LeSelect(relationnel) Semi-structured : TSIMMIS(OEM), Tukwila, MIX, YAT, MOMIS(XML) Single mediator : LeSelect, Information Manifold, … Hierarchie of mediators : TSIMMIS, DISCO, … Single mediator : LeSelect, Information Manifold, … Hierarchie of mediators : TSIMMIS, DISCO, … GAV : TSIMMIS, Garlic, MiX, Hermes, MOMIS, Xyleme, YAT, … LAV : Information Manifold, SIMS, Tukwila, PICSEL, Agora, DWQ,… GAV : TSIMMIS, Garlic, MiX, Hermes, MOMIS, Xyleme, YAT, … LAV : Information Manifold, SIMS, Tukwila, PICSEL, Agora, DWQ,… Thin wrapper : Information Manifold, SIMS, … Thick wrapper : TSIMMIS, Garlic, … Thin wrapper : Information Manifold, SIMS, … Thick wrapper : TSIMMIS, Garlic, … Yes : IRO-DB, DWQ, IGD, … No : Information Manifold, SIMS, Tukwila, PICSEL, Agora, DWQ, TSIMMIS, Garlic, MiX, Hermes, MOMIS, Xyleme, YAT, … Yes : IRO-DB, DWQ, IGD, … No : Information Manifold, SIMS, Tukwila, PICSEL, Agora, DWQ, TSIMMIS, Garlic, MiX, Hermes, MOMIS, Xyleme, YAT, … classical: TSIMMIS, Garlic, MiX, Hermes, Xyleme, Inf. Manifold YAT, …
OBSERVER, DWQ, … classical: TSIMMIS, Garlic, MiX, Hermes, Xyleme, Inf. Manifold YAT, …
OBSERVER, DWQ, …
6
7
Response Wrapper S1 Wrapper Sn
User level Mediation level Source level
Mediation schema
XML schema Schéma exporté (XML schéma) Exported schema (XML schema)
Statistics
Metadata
Semantic correspondences Capabilities
Mediation level Mediation Queries generator Evaluator Rewriting
Sub-query Sub-query 1 Sub-query Sub- query n XQuery For Eukaryotes organisms WhereEntirely sequenced ReturnExpression matrix XQuery XQuery For For Eukaryotes organisms Where WhereEntirely sequenced Return ReturnExpression matrix Intermediary result n Query in terms of exported schemas Query in terms of exported schemas LAV Mediation queries S1=Q(MS), S2=Q(MS) GAV Mediation queries MS=Q(S1,S2,S3)
Intermediary result 1
8
MEDATION SOURCES
Mediation Schema
Source S1 Source S2 R1(#K, A) R2(#A, B) R3(#B, C, D) R4(#D, E)
Q: R1 R2 R3
Given an entity R
How to generate
9
Extract relevant portions of a source (mapping
Find the candidate operations between mapping
If two mapping schemas have an overlapping sub-tree then the join operation is candidate between the two mapping schemas.
Generate mediation queries
10
11
Query Manager
IQueryMgr
Context Manager
IContextMgr
Plan Manager
IPlanMgr
Buffer Manager
IBufferMgr
Rule Manager
IRuleMgr
Monitor
IMonitor
Legends provided interface required interface
12
Monitor and RuleManager Classes have been defined to monitor: arrival data rate, number of data processed, and execution time.
retransform
buffer
Buffer
[Query Scrambling technic] when timeout if not transformable do buffer when timeout if not began do retransform
13
User interest on
number of results, execution time, data preference, type of
partial result, …
Refinement : operations
For modifying context parameters, requesting partial results,
preference, halting operators, adding new operators, …
Managed as
MonitoringProperty instances, rules, control operators (e.g.
Counter, Partial, Buffer…)
With techniques : monitoring, active rules, construction of
partial results, …
14
One of the key challenge: the provision of system and
MEDIAGRID contributions: frameworks for data
More generally, DBMS components as middelware open
15
The OGSA-DAI project http://www.ogsa-dai.org.uk/
concerned with constructing middleware to assist with
access and integration of data from separate data sources via the grid.
conceived by the UK Database Task Force and is working
closely with the Global Grid Forum DAIS-WG and the Globus team.
distribution and implicit parallelism in query processing
16
The ObjectWeb consortium can provide valuable technology and
exploitation path for CoreGrid
check out http://www.objectweb.org ObjectWeb focus is the development of open source distributed
middleware
current emphasis is on Web application servers plans are for the development of highly configurable component-
based middleware (with multiple application domains in mind)
distributed system technology and data (base) management
technology in ObjectWeb can be useful for Grids esp. when it comes to merge Grid infrastructure and Web services infrastructure