Advertisement” that will be discussed in the nextsubsection.
3)
JXTA Runtime Layer
is the layer that providesa communication mechanism and functions thatsupporting the core services (that running on the Coreservices layer). JXTA can support the scalability anddynamism of the system. Furthermore, The JXTAprovides the communication mechanism that uses thestandard XML as communicated messages betweenpeers. So the framework can be possibly interpolatedwith other frameworks that relied on the samemessages (e.g., the framework that uses Microsoft.NET Framework as the runtime environment of thesystem).
4) Core service Layer
is the layer that provides thecore services for supporting the basic functions of theapplications running on the utility computinginfrastructure. The core services are listed as follows:
- Resource Discovery Service (RDS)
is the servicefor discovery the required utility services. The RDSalso functions the indexing and caching the locationsof utility service to accelerate the speed of discovery.
- Resource Monitoring Service (RMS)
is theservice for monitoring and tracking the existence andperformance status of peers (e.g., uptime anddowntime, available memory, free physical storage,load of processor, and bandwidth network etc.). Thestatic status can be retrieved by this service too (e.g.,the kernel version of the operating system, the modelof processor, and the number of processor etc.).
- Job Execution Service (JES)
is the service forsubmitting jobs to compute on a specified peer. A jobis meant as a program that may include parameters anddata to run.
- Workload Distribution Service (WDS)
is theservice for balancing load of computing jobs that willbe submitted to peers. WDS must also support theloads that occurred from calling utility services.The WDS collaborates with JES for distributing jobs and with RMS for decision making of choosingpeers which will be submitted jobs to. So the WDSmust provide some efficient algorithms for efficientutilization of the system.
- File Management Service (FMS)
is the servicefor sharing files and transferring files among peersinside the system.
- Authentication and Authorization Service(AAS)
is the service for control security inside thesystem. The AAS consists of 2 functions:authentication and authorization. The authenticationfunction is used to authenticate users and peers thatlogin to the system. The authorization function is usedto control the access of peers to resources or utilityservices which the peers have the right to access.
5) Application Layer
is the top layer of users’applications. An application is developed to callrequired utility services. To allocate the utility servicesto an application, hence; the application must invokethe underlying core services (provided on the coreservices layer) for discovery the required utilityservices, monitor the connecting peers, and others. Todevelop an application to call the core services, hence;the framework provides an Application ProgrammingInterface API) for the calling.
3.2 Service Advertisement Mechanism
In this subsection, we will discuss the serviceadvertisement mechanism that used to declaring autility service to be known by other peers. Themechanism works at the utility service layer.In fact, the mechanism is developed by anadvertisement mechanism provided by the JXTA.
Theadvertisement mechanism is used to declare themetadata of a resource shared in a peer-to-peernetwork. The metadata consists of key and value pairs.The metadata is helpful for discovery by any peers.When a peer needs to find out some resources, itmust specify the required attributes via some key andvalue pairs. Then it sends the requirement to adiscovery mechanism. The mechanism will search thematched resources by comparing the user’srequirement with the metadata declared in thesearching peer.
Figure 2. An example of a serviceadvertisement of a utility service
In the JXTA, the advertisement is a common XMLdocument consisted of some tags that each tag referredto a key and value pair of the metadata. For ourframework, we define that a service advertisement
Add a Comment