Professional Documents
Culture Documents
GCC Unit 2 GridService
GCC Unit 2 GridService
COMPUTING
Grid Services
Unit 2 Session-1
CS6703 GRID AND CLOUD COMPUTING
Unit 2
UNIT II GRID SERVICES
login
Buyer Amazon.com
login ok
buy a book
price information
confirm purchase
1. Service advertises
itself in the registry
3. Client interacts
with the service
<?xml version="1.0"?>
<contact-info>
<name>John Smith</name> <company>University of
Florida</company> <phone>352-392-1200</phone>
</contact-info>
</xml>
XML
Web Service
User
Resource
(database, CPU,
storage …)
15
The Web Service state machine
client
1. Service advertises
itself in the registry
3. Client interacts (UDDI)
service
with the service
(SOAP + HTTP
+ XML)
Course: GCC Unit: 2; Session: 1 Grid Services
16
SOAP (Simple Object Access Protocol)
Soap Message
Envelope (required)
Header (optional)
Body (required)
Fault (optional)
1
XML messaging using SOAP
SOAP SOAP
<definitions>
<types>
definition of types........
</types>
<message>
definition of a message....
</message>
<portType>
definition of a port.......
</portType>
<binding>
definition of a binding....
</binding>
</definitions>
<operation name=“greeting">
</operation>
</portType >
<message name=“greetingResponse">
2
UDDI (Universal Description, Discovery and Integration)
• BusinessEntity
• Information about a company
(name of the company, contact
info etc.)
• Kind of company
• BusinessEntity contains
BusinessService elements that
represent the services the
company offers
• Each BusinessService contains
BindingTemplates that describe
the services
login
Buyer Amazon.com
login ok, your
shopping cart id is
0x800
logout
and used
computing
Lifecycle
State management
Service Groups
Factory
Notification
Handle Map
• Notifications Bind
Client Grid Service
Reply
Legend
program boundary request flow
module boundary Grid Service Reference reply flow
Grid GT1
GT2
OGS
Started I
far apart Have been
in apps converging WSRF
& tech
D L 2,
WS
D L , SD M
WS W
Web P W S-*
HTT
Static method
• The locations and number of replicas are determined in advance and will not be modified.
• Static strategic cannot adapt to changes in demand, bandwidth and storage variability
Dynamic strategies
• Dynamic strategies can adjust locations and number of data replicas according to change in conditions
• Frequent data moving operations can result in much more overhead the static strategies
• Optimization may be determined based on whether the data replica is being created, deleted or moved.
• The most common replication include preserving locality, minimizing update costs and maximizing profits .
1. Monadic method
2. Hierarchical model
3. Federation model
4. Hybrid model
1. Kai Hwang, Geoffery C. Fox and Jack J. Dongarra, “Distributed and Cloud Computing:
2. https://www.dcc.fc.up.pt/~ines/aulas/1213/CG/OGSA.ppt
3. http://www.computerworld.com/article/2552339/networking/open-grid-services-
architecture.html
4. http://searchsoa.techtarget.com/definition/Open-Grid-Services-Architecture
5. www.cs.umsl.edu/~sanjiv/classes/cs6740/presentation/OGSA.ppt
6. www.nesc.ac.uk/news/.../OpenGridServicesArchitectureApril20021.ppt
7. www.cse.buffalo.edu/~bina/cse486/spring2011/progtutorial_0.4.3.pdf