1. Field of the Invention
This invention generally relates to computer networks, and more particularly, the invention relates to the use of decentralized, collaborative networks having a grid infrastructure. Even more specifically, the invention relates to methods, systems, computer program products, and methods of doing business wherein network-accessible services are provided in a decentralized network having a federated grid infrastructure.
2. Background Art
An emerging trend in information technology in general, and in decentralized networks of the type provided by network service providers, is use of collaboration. This trend is evidenced by the level of investment in so-called “web services” and in the adoption of a number of open industry standards supporting web services. In general, the term “web service” refers to an interface that describes a collection of network-accessible operations. Web services technology is a mechanism for distributed application integration, and is also commonly refereed to as the “service-oriented architecture” for distributed computing. Web services fulfill a specific task or a set of tasks. They may work with one or more other web services in an interoperable manner to carry out their part of a complex workflow or a business transaction. For example, completing a complex purchase order transaction may require automated interaction between an order placement service (i.e., order placement software) at the ordering business and an order fulfillment service at one or more of its business partners. In turn, this order fulfillment service may interact with a credit card approval service, a package delivery service, and so forth.
With increased use of collaborative networking, efficient techniques for resource sharing will become critical. Resource sharing is complicated in conventional distributed or decentralized networks by the heterogeneity that exists when using technologies such as web services. In recent years, the academic and scientific communities cooperated to develop the concept of “grid technology” for sharing their resources. A “grid” may be defined as a collection of distributed computing resources available over a local or wide area network that appear to an end user or application as one large virtual computing system. A primary objective of grid computing is to create virtual dynamic organizations through secure, coordinated resource-sharing among individuals, institutions and resources. Grid computing is an approach to distributed computing that spans not only locations but also organizations, machine architectures and soft-ware boundaries to provide unlimited power, collaboration and information access to everyone connected to a grid.
Grid technology allows enterprises to share resources as they form “virtual organizations”—that is, the enterprises share their resources and services (which may be in geographically-widespread locations and which may have heterogeneous computing platforms) to form virtual computing services. (See “Grid Services for Distributed System Integration”, I. Foster, et al., Computer, 35(6), 2002, for more information about grid technology.
Today an architecture referred to as “Open Grid Services” is being developed by academic and scientific communities, along with commercial entities such as International Business Machines Corporation (“IBM®”), as an evolution of grid technology. This Open Grid Services architecture (“OGSA”) enables a grid to provide enterprises with an extensible set of services that can be aggregated by the virtual organizations. According to OGSA, all computational resources, storage resources, networks, programs, databases, and so forth are modeled as services, providing a service-oriented view. OGSA leverages web services technology (and the open industry standards on which that technology is built) as well as grid technology.
The OGSA work effort includes an evolution of a programmer's toolkit referred to a “Globus Toolkit”, which is designed to make creation of grid-based applications easier. The Globus Toolkit defines a “grid runtime” as a set of services. This set of services includes: (1) a Grid Resource Allocation and Management (“GRAM”) protocol and “gatekeeper” service, designed to provide secure, reliable service creation and management; (2) a Monitoring and Discovery Service (“MDS-2”) for information discovery; and (3) a Grid Security Infrastructure for single sign-on, delegation, and credential mapping.
The need to be able to adapt current running applications to make use of the grid base system would be a key to getting to quick acceptance of GRID technology. The attractiveness of not having to re-design or recode any application, to realize the distributed grid resources represents a significant reduction in the cost to move to a GRID based infrastructure.
An object of this invention is to adapt current, running computer applications to make use of the grid based computer network system.
Another object of the invention is to enable currently running applications to realize the distributed grid resources without having to re-design or re-code those applications.
A further object of the present invention is to profile a computer application for purposes of defining resource requirements in relation to grid adapters for adapting the application to a grid based computer network system.
These and other objectives are attained with a method of and system for profiling a computer program. The method comprises the steps of using a utility application to execute the computer program; and on the basis of said execution of the computer program, identifying specific performance requirements of the computer program. A profile of the computer program is determined from said identified performance requirements; and based on said determined profile, resources for the computer program are selected from a grid of computer services.
The preferred embodiment of the invention provides a wrapper that, for example, may take the place of the Java Virtual Machine (JVM) or C++ library. The wrapper may be introduced to the application in place of its current JVM or C++ runtime library, and essentially take the place of it. The purpose of this wrapper is to provide pass-through access to the JVM, and at the same time enable monitoring during normal processing to determine the “personality” of the application. Specifically, the need here is to understand the use of grid capable resources that any given application would/could utilize. To effectively move a standard J2SE or J2EE application to the distributed GRID system, one would need to be cognizant of the way a given application makes use of the primary resources. Those resources include: Processor, Internal I/O (disk), Memory, and External I/O (Network). Without this understanding—it would be possible to simply retro-fit the application, however, it would likely not perform better, or even as well on the GRID system, because blindly externalizing these resources is not necessarily the best approach. The system must understand at a fairly granular level, the usage patterns of the resources. The profiling wrapper's job then is to insert itself between the application and the JVM, and to monitor and record the usage characteristics of the application.
Further benefits and advantages of the invention will become apparent from a consideration of the following detailed description, given with reference to the accompanying drawings, which specify and show preferred embodiments of the invention.
Before discussing the techniques of preferred embodiments in more detail, a brief description of grid services and how virtual organizations may be structure using a grid service infrastructure will be provided, referring to FIGS. 1 and 2A-2C.
Additional interfaces specified in OGSA are optional, as shown at 111, 112. These optional interfaces may comprise one or more service-specific, interfaces, and/or one or more of the OGSA interfaces. The OGSA interfaces (some of which remain to be defined) include a Factory interface for dynamic creation of grid service instances; notification functions that enable service instances to communicate with one another asynchronously; a Registry interface for registering instance handles; a Mapping interface for locating a grid service instance by its handle; an authorization interface; a policy management interface; and a manageability interface providing functions for monitoring and managing grid service instances. A WSDL portType is preferably used to specify the service interfaces of each grid service, and the collection of portTypes that each grid service supports is preferably specified using a serviceType element. (The serviceType element is an extension to WSDL that is defined for use with grid services.)
One or more service data elements 120 are provided for each grid service. A service data element is a named, typed XML element encapsulated in a container. The service data elements for a particular grid service instance each provides service data for that instance, and has a unique name, a type, and a time-to-live (to be used for lifetime management). The information in the service data element allows requesters to find information about the grid service instance, including dynamically-created information (using introspective techniques, for example), and also allows the instance to be managed. (The “FindServiceData” operation of the GridService interface may be used to query a service data element.)
Each grid service may be provided by one or more implementations 130. Some implementations may be local to the environment in which the requester is operating, while others may be remotely located. The WSDL specification for the grid service allows requesters to access an implementation transparently (e.g., without regard to the programming language in which the service is implemented or the location of the service instance). A grid service can be hosted by one or more hosting environments 140 (which may alternatively be referred to as “execution environments”). The hosting environment determines the programming model, programming language, development and debugging tools that are available, and so forth. For example, an implementation of a grid service might be written as a procedure-oriented program using the “C” programming language and execute on a particular operating system platform, and another implementation of this same grid service might be written as an object-oriented program on the Java™ programming language and execute on the WebSphere® platform from IBM. These concepts are known in the art, and will not be described in detail herein. (“Java” is a trademark of Sun Microsystems, Inc., and “WebSphere” is a registered trademark of IBM.)
As with web services, the behaviors of one or more grid services may be aggregated to compose another grid service. This is illustrated by the interface to “end-to-end” grid service 250 in
As demonstrated by
As mentioned above, the need to be able to adapt current, running applications to make use of the grid base system would be a key to getting to quick acceptance of GRID technology. The attractiveness of not having to re-design or recode any application, to realize the distributed grid resources represents a significant reduction in the cost to move to a GRID based infrastructure.
With reference to
In reality the wrapper might be a basic java pass-through application, with the ability to enable hooks in the various services that we are concerned with in order to profile the application. Alternatively, if one has access to the source code of a given application, the effort could be to actually instrument the source code itself with these monitoring hooks, and recompiled. The profiling system is envisioned to make use of both or either methods to gain intelligence about the application. The output data from the wrapper would record the personality of the application. To do this, the profiler would monitor an application for a reasonable period of time in order to understand the application as it performs its normal duties.
Several scenarios are documented below that could result from a number of profiling efforts. In the end, there will be decisions and trade-offs that must be made—either manually or automatically—to determine the appropriate services to virtualize on the GRID. For example, if the application happens to be very network intensive, but uses little other resources, it would likely be best to virtualize the entire application to essentially run complete copies across the grid. On the other hand, if an application is encountered that requires excessive disk I/O, or excessive memory use; it may be preferred to only virtualize those supporting services that are not in critical speed requirements for the application to properly function. If speed is not of the essence, but massive scalability is, it may make more sense to virtualize it all, across multiple instance, thus providing the entire cumulative resources across the GRID, it all depends on the application, its business case usage needs, etc.
To effectively make use of the GRID using GRID adapters, applications preferably meet two criteria. 1) They have an associated configuration file (profile) that provides critical application specific data needed to effectively execute the application in the new environment in the best possible way. 2) Applications conform to the standard Java API, or C++ API. Thus, any program (server or client) that is written and deployed using the Java or C++ base libraries, is an instant candidate to use GRID adapters.
The XML (Application) Profile
The application profile is anticipated as an XML format file that accurately describes the functions of an application to the GRID adapter, and the relative priority within the over all system. With reference to
Once the general aspects of the application are discovered and recorded, the parameters selected can be presented to the administrator with options to override any particular setting (along with the warning that if configured improperly, the overall system efficiency may be compromised). Finally the administrator defines a relative priority—by rating the application among various factors—such as timeliness of completion (from overnight to real time), criticalness of the application for the business, in terms of cost to the business if system fails to complete the run, frequency of execution, and relative importance to other registered applications.
It should be noted that the grid services concepts and syntax are undergoing revisions, and thus the operation names, parameter names, and so forth that are used herein to describe preferred embodiments might change during this revision process. Accordingly, the examples used herein are provided for purposes of illustration and not of limitation; alternative messages, operations, interfaces, formats, syntax, and so forth may be used without deviating from the scope of the present invention.
As will be appreciated by one of skill in the art, embodiments of the present invention may be provided as methods, systems, or computer program products. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product, which is embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present invention has been described with reference to flow diagrams and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flow diagram flow or flows and/or block diagram block or blocks.
The computer program instructions may also be loaded onto a computer-readable or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow diagram flow or flows and/or block diagram block or blocks.
While it is apparent that the invention herein disclosed is well calculated to fulfill the objects stated above, it will be appreciated that numerous modifications and embodiments may be devised by those skilled in the art and it is intended that the appended claims cover all such modifications and embodiments as fall within the true spirit and scope of the present invention.
The present application is a continuation of copending application Ser. No. 12/126,123, filed May 23, 2008, which is a continuation-in-part application of application Ser. No. 11/181,120, filed Jul. 14, 2005, now U.S. Pat. No. 7,707,579. The disclosures of applications Ser. Nos. 12/126,123 and 11/181,120 are hereby incorporated herein by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | 12126123 | May 2008 | US |
Child | 14539183 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 11181120 | Jul 2005 | US |
Child | 12126123 | US |