Scalable Applications and Interaction Control

By registering interface specifications with metadata and routing requests to all instances, the method addresses inefficiencies in traditional workload balancers, ensuring accurate and efficient interaction management in multicloud platforms.

JP7560223B2Active Publication Date: 2024-10-02INTERNATIONAL BUSINESS MACHINE CORPORATION
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
JP2022529633
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2019-11-26
Filing Date
2020-11-23
Publication Date
2024-10-02
Estimated Expiration
2040-11-23

AI Technical Summary

Technical Problem

Traditional workload balancers in multicloud application platforms inefficiently distribute HTTP requests across application instances, leading to limited speed and impaired efficiency in capturing traces due to commands being routed to incorrect instances.

Method used

Implementing a method that registers interface specifications with applications, associates metadata, and routes requests to all instances based on metadata, combining responses to form an aggregate response, using a routing unit to manage interactions and improve coordination.

Benefits of technology

Enhances the efficiency and reliability of interactions with scalable applications by ensuring requests are distributed to all relevant instances and responses are accurately aggregated, reducing the risk of errors and improving visibility into application interactions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007560223000003
    Figure 0007560223000003
  • Figure 0007560223000004
    Figure 0007560223000004
  • Figure 0007560223000005
    Figure 0007560223000005
Patent Text Reader

Abstract

Concepts are presented for controlling interactions with a scalable application. One example includes registering an interface specification with the application, and metadata is associated with the interface specification. The method then includes routing requests to instances of the application based on the metadata associated with the interface specification for the application, and combining one or more responses from the instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates generally to interactions with scalable applications, and more particularly to controlling interactions with scalable applications.

[0002] The invention also relates to a computer program product comprising computer readable program code enabling a processor of a system, or a plurality of processors of a network, to carry out such a method.

[0003] The invention further relates to a computer system comprising at least one processor and such a computer program product, the at least one processor being adapted to execute computer readable program code of the computer program product.

[0004] The present invention also relates to a system for controlling interaction with a scalable application. [Background technology]

[0005] Many traditional computer application platforms enable microservices architectures, where applications or components of applications can be deployed and scaled independently from the rest of the system. These application platforms can be cloud-based (i.e., available on demand to users over the Internet from a cloud computing provider's servers) and also allow the use of more than one cloud platform, each providing specific application services (i.e., multi-cloud application platforms). Thus, microservices make it possible to structure an application as a collection of loosely coupled services. In a traditional microservices architecture, an application is decomposed into different smaller services, which improves the modularity of the architecture.

[0006] For applications on such platforms, a workload balancer is typically implemented in front of instances (i.e. replicas) of the application. The workload balancer routes traffic between the instances (i.e. traffic is distributed between the instances sequentially so that each instance receives traffic).

[0007] Using a workload balancer is beneficial for runtime workloads. However, it creates problems for commands (e.g., collecting traces) because the command is routed to only one of the instances of the application. Traditional multi-cloud application platforms offer the ability to send Hypertext Transfer Protocol (HTTP) requests (i.e., packets of information that one computer sends to another to communicate) to a specific instance of an application, or implement a workload balancer that continuously distributes requests among application instances. As a result, the rate at which requests can be distributed is limited, resulting in a loss of efficiency for the application platform.

[0008] For example, capturing a trace from an instance of a typical scalable application involves issuing a command to start the trace by sending a corresponding HTTP request. This request is routed to one instance of the application via a workload balancer (e.g., a routing component). A problem is then identified and a command is sent to stop the trace. However, the command to stop the trace may be routed to a different instance of the application. In this scenario, the trace is taken from the instance without capturing the problem / event. As a result, the problem is identified but the error occurred in a different instance than the one that was traced. Summary of the Invention

[0009] The present invention seeks to provide a computer-implemented method for controlling interactions with scalable applications.

[0010] The invention further seeks to provide a computer program product comprising computer program code for carrying out the proposed method when executed by a processing unit.

[0011] The present invention also seeks to provide a processing system adapted to execute this computer program code.

[0012] The present invention also seeks to provide a system for controlling interactions with scalable applications.

[0013] According to an aspect of the invention, a computer-implemented method is provided. The method includes registering an interface specification with an application, where metadata is associated with the interface specification. The method then includes routing a request to an instance of the application based on the metadata associated with the interface specification for the application. The method then further includes combining one or more responses from the instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application.

[0014] According to yet another aspect of the present invention, there is provided a system for controlling interactions with a scalable application. The system includes a registration unit configured to register an interface specification with the application, metadata being associated with the interface specification. The system further includes a routing unit configured to route requests to instances of the application based on the metadata associated with the interface specification for the application. The system further includes a combining unit for combining one or more responses from the instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application.

[0015] According to another aspect of the present invention, a computer program product for controlling interaction with a scalable application is provided, the computer program product including a computer-readable storage medium having embodied therein program instructions executable by a processing unit to cause the processing unit to perform a method.

[0016] According to another aspect of the present invention, there is provided a processing system including at least one processor and a computer program product according to an embodiment, wherein the at least one processor is adapted to execute computer program code of the computer program product. [Brief description of the drawings]

[0017] Preferred embodiments of the present invention will now be described, by way of example only, with reference to the following drawings, in which:

[0018] [Figure 1] 1 depicts a pictorial representation of an exemplary distributed system in which aspects of the illustrative embodiments may be implemented; [Diagram 2] FIG. 1 is a block diagram of an example system in which aspects of the example embodiments may be implemented. [Diagram 3] 1 is a flow diagram of a computer-implemented method for controlling interactions with a scalable application. [Figure 4] 1 is a simplified block diagram of an exemplary embodiment of a system for controlling interactions with scalable applications. [Diagram 5] 1 is a simplified block diagram of an exemplary embodiment of a system for controlling interactions with scalable applications. [Figure 6] 1 illustrates a cloud computing environment in accordance with an embodiment of the present invention. [Figure 7] 3 illustrates abstraction model layers according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] It should be understood that the figures are only schematic and are not drawn to scale, and that the same reference numerals are used throughout the figures to denote the same or similar parts.

[0020] In the context of this application, where an embodiment of the invention constitutes a method, it will be understood that such a method may be a process for execution by a computer, i.e. a computer-implemented method, and thus the various steps of the method may reflect various portions of a computer program, e.g. various portions of one or more algorithms.

[0021] Also, in the context of this application, a system can be a single device or a collection of distributed devices adapted to perform one or more embodiments of the method of the present invention. For example, a system can be a personal computer (PC), a server, or a collection of PCs or servers connected via a network, such as a local area network, the Internet, etc., to cooperatively perform at least one embodiment of the method of the present invention, or both.

[0022] The concept of controlling the interaction with scalable applications is proposed. Scalability in the context of cloud environments can be seen as the ability to handle the increase or decrease of resources to meet traffic demands in a possible way. In essence, scalability can provide a level of functionality that can be expanded or contracted as needed.

[0023] Such a concept may entail the notion of registering an interface specification with an application, and metadata is associated with the interface specification. The metadata can be annotations on the interface specification that are created manually by a user or automatically generated using machine learning algorithms. A developer or engineer can create an interface specification that includes metadata annotations. The metadata can be built in based on the type of expected request (PUT, GET, POST, etc.) or can include a basic set of metadata if the expected request is not known. The metadata can provide an indication that the routing (i.e., coordination / management) of the request or response, or both, should be handled differently or in a specific way. For example, in the case of a command (i.e., request) that allows tracing of the application, the annotation (i.e., metadata) indicates that the request should be sent to all instances of the application, not just one instance. The interface specification can be registered with the platform technology (i.e., multi-cloud application platform) at deployment time, and the platform can own / host a routing unit (i.e., routing component) in front of the instances of the application. In this way, the request can be distributed by the routing unit to each of the corresponding instances of the application outlined by the interface specification.

[0024] The embodiments may be implemented in conjunction with an interface specification. An interface specification may also be referred to as an interface document, API (Application Programming Interface) document, UI (User Interface) specification, or Swagger document, and may include a specification or description of an application that conforms to a standardized framework. An interface specification captures the details of a software user interface in a written document and may encompass all possible actions an end user can perform through the application, as well as all visual, auditory, and other interaction elements in the application. Thus, an interface specification may be the primary source of implementation / integration information about how an application should work. Besides implementation, an interface specification may consider usability, localization, and demonstration limitations. In general, the purpose of a requirements specification is to describe what a product (i.e., an application) can do, while an interface specification may detail how these requirements are actually implemented. For example, a Swagger® document (or Swagger® specification) is a specification for machine-readable interface files for describing, producing, consuming, and visualizing RESTful (representational state transfer) web services (i.e., applications) and documenting RESTful APIs. Swagger® is a registered trademark of NutraClick, LLC. Representational state transfer is a software architectural style that defines a set of constraints used to create web services. Web services that follow the REST architectural style (i.e., RESTful web services) provide interoperability between computer systems over the Internet. A RESTful API is an application programming interface that allows two or more applications to communicate with each other using HTTP requests.

[0025] Proposed embodiments may utilize the concept of invoking commands (i.e., requests) via a RESTful interface that are routed to all instances (or selected instances) of an application for completion. How the commands are invoked may be based on metadata associated with the interface specification for the application.

[0026] Therefore, we propose to provide a routing unit (i.e., a routing component). Such a routing unit may be configured to route requests to instances of an application based on interface specifications for the application and associated metadata. When a request is made and provided to an application, it is first processed by the routing unit, where the registered interface specifications are analyzed and the request may then be routed according to the associated metadata. The corresponding response may then be cached (i.e., stored) by the routing unit and then returned to the calling application in a manner defined by the application programming interface. The routing unit may be configured with appropriate retry logic in case of transient errors in creating and aggregating the responses.

[0027] Thus, embodiments may facilitate management or routing and coordination of requests to a scalable application. Requests may be routed to all running instances of the application based on metadata associated with an interface specification (i.e., API documentation) for the application. In some embodiments, requests may be routed to a predefined selection of the instances of the application. Responses from the instances of the application may then be aggregated to form a single response to the client based on the associated metadata.

[0028] In some embodiments, the interface specification for an application may include instructions related to interacting with and / or integrating with an application interface associated with the application. In this manner, details of the software user interface (e.g., implementation information for the application program interface) may be captured, allowing improved access to the specification for machines / users interacting with and / or integrating with the application interface. As a result, machines / users interacting with the application may have access to all possible actions that an end user may perform in implementing the application, as well as all visual, auditory, and other interaction elements. As a result, the ease of communication between the machine / user interacting with the application may be improved.

[0029] In some embodiments, the metadata may include instructions related to interacting with the request or one or more responses, or both. In this way, information related to how the request or response, or both, should be handled may be provided to a routing component (e.g., a workload balancer). In this way, clear instructions regarding management of the routing of requests and / or responses to instances of the application may be provided, which may improve the efficiency of request / response coordination. Furthermore, this may allow a particular request to be distributed across multiple instances of the application. This may include all instances of the application, or a subset / selection of instances of the application. As a result, the risk of not completing a request due to overlooking or missing a particular instance of the application may be effectively reduced.

[0030] In a proposed embodiment, registering an interface specification with an application can include creating metadata and then associating the created metadata with the interface specification. Then, a step can include registering the interface specification with the application. Thus, the metadata can be created manually by a user or can be automatically generated using machine learning algorithms. As a result, information related to interaction and / or integration with the application can be specifically tailored (e.g., by a user) for a given purpose. This allows for improved control and coordination in managing interactions with the application.

[0031] In a proposed embodiment, routing the request to an instance of the application may include analyzing a registered interface specification for the application. Then, the step may include identifying metadata associated with the analyzed interface specification. The step may further include routing the request to an instance of the application based on the identified metadata associated with the analyzed interface specification. In this way, management of the routing of the request may be improved, which may improve ease of control in coordinating interactions with the scalable application. As a result, the routing for each request may be tailored to the user-defined requirements for the application, which may improve the versatility and usefulness of the interface specification. As a result, the need to intelligently distribute traffic across instances by evaluating each instance may be mitigated, which may reduce the processing time required and improve efficiency.

[0032] In a proposed embodiment, combining one or more responses from instances of the application to form an aggregate response may include receiving one or more responses from instances of the application, the one or more responses being associated with the routed request. Then, the step may include storing the one or more received responses and then combining the one or more stored responses to form the aggregate response. In this way, the resulting aggregate response may provide information related to the one or more combined responses to the user with improved clarity. For example, the aggregate response may include information related to the success of the request for each instance of the routed application. In this way, the user may have improved visibility into the interaction and / or integration between the application and the multi-cloud application platform. As a result, any possible errors or failures of the request may be identified and resolved with improved efficiency and reliability. Thus, the risk of overlooking an error in the interaction with the application is reduced.

[0033] In some embodiments, the request may include a command to be executed against an instance of the application. Examples of commands include, but are not limited to, commands to identify and / or resolve errors in an instance of the application (e.g., a TRACE HTTP request), commands to receive status notifications including the status of an instance of the application (e.g., a STATUS HTTP request), commands to retrieve information from an instance of the application (e.g., a GET HTTP request), commands to send data to an application, such as customer information, file uploads, etc. (e.g., a POST HTTP request), commands to remove certain information (e.g., a DELETE HTTP request), commands to establish a communication flow with an application (e.g., a CONNECT HTTP request), and commands to describe communication options for an application (e.g., an OPTIONS HTTP request). In this manner, the versatility of interactions with an application and its instances may be improved, which may allow for improved management of interactions with the application.

[0034] In some embodiments, applications can be deployed in a scalable cloud environment, thus generating metadata-provided instructions on how to handle requests or responses, or both, based on planned capacity levels for the application that can grow or shrink as needed, thereby reducing the risk of application crashes (or even slowdowns) due to increased traffic.

[0035] 1 illustrates a diagrammatic representation of an exemplary distributed system in which aspects of the exemplary embodiments may be implemented. Distributed system 100 may include a network of computers in which aspects of the exemplary embodiments may be implemented. Distributed system 100 includes at least one network 102, which is the medium used to provide communications links between the various devices and computers connected together in distributed data processing system 100. Network 102 may include connections such as wires, wireless communication links, or fiber optic cables.

[0036] In the illustrated example, a first server 104 and a second server 106 are connected to the network 102 along with a storage unit 108. Additionally, clients 110, 112, and 114 are also connected to the network 102. The clients 110, 112, and 114 may be, for example, personal computers, network computers, etc. In the illustrated example, the first server 104 provides data, such as boot files, operating system images, and applications to the clients 110, 112, and 114. The clients 110, 112, and 114 are clients to the first server 104 in the illustrated example. The distributed processing system 100 may include additional servers, clients, and other devices not shown.

[0037] In the depicted example, distributed system 100 may be the Internet with network 102 representing a worldwide collection of networks and gateways that use the Transmission Control Protocol / Internet Protocol (TCP / IP) suite of protocols to communicate with one another. At the heart of the Internet is a backbone of high-speed data communication lines between major nodes or host computers, consisting of thousands of commercial, governmental, educational, and other computer systems that route data and messages. Distributed system 100 may also be implemented to include many different types of networks, such as, for example, intranets, local area networks (LANs), wide area networks (WANs), etc. As noted above, FIG. 1 is intended as an example, and not as an architectural limitation for different embodiments of the present invention, and the specific elements illustrated in FIG. 1 should not be considered limitations with respect to the environments in which illustrative embodiments of the present invention may be implemented.

[0038] Figure 2 is a block diagram of an example system 200 in which aspects of the example embodiments may be implemented. System 200 is an example of a computer, such as client 110 of Figure 1, in which computer usable code or instructions implementing processes for example embodiments of the present invention may be located. For example, system 200 may be configured to implement a registration unit, a routing unit, and a combining unit in accordance with an embodiment.

[0039] In the illustrated example, system 200 utilizes a hub architecture including a north bridge and memory controller hub (NB / MCH) 202 and a south bridge and input / output (I / O) controller hub (SB / ICH) 204. A processing unit 206, a main memory 208, and a graphics processor 210 are connected to NB / MCH 202. Graphics processor 210 may be connected to NB / MCH 202 through an accelerated graphics port (AGP).

[0040] In the illustrated example, a local area network (LAN) adapter 212 is connected to the SB / ICH 204. An audio adapter 216, a keyboard and mouse adapter 220, a modem 222, a read-only memory (ROM) 224, a hard disk drive (HDD) 226, a CD-ROM drive 230, a universal serial bus (USB) port and other communication ports 232, and a PCI / PCIe device 234 are connected to the SB / ICH 204 through a first bus 238 and a second bus 240. PCI / PCIe devices can include, for example, Ethernet adapters, add-in cards, and PC cards for notebook computers. PCI uses a card bus controller, whereas PCIe does not. The ROM 224 can be, for example, a flash basic input / output system (BIOS).

[0041] The HDD 226 and the CD-ROM drive 230 are connected to the SB / ICH 204 through a second bus 240. The HDD 226 and the CD-ROM drive 230 may use, for example, an integrated drive electronics (IDE) or a serial advanced technology attachment (SATA) interface. A super I / O (SIO) device 236 may be connected to the SB / ICH 204.

[0042] An operating system runs on processing unit 206. The operating system coordinates and provides control of various components within system 200 of FIG. 2. As a client, the operating system can be a commercially available operating system. An object oriented programming system, such as the Java programming system, can work in conjunction with the operating system and provide calls to the operating system from Java programs or applications executing on system 200. Java is a registered trademark of Oracle or its affiliates.

[0043] As a server, system 200 may be, for example, an IBM™ eServer™ System p™ computer system running the Advanced Interactive Executive (AIX™) operating system or the LINUX™ operating system. System 200 may be a symmetric multiprocessor (SMP) system including multiple processors in processing unit 206. Alternatively, a single processor system may be utilized. IBM™, eServer™, and System p™ are trademarks of International Business Machines Corporation. AIX™ is a registered trademark of International Business Machines Corporation. LINUX™ is a registered trademark of Linus Torvalds.

[0044] Instructions for the operating system, programming system, and applications or programs may be located on a storage device, such as HDD 226, and loaded into main memory 208 for execution by processing unit 206. Similarly, one or more message processing programs according to embodiments may be adapted to be stored by a storage device, or main memory 208, or both.

[0045] Processes for the exemplary embodiments of the present invention may be performed by the processing unit 206 using computer usable program code, which may be located in a memory such as the main memory 208, the ROM 224, or in one or more peripheral devices 226 and 230.

[0046] A bus system, such as first bus 238 or second bus 240 shown in FIG. 2, may include one or more buses. Of course, a bus system may be implemented with any type of communications fabric or architecture that provides for the transfer of data between different components or devices attached to the fabric or architecture. A communications unit, such as modem 222 or network adapter 212 in FIG. 2, may include one or more devices used to transmit and receive data. A memory may be, for example, main memory 208, ROM 224, or a cache such as found in NB / MCH 202 in FIG. 2.

[0047] Those skilled in the art will appreciate that the hardware in Figures 1 and 2 may vary depending on the implementation. Other internal hardware or peripheral devices, such as flash memory, equivalent non-volatile memory, or optical disk drives, etc., may be used in addition to or in place of the hardware depicted in Figures 1 and 2. Additionally, the processes of the illustrative embodiments may be applied to multiprocessor data processing systems other than those described above without departing from the spirit and scope of the present invention.

[0048] Additionally, system 200 may take the form of any of a number of different data processing systems, including a client computing device, a server computing device, a tablet computer, a laptop computer, a telephone or other communications device, a personal digital assistant (PDA), etc. In some illustrative examples, system 200 may be a portable computing device configured with flash memory to provide non-volatile memory for storing operating system files, user-generated data, or both, for example. Thus, system 200 may be, in essence, any known or later developed data processing system without architectural limitation.

[0049] Referring now to FIG. 3, a flow diagram of a computer-implemented method for controlling interactions with scalable applications is shown.

[0050] Step 310 includes registering the interface specification with the application, and metadata is associated with the interface specification. For example, the application has a Swagger® document (i.e., interface specification) associated with it in a given location. In an example, the application is deployed to an open source multi-cloud application platform that provides routing and scaling capabilities (which are already widely known and available).

[0051] In embodiments, the interface specification for an application includes instructions related to interacting with and / or integrating with an application interface associated with the application. For example, the interface specification includes a Swagger® document or an API document, or both.

[0052] In an embodiment, the metadata includes instructions related to interacting with the request, or one or more responses, or both. In an example, an interface specification (i.e., a Swagger® document) includes metadata on the / v1 / startTrace API to indicate that requests should be fanned out to all instances (i.e., distributed to all instances simultaneously) and responses should be aggregated at a later time. An example of metadata associated with an interface specification is as follows: [Table 1]

[0053] In an example, the API documentation (ie, interface specification) is registered (ie, associated or linked) with the application platform, and specifically, with the routing component of the application platform.

[0054] As an example, registering an interface specification with an application includes steps 312, 314, and 316. Step 312 includes creating metadata. Step 314 includes associating the created metadata with the interface specification. Step 316 includes registering the interface specification with the application.

[0055] Step 320 involves routing the request to an instance of the application based on metadata associated with the interface specification for the application.

[0056] In an embodiment, routing the request to an instance of the application includes steps 322, 324, and 326. Step 322 includes analyzing a registered interface specification for the application. Step 324 includes identifying metadata associated with the analyzed interface specification. Step 326 includes routing the request to the instance of the application based on the identified metadata associated with the analyzed interface specification.

[0057] In the example, a problem is identified in an application and a trace is required. In response, a user issues a command (i.e., a request) to start a trace via a Representational State Transfer Application Program Interface (RESTful API), an application program interface that uses HTTP requests to GET, PUT, POST, and DELETE data. The request (i.e., the command) is sent to the routing component of the application platform, which inspects the Swagger® document (i.e., the interface specification). As a result, the request is routed to all instances of the application as described by the metadata, rather than just being routed to one instance.

[0058] In an embodiment, the request includes a command to be executed against an instance of the application. In the example, a start trace request (i.e., command) is used ( / v1 / startTrace), although other requests can also be implemented. Examples of such requests include, but are not limited to, a stop trace request ( / v1 / stopTrace), a request to return a union of state objects from each instance (GET / v1 / status), and a request to return a confirmation related to whether each instance is ready (GET / v1 / already, where a 204 HTTP status code is returned if all instances are ready and a 503 HTTP status code is returned if an instance is not yet ready).

[0059] Step 330 includes combining one or more responses from the instances of the application to form an aggregate response based on metadata associated with the interface specification for the application.

[0060] In an embodiment, combining one or more responses from the instances of the application to form an aggregate response includes steps 332, 334, and 336. Step 332 includes receiving one or more responses from the instances of the application, the one or more responses being associated with the routed request. Step 334 includes storing the one or more received responses. Step 336 includes combining the one or more stored responses to form the aggregate response.

[0061] In the example, each instance of the application receives the request (i.e., the command to start tracing). Each instance successfully processes the request and responds by sending an HTTP 200 OK success status response code (i.e., response) acknowledging that the request was successful and that tracing has started. The routing component (i.e., routing unit) of the application platform waits for responses from all instances to which the request was routed and then aggregates (i.e., combines) each of the received responses into a single response (i.e., aggregated response) for the client application. For example, all responses are aggregated into an array. If all responses are identical (e.g., each response includes an HTTP status code of 204, i.e., the application / server successfully fulfilled the request and there is no additional content to send in the response payload body), then the single aggregated response includes a single HTTP status code of 204. In another example, if one response includes HTTP status code 500 (i.e., the application / server encountered an unexpected condition that prevented it from fulfilling the request) and the remaining responses include HTTP status code 204, then the single aggregated response includes HTTP status code 500 and an identifier to indicate the instance of the application. In an example, the routing component (i.e., routing unit) is configured with appropriate retry logic in case of a transient error in creating and aggregating the responses. An example of an aggregated response is as follows: [Table 2]

[0062] In these examples, tracing is started for all instances of the application. Once tracing is complete, the trace logs can be retrieved and events captured.

[0063] In an embodiment, the application is deployed within a scalable cloud environment.

[0064] Referring now to FIG. 4, a simplified block diagram of an exemplary embodiment of a system for controlling interactions with scalable applications is shown.

[0065] The system includes a registration unit 410 configured to register an interface specification with an application, where metadata is associated with the interface specification. The system further includes a routing unit 420 configured to route a request to an instance of the application based on the metadata associated with the interface specification for the application. The system further includes a combining unit 430 configured to combine one or more responses from the instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application.

[0066] In an embodiment, an interface specification for an application includes instructions related to interaction and / or integration with an application interface associated with the application.

[0067] In an embodiment, the metadata includes instructions related to interacting with the request or one or more responses, or both.

[0068] In an embodiment, the registration unit 410 includes a creation unit 412 configured to create metadata and associate the created metadata with the interface specification. The registration unit 410 is configured to register the interface specification with an application.

[0069] In an embodiment, the routing unit 420 includes a processing unit 422 configured to analyze a registered interface specification for an application. The routing unit 420 further includes an identification unit 424 configured to identify metadata associated with the analyzed interface specification. The routing unit 420 is further configured to route the request to an instance of the application based on the identified metadata associated with the analyzed interface specification.

[0070] In an embodiment, the combining unit 430 includes a receiving unit 432 configured to receive one or more responses from instances of the application, the one or more responses being associated with the routed request. The combining unit 430 further includes a storage unit 434 configured to store the one or more received responses. The combining unit 430 is further configured to combine the one or more stored responses to form an aggregate response.

[0071] In an embodiment, the request includes a command to be executed against an instance of the application.

[0072] In an embodiment, the application is deployed within a scalable cloud environment.

[0073] 5, an embodiment may include a computer system 70 that may form part of a networked system 7. For example, a routing unit may be implemented by the computer system 70. Components of the computer system / server 70 may include one or more processing configurations including, for example, but not limited to, a processor or processing unit 71, a system memory 74, and a bus 90 coupling various system components including the system memory 74 to the processing unit 71.

[0074] The system memory 74 may include computer system readable media in the form of volatile memory such as random access memory (RAM) 75 or cache memory 76, or both. The computer system / server 70 may further include other removable / non-removable, volatile / non-volatile computer system storage media. In such a case, each may be connected to the bus 90 by one or more data media interfaces. The memory 74 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of the proposed embodiments. For example, the memory 74 may include a computer program product having a program executable by the processing unit 71 to cause the system to perform a method for controlling interaction with a scalable application according to the proposed embodiments.

[0075] The programs / utilities 78 may be stored in the memory 74, having a set (at least one) of program modules 79. The program modules 79 generally implement the functions and / or methods of the proposed embodiment for controlling interaction with scalable applications.

[0076] The computer system / server 70 may also communicate with one or more external devices 80, such as a keyboard, a pointing device, a display 85, one or more devices that allow a user to interact with the computer system / server 70, or any device that allows the computer system / server 70 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), or a combination thereof. Such communication may occur via an input / output (I / O) interface 72. Furthermore, the computer system / server 70 may communicate with one or more networks, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or a combination thereof, via a network adapter 73 (e.g., for communicating recreated content to a system or a user).

[0077] In the context of this application, where an embodiment of the invention constitutes a method, it will be understood that such a method is a process for execution by a computer, i.e. a computer-implementable method, and thus the various steps of the method reflect various portions of a computer program, e.g. various portions of one or more algorithms.

[0078] Referring now to FIG. 6, an exemplary cloud computing environment 600 is illustrated. As illustrated, the cloud computing environment 600 includes one or more cloud computing nodes 610 that can communicate with local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or mobile phone 640A, a desktop computer 640B, a laptop computer 640C, or an automobile computer system 640N, or combinations thereof. The cloud computing nodes 610 can communicate with each other. These nodes can be physically or virtually grouped in one or more networks, such as a private cloud, a community cloud, a public cloud, or a hybrid cloud (not shown). This enables the cloud computing environment 600 to provide infrastructure as a service, platform as a service, or software as a service, or combinations thereof, without the cloud consumer having to maintain resources on a local computing device. It should be understood that the types of computing devices 640A-N shown in FIG. 6 are intended to be exemplary only, and that the cloud computing node 610 and cloud computing environment 600 can communicate with any type of computerized device over any type of network or network-addressable connection (e.g., using a web browser), or both.

[0079] Referring now to Figure 7, a set of functional abstraction layers provided by cloud computing environment 600 (as shown in Figure 6) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 7 are intended to be merely exemplary, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:

[0080] Hardware and software layer 760 includes hardware and software components. Example hardware components include mainframe 761, RISC (Reduced Instruction Set Computer) architecture based servers 762, servers 763, blade servers 764, storage devices 765, and networks and networking components 766. In some embodiments, software components include network application server software 767 and database software 768.

[0081] The virtualization layer 770 provides an abstraction layer that can provide the following examples of virtual entities: virtual servers 771; virtual storage 772, such as system memory 74 as shown in FIG. 5; virtual networks 773, including virtual private networks; virtual applications and operating systems 774; and virtual clients 775.

[0082] In one example, the management layer 780 can provide the functionality described below. Resource provisioning 781 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 782 provides cost tracking as resources are utilized within the cloud computing environment and billing or invoicing for the consumption of these resources. In one example, these resources can include application software licenses. Security provides identity verification for cloud consumers and tasks, and protection for data and other resources. User portal 783 provides access to the cloud computing environment for consumers and system administrators. Service level management 784 provides allocation and management of cloud computing resources such that required service levels are met. Service level agreement (SLA) planning and fulfillment 785 provides pre-positioning and procurement of cloud computing resources where future requirements are forecasted according to SLAs.

[0083] The workload tier 790 provides examples of functionality that can utilize a cloud computing environment. Examples of workloads and functionality that can be provided from this tier include mapping and navigation 791, software development and lifecycle management 792, virtual classroom instructional delivery 793, data analytics processing 794, transaction processing 795, and log file management program 796. The log program 796 can control interactions with scalable applications.

[0084] The present invention may be a system, method, or computer program product, or a combination thereof. The computer program product may include a computer readable storage medium or media having computer readable program instructions thereon for causing a processor to perform aspects of the present invention.

[0085] A computer readable storage medium may be any tangible device capable of holding and storing instructions for use by an instruction execution device. A computer readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), storage class memory (SCM), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves having instructions recorded thereon, and any suitable combination of the above. As used herein, a computer-readable storage medium is not to be construed as a transitory signal per se, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., light pulses through a fiber optic cable), or an electrical signal sent through a wire.

[0086] The computer readable program instructions described herein can be downloaded from a computer readable storage medium to each computing / processing device or to an external computer or storage device over a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network can include copper transmission cables, optical transmission fiber, wireless transmission, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer readable program instructions from the network and transfers the computer readable program instructions for storage in a computer readable storage medium in the respective computing / processing device.

[0087] The computer readable program instructions for carrying out the operations of the present invention may be assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including object oriented programming languages ​​such as Smalltalk, C++, and conventional procedural programming languages ​​such as the "C" programming language, or similar programming languages. The computer readable program instructions may be executed entirely on the user's computer, partly on the user's computer as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on a remote computer or server. In the last scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) can use state information of the computer readable program instructions to execute the computer readable program instructions by individualizing the electronic circuitry to perform aspects of the present invention.

[0088] Aspects of the present invention are described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer readable program instructions.

[0089] These computer readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing apparatus create means for performing the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams. These computer program instructions may also be stored in a computer readable medium capable of directing a computer, programmable data processing apparatus, or other device, or combination thereof, to function in a particular manner such that the computer readable medium having instructions stored therein includes an article of manufacture including instructions that perform aspects of the functions / operations specified in one or more blocks of the flowcharts and / or block diagrams.

[0090] The computer program instructions may be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to generate a computer-implemented process, such that the instructions executing on the computer, other programmable apparatus, or other device perform the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.

[0091] The flowcharts and block diagrams in the figures illustrate the architecture, functionality and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowcharts or block diagrams may represent a module, segment or portion of code, including one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions shown in the blocks may occur in a different order than that shown in the figures. For example, two blocks shown in succession may in fact be executed substantially simultaneously or the blocks may sometimes be executed in the reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams and / or flowchart illustrations, and combinations of blocks in the block diagrams and / or flowchart illustrations, may be implemented by a dedicated hardware-based system that executes the specified functions or operations or executes a combination of dedicated hardware and computer instructions.

[0092] The description of various embodiments of the present disclosure has been presented for illustrative purposes, but they are not intended to be exhaustive or limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope of the described embodiments. The terms used in this specification have been selected to best explain the principles of the embodiments, practical applications, or technical improvements over the art found in the market, or to enable those skilled in the art to understand the embodiments disclosed herein.

Claims

1. 1. A method for controlling interaction with a scalable application by computer information processing, the method comprising: registering an interface specification with an application, where metadata is associated with the interface specification; identifying requests to be sent to a plurality of instances of the application based on the metadata associated with the interface specification for the application and routing the requests to each of the plurality of instances of the application; combining responses from the instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application; A method comprising:

2. The method of claim 1 , wherein the interface specification for the application includes instructions related to interaction and integration with an application interface associated with the application.

3. The method of claim 1 , wherein the metadata includes instructions related to interacting with the request and the plurality of responses.

4. Registering the interface specification with an application includes: creating said metadata; associating the created metadata with the interface specification; registering said interface specification with said application; The method of claim 1 , comprising:

5. Routing the request to each of the multiple instances of the application includes: analyzing the registered interface specification for the application; identifying the metadata associated with the analyzed interface specification; routing the request to each of the multiple instances of the application based on the identified metadata associated with the analyzed interface specification; The method of claim 1 , comprising:

6. Combining multiple responses from the multiple instances of the application to form an aggregate response includes: receiving the responses from the instances of the application, the responses being associated with the routed requests; storing the received responses; and combining the stored responses to form the aggregate response; and The method of claim 1 , comprising:

7. The method of claim 1 , wherein the request comprises a command to be executed on the instance of the application.

8. The method of claim 7, wherein the command is a command that enables tracing of the application.

9. The method of claim 1 , wherein the application is deployed in a scalable cloud environment.

10. A computer program product that causes a computer to carry out the method according to any one of claims 1 to 9.

11. A computer-readable storage medium having stored thereon the computer program of claim 10.

12. 1. A system for controlling interaction with a scalable application, the system comprising: a registration unit configured to register an interface specification with an application, wherein metadata is associated with the interface specification; a routing unit configured to identify requests to be sent to a plurality of instances of the application based on the metadata associated with the interface specification for the application, and to route the requests to each of the plurality of instances of the application; a combining unit for combining responses from the multiple instances of the application to form an aggregate response based on the metadata associated with the interface specification for the application; Including, the system.

13. The system of claim 12 , wherein the interface specification for the application includes instructions related to interaction and integration with an application interface associated with the application.

14. The system of claim 12 , wherein the metadata includes instructions related to interacting with the request and the plurality of responses.

15. the registration unit includes a creation unit configured to create the metadata and associate the created metadata with the interface specification; The system of claim 12 , wherein the registration unit is configured to register the interface specification with the application.

16. The routing unit comprises: a processing unit configured to analyze the registered interface specification for the application; an identification unit configured to identify the metadata associated with the analyzed interface specification; Including, 13. The system of claim 12, wherein the routing unit is further configured to route the request to each of the multiple instances of the application based on the identified metadata associated with the analyzed interface specification.

17. the coupling unit comprising: a receiving unit configured to receive the responses from the instances of the application, the responses being associated with the routed requests; a storage unit configured to store the received responses; and Including, The system of claim 12 , wherein the combining unit is further configured to combine the stored responses to form the aggregate response.

18. The system of claim 12 , wherein the request comprises a command to be executed against the instance of the application.

19. The system of claim 18, wherein the command is a command that enables tracing of the application.

20. The system of claim 12 , wherein the application is deployed in a scalable cloud environment.

Citation Information

Patent Citations

  • Service and recovery using multi-flow redundant request processing

    US20050066327A1

  • Aggregation and federation of distributed service entities and associations

    US20160316016A1