
f4fa6bed1d4fe1b353e001ac2a3177a2.ppt
- Количество слайдов: 14
Triana: Service-Oriented Examples Ian Taylor Cardiff University, and the Center for Computation and Technology (CCT) @ LSU
Our Research Motivation • Based on research within the Triana project: • Triana - a vehicle for investigating research into distributed systems • a workflow-based Problem Solving Environment • Goals: • To make the access of distributed services as seamless as possible • To connect heterogeneous Grids • To abstract the core capabilities needed for service-based computing (in P 2 P, Web services or Grid Computing)
Research Scope • Triana is currently funded through 2 main research projects: • Grid. One. D: to investigate P 2 P and integrating visual distributed programming for Gravitational Wave applications • Grid. Lab: one of the 2 project applications (other is Cactus) used to shape the Grid Application Toolkit (GAT)
Triana, the GAT and the GAP Service Based Computing: Grid Computing: Deployment, discovery and communication with distributed services e. g. P 2 P and (GSI) Web services Job Submission, File services A Graphical Grid Computing Environment or Portal GAP Interface GAT Interface Condor Unicore Globus RLS SSH Grid. FTP PBS SGE GRMS Grid. Lab LDR WSRF. NET Other. . P 2 PS Discovery P 2 PS Pipes JXTA Discovery Web Services UDDI JXTA Pipes SOAP Grid services
Short Course: Service-Oriented Usage • Service Discovery + Choreography • Web services • Connecting Web services and integrating with other Triana units • Service Deployment • Peer-to-peer services • Distributing Audio !!! • Generic example - can try and distribute using other networks • Shows the basic interface to distribution
GAP Interface • Motivation by GAT • A Simple Service based API, for • Service Deployment, • Service Discovery • Pipe Based Communication • Static application interface with multiple middleware bindings • P 2 PS (name…? ) • JXTA • Web services GAP Interface P 2 PS Discovery Web Services JXTA P 2 PS Pipes JXTA Discovery UDDI JXTA Pipes SOAP
Service Oriented Comms en_fr hello • Service Discovery • • • network Dynamic? Decentralized? Communication • Message Format • SOAP? • Transport Protocol • TCP? • UDP? bonjour AP G Babel. Fish babelfish. altavista. com
GAP Interface • Simple Java API • Peer-to-Peer Discovery • Pipe-Based Communication • Multiple Bindings • JXTA • P 2 PS • Web Services (WSPeer)
GAP Interface public class Server implements Message. Listener { public Server(Peer parentpeer) throws Peer. Exception { // create the server service Peer peer = parentpeer. create. Service(SERVER_SERVICE); // create the server contrrol pipe peer. create. Control. Pipe(SERVER_PIPE, this); // deploy and advertise the service peer. deploy. Service(); peer. advertise. Service(); } public void message. Received(Message. Event event) { // do something when a message is received } public static void main(String[] args) { new Server(new WSPeer()); JXTAPeer()); } }
P 2 P GAP Bindings • Two Main Bindings • Jxta • legacy implementation, due to upgrade soon… • P 2 PS • Simple (lightweight) P 2 P System • Uses in Triana, NRL (sensor nets) and Simulations (within NS-2) • Useful in highly dynamic environments • Based on some Jxta principles i. e. pipes, rendezvous nodes, dynamic discovery, etc • Capable of building small-world networks (centraliseddecentralised)
P 2 PS Overview • Discovery Service • Broadcast/Locate Adverts + Queries in Discovery Subnet • Pipe Service • Connect Pipes using Endpoint Resolvers P 2 PS Peer • Rendezvous Service • Send/Receive Adverts + Queries from known Rendezvous Peers • Resolvers • Pluggable Network Interfaces • For Ns 2 simulation environment Pipe Service UDP Resolver UDP Discovery Service Rendezvous Service TCP Resolver ? ? ? Resolver TCP Network ? ? ?
WSPeer • High Level Interface to Web Services • • Discovery Invocation Deployment Hosting • Abstract from usual Web Service Discovery and Communication Mechanisms (i. e. UDDI and HTTP) • P 2 PS Web Service Discovery? • Uses Apache AXIS as SOAP Engine • Extends Capabilities of Apache AXIS • Stubless Invocation (including complex types) • Non Standard Transports (i. e. P 2 PS)
WSPeer Application deploy publish locate invoke WSPeer – HTTP/UDDI WSPeer – P 2 PS locate publish deploy invoke UDDI invoke launch server HTTP Server
Short Course: Service-Oriented Usage • Service Discovery + Choreography • Web services • Connecting Web services and integrating with other Triana units • Service Deployment • Peer-to-peer services • Distributing Audio !!! • Generic example - can try and distribute using other networks • Shows the basic interface to distribution