[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

US20180062942A1 - Methods and Systems for Exception Detection and Reporting in a Distributed Network System - Google Patents

Methods and Systems for Exception Detection and Reporting in a Distributed Network System Download PDF

Info

Publication number
US20180062942A1
US20180062942A1 US15/806,253 US201715806253A US2018062942A1 US 20180062942 A1 US20180062942 A1 US 20180062942A1 US 201715806253 A US201715806253 A US 201715806253A US 2018062942 A1 US2018062942 A1 US 2018062942A1
Authority
US
United States
Prior art keywords
processing
processing element
api
exceptional
identifier
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/806,253
Inventor
Alexander Leonard Walsh
Daniel Joseph Spraggins
Paul Voccio
Matthew Charles Dietz
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Rackspace US Inc
Original Assignee
Rackspace US Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/752,255 external-priority patent/US9521004B2/en
Priority claimed from US13/752,234 external-priority patent/US9658941B2/en
Priority claimed from US13/752,147 external-priority patent/US9135145B2/en
Application filed by Rackspace US Inc filed Critical Rackspace US Inc
Priority to US15/806,253 priority Critical patent/US20180062942A1/en
Assigned to RACKSPACE US, INC. reassignment RACKSPACE US, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: WALSH, ALEXANDER LEONARD, SPRAGGINS, DANIEL JOSEPH
Assigned to RACKSPACE US, INC. reassignment RACKSPACE US, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: DIETZ, MATTHEW CHARLES, VOCCIO, PAUL
Publication of US20180062942A1 publication Critical patent/US20180062942A1/en
Assigned to CITIBANK, N.A. reassignment CITIBANK, N.A. SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: RACKSPACE US, INC.
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS
    • H04L41/5009Determining service level performance parameters or violations of service level contracts, e.g. violations of agreed response time or mean time between failures [MTBF]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Definitions

  • the present disclosure relates generally to cloud computing, and more particularly to systems and methods of monitoring failures in a distributed network system providing cloud services.
  • Consumers of resources on a distributed network system providing cloud services may, from time to time, request metrics or reports related to the quality of services provided by the service provider. For example, many consumers may have Service Level Agreements (SLAs) in place with services providers that guarantee certain performance or service quality levels. Service availability and responsiveness to service requests may be among the desired metrics.
  • SLAs Service Level Agreements
  • a cloud service provider may generate reports for customers, which provide metrics related to system availability and responsiveness to requests for system resources.
  • One such metric is often a rate of failure to fulfill customer requests.
  • reports only provide metrics with respect to server errors, often referred to as Hypertext Transfer Protocol (HTTP) Server-Side Failures and responses.
  • 5XX refers to the HTTP error codes associated with various server failures.
  • 5XX errors may include error 500 (internal server error), error 501 (request not implemented), error 502 (bad gateway), error 503 (service unavailable), error 504 (gateway timeout), etc.
  • error 500 internal server error
  • error 501 request not implemented
  • error 502 bad gateway
  • error 503 service unavailable
  • error 504 gateway timeout
  • the reliability of such metrics may be of interest because there may be financial consequences associated with failures to meet SLA terms. Also, there may be certain situations, which a customer would consider an error or fault, but which would not be counted as a failure under a conventional failure reporting methods.
  • FIG. 1 a is a schematic view of a distributed system.
  • FIG. 1 b is a schematic view illustrating an external view of a cloud computing system.
  • FIG. 2 is a schematic view illustrating an information processing system as used in various embodiments.
  • FIG. 3 a shows a message service system according to various embodiments.
  • FIG. 3 b is a diagram showing how a directed message is sent using the message service according to various embodiments.
  • FIG. 3 c is a diagram showing how a broadcast message is sent using the message service according to various embodiments.
  • FIG. 4 shows IaaS-style computational cloud service according to various embodiments.
  • FIG. 5 shows an instantiating and launching process for virtual resources according to various embodiments.
  • FIG. 6 illustrates a graphical representation of a system for reselling resources of a distributed network system.
  • FIG. 7 is a schematic block diagram illustrating one embodiment of an apparatus for monitoring failures in a distributed network system.
  • FIG. 8 is a flowchart diagram illustrating one embodiment of a method for monitoring failures in a distributed network system.
  • FIG. 9 illustrates one embodiment of an API request record.
  • FIG. 10 illustrates one embodiment of an operation failure report.
  • the following disclosure has reference to monitoring failures in a distributed network system providing cloud services.
  • the methods and systems may include receiving an Application Program Interface (API) request, assigning a unique identifier to the API request, recording, in association with the unique identifier, receipt time corresponding to a time at which the API request is received, and associating one or more system state changes with the unique identifier.
  • API Application Program Interface
  • the present embodiments provide a more accurate failure monitoring and associated metrics. Additional benefits and advantages of the present embodiments will become evident in the following description.
  • FIG. 1A illustrates a simplified diagram of a distributed application 100 for which various embodiments of monitoring failures in a distributed network system may be implemented.
  • application 100 is provided merely as an example and that other suitable distributed applications, middleware, or computing systems can benefit from distributed system status verification capabilities described herein.
  • application 100 may be a cloud service.
  • application 100 includes event manager 106 configured to provide failure monitoring services.
  • failure monitoring can include recording events associated with an API request and reporting a failure rate in response to those events.
  • event manager 106 can observe messages within the distributed application across queues and from particular components of the application.
  • event manager 106 interfaces with message service 110 of application 100 .
  • message service 110 connects various subsystems of the application 100 , and message service 110 may be configured to pass messages relative to one or more elements of system 100 .
  • System 100 may include one or more subsystems, such as controllers 112 and services 117 .
  • System 100 may include one or more controllers 112 for the application to be employed in a distributed architecture, such as cloud computing services.
  • controllers 112 include a compute controller 115 a , a storage controller 115 b , auth controller 115 c , image service controller 115 d and network controller 115 e .
  • Controllers 115 are described with reference to a cloud computing architecture in FIG. 1 .
  • network controller 115 a deals with host machine network configurations and can perform operations for allocating IP addresses, configuring VLANs, implementing security groups and configuring networks.
  • Each of controllers 112 may interface with one or more services.
  • compute controller 115 a interfaces with compute pool 120 a
  • storage controller 115 b may interface with object store 120 b
  • auth controller 115 c may interface with authentication/authorization controller 120 c
  • image service controller 115 d may interface with image store 120 d
  • network controller 115 e may interface with virtual networking devices 120 e .
  • controllers 115 and services 120 are with reference to an open architecture, it should be appreciated that the methods and systems for tracing may be equally applied to other distributed applications.
  • Cloud computing system 130 includes event manager 106 and message service 110 .
  • event manager 106 can observe messages of cloud computing system 130 , including API requests, and generate records of responses to the API requests from services of the cloud computing system 130 .
  • controllers and services of the cloud computing system 130 may include event managers to monitor failures of various components of cloud computing system 130 .
  • the cloud computing system 130 includes a user device 132 connected to a network 134 such as, for example, a Transport Control Protocol/Internet Protocol (TCP/IP) network (e.g., the Internet.)
  • the user device 132 is coupled to the cloud computing system 130 via one or more service endpoints 155 .
  • these endpoints give varying amounts of control relative to the provisioning of resources within the cloud computing system 130 .
  • SaaS endpoint 152 a typically only gives information and access relative to the application running on the cloud storage system, and the scaling and processing aspects of the cloud computing system is obscured from the user.
  • PaaS endpoint 152 b typically gives an abstract Application Programming Interface (API) that allows developers to declaratively request or command the backend storage, computation, and scaling resources provided by the cloud, without giving exact control to the user.
  • IaaS endpoint 152 c typically provides the ability to directly request the provisioning of resources, such as computation units (typically virtual machines), software-defined or software-controlled network elements like routers, switches, domain name servers, etc., file or object storage facilities, authorization services, database services, queue services and endpoints, etc.
  • resources such as computation units (typically virtual machines), software-defined or software-controlled network elements like routers, switches, domain name servers, etc., file or object storage facilities, authorization services, database services, queue services and endpoints, etc.
  • users interacting with an IaaS cloud are typically able to provide virtual machine images that have been customized for user-specific functions. This allows the cloud computing system 130 to be used for new, user-defined services without requiring specific support.
  • cloud controllers 135 running what is sometimes called a “cloud operating system” that work on an even lower level, interacting with physical machines, managing the contradictory demands of the multi-tenant cloud computing system 130 .
  • these correspond to the controllers and services discussed relative to FIG. 1 a .
  • the workings of the cloud controllers 135 are typically not exposed outside of the cloud computing system 130 , even in an IaaS context.
  • the commands received through one of the service endpoints 155 are then routed via one or more internal networks 154 .
  • the internal network 154 couples the different services to each other.
  • the internal network 154 may encompass various protocols or services, including but not limited to electrical, optical, or wireless connections at the physical layer; Ethernet, Fiber channel, ATM, and SONET at the MAC layer, TCP, UDP, ZeroMQ or other services at the connection layer; and XMPP, HTTP, AMPQ, STOMP, SMS, SMTP, SNMP, or other standards at the protocol layer.
  • the internal network 154 is typically not exposed outside the cloud computing system, except to the extent that one or more virtual networks 156 may be exposed that control the internal routing according to various rules.
  • the virtual networks 156 typically do not expose as much complexity as may exist in the actual internal network 154 ; but varying levels of granularity can be exposed to the control of the user, particularly in IaaS services.
  • processing or routing nodes in the network layers 154 and 156 , such as proxy/gateway 150 .
  • Other types of processing or routing nodes may include switches, routers, switch fabrics, caches, format modifiers, or correlators. These processing and routing nodes may or may not be visible to the outside. It is typical that one level of processing or routing nodes may be internal only, coupled to the internal network 154 , whereas other types of network services may be defined by or accessible to users, and show up in one or more virtual networks 156 . Either of the internal network 154 or the virtual networks 156 may be encrypted or authenticated according to the protocols and services described below.
  • one or more parts of the cloud computing system 130 may be disposed on a single host. Accordingly, some of the “network” layers 154 and 156 may be composed of an internal call graph, inter-process communication (IPC), or a shared memory communication system.
  • IPC inter-process communication
  • a communication passes from the endpoints via a network layer 154 or 156 , as well as possibly via one or more switches or processing devices 150 , it is received by one or more applicable cloud controllers 135 .
  • the cloud controllers 135 are responsible for interpreting the message and coordinating the performance of the necessary corresponding services, returning a response if necessary.
  • the cloud controllers 135 may provide services directly, more typically the cloud controllers 135 are in operative contact with the service resources 140 necessary to provide the corresponding services.
  • a service 140 a may be a “compute” service that will work at an IaaS level, allowing the creation and control of user-defined virtual computing resources.
  • a cloud computing system 130 may provide a declarative storage API, a SaaS-level Queue service 140 c , a DNS service 140 d , or a Database service 140 e , or other application services without exposing any of the underlying scaling or computational resources.
  • Other services are contemplated as discussed in detail below.
  • various cloud computing services or the cloud computing system itself may require a message passing system.
  • the message routing service 110 is available to address this need, but it is not a required part of the system architecture in at least one embodiment.
  • the message routing service is used to transfer messages from one component to another without explicitly linking the state of the two components. Note that this message routing service 110 may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between storage for cloud service state and for user data, including user service state.
  • various cloud computing services or the cloud computing system itself may require a persistent storage for system state.
  • the data store 125 is available to address this need, but it is not a required part of the system architecture in at least one embodiment.
  • various aspects of system state are saved in redundant databases on various hosts or as special files in an object storage service.
  • a relational database service is used to store system state.
  • a column, graph, or document-oriented database is used. Note that this persistent storage may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between storage for cloud service state and for user data, including user service state.
  • the cloud computing system 130 may be useful for the cloud computing system 130 to have a system controller 145 .
  • the system controller 145 is similar to the cloud computing controllers 135 , except that it is used to control or direct operations at the level of the cloud computing system 130 rather than at the level of an individual service.
  • a plurality of user devices 132 may, and typically will, be connected to the cloud computing system 130 and that each element or set of elements within the cloud computing system is replicable as necessary.
  • the cloud computing system 130 whether or not it has one endpoint or multiple endpoints, is expected to encompass embodiments including public clouds, private clouds, hybrid clouds, and multi-vendor clouds.
  • Each of the user device 132 , the cloud computing system 130 , the endpoints 152 , the cloud controllers 135 and the cloud services 140 typically include a respective information processing system, a subsystem, or a part of a subsystem for executing processes and performing operations (e.g., processing or communicating information).
  • An information processing system is an electronic device capable of processing, executing or otherwise handling information, such as a computer.
  • FIG. 2 shows an information processing system 210 that is representative of one of, or a portion of, the information processing systems described above.
  • diagram 200 shows an information processing system 210 configured to host one or more virtual machines, coupled to a network 205 .
  • the network 205 could be one or both of the networks 154 and 156 described above.
  • An information processing system is an electronic device capable of processing, executing or otherwise handling information. Examples of information processing systems include a server computer, a personal computer (e.g., a desktop computer or a portable computer such as, for example, a laptop computer), a handheld computer, and/or a variety of other information handling systems known in the art.
  • the information processing system 210 shown is representative of, one of, or a portion of, the information processing systems described above.
  • the information processing system 210 may include any or all of the following: (a) a processor 212 for executing and otherwise processing instructions. (b) one or more network interfaces 214 (e.g., circuitry) for communicating between the processor 212 and other devices, those other devices possibly located across the network 205 ; (c) a memory device 216 (e.g., FLASH memory, a random access memory (RAM) device or a read-only memory (ROM) device for storing information (e.g., instructions executed by processor 212 and data operated upon by processor 212 in response to such instructions)).
  • the information processing system 210 may also include a separate computer-readable medium 218 operably coupled to the processor 212 for storing information and instructions as described further below.
  • an information processing system has a “management” interface at 1 GB/s, a “production” interface at 10 GB/s, and may have additional interfaces for channel bonding, high availability, or performance.
  • An information processing device configured as a processing or routing node may also have an additional interface dedicated to public Internet traffic, and specific circuitry or resources necessary to act as a VLAN trunk.
  • the information processing system 210 may include a plurality of input/output devices 220 a - n which are operably coupled to the processor 212 , for inputting or outputting information, such as a display device 220 a , a print device 220 b , or other electronic circuitry 220 c - n for performing other operations of the information processing system 210 known in the art.
  • the computer-readable media and the processor 212 are structurally and functionally interrelated with one another as described below in further detail, and information processing system of the illustrative embodiment is structurally and functionally interrelated with a respective computer-readable medium similar to the manner in which the processor 212 is structurally and functionally interrelated with the computer-readable media 216 and 218 .
  • the computer-readable media may be implemented using a hard disk drive, a memory device, and/or a variety of other computer-readable media known in the art, and when including functional descriptive material, data structures are created that define structural and functional interrelationships between such data structures and the computer-readable media (and other aspects of the system 200 ). Such interrelationships permit the data structures' functionality to be realized.
  • the processor 212 reads (e.g., accesses or copies) such functional descriptive material from the network interface 214 , the computer-readable media 218 onto the memory device 216 of the information processing system 210 , and the information processing system 210 (more particularly, the processor 212 ) performs its operations, as described elsewhere herein, in response to such material stored in the memory device of the information processing system 210 .
  • the processor 212 is capable of reading such functional descriptive material from (or through) the network 105 .
  • the information processing system 210 includes at least one type of computer-readable media that is non-transitory.
  • the information processing system 210 includes a hypervisor 230 .
  • the hypervisor 230 may be implemented in software, as a subsidiary information processing system, or in a tailored electrical circuit or as software instructions to be used in conjunction with a processor to create a hardware-software combination that implements the specific functionality described herein.
  • software may include software that is stored on a computer-readable medium, including the computer-readable medium 218 .
  • the hypervisor may be included logically “below” a host operating system, as a host itself, as part of a larger host operating system, or as a program or process running “above” or “on top of” a host operating system. Examples of hypervisors include Xenserver, KVM, VMware, Microsoft's Hyper-V. and emulation programs such as QEMU.
  • the hypervisor 230 includes the functionality to add, remove, and modify a number of logical containers 232 a - n associated with the hypervisor. Zero, one, or many of the logical containers 232 a - n contain associated operating environments 234 a - n .
  • the logical containers 232 a - n can implement various interfaces depending upon the desired characteristics of the operating environment. In one embodiment, a logical container 232 implements a hardware-like interface, such that the associated operating environment 234 appears to be running on or within an information processing system such as the information processing system 210 .
  • a logical container 234 could implement an interface resembling an x86, x86-64, ARM, or other computer instruction set with appropriate RAM, busses, disks, and network devices.
  • a corresponding operating environment 234 for this embodiment could be an operating system such as Microsoft Windows, Linux, Linux-Android, or Mac OS X.
  • a logical container 232 implements an operating system-like interface, such that the associated operating environment 234 appears to be running on or within an operating system.
  • this type of logical container 232 could appear to be a Microsoft Windows, Linux, or Mac OS X operating system.
  • Another possible operating system includes an Android operating system, which includes significant runtime functionality on top of a lower-level kernel.
  • a corresponding operating environment 234 could enforce separation between users and processes such that each process or group of processes appeared to have sole access to the resources of the operating system.
  • a logical container 232 implements a software-defined interface, such a language runtime or logical process that the associated operating environment 234 can use to run and interact with its environment.
  • a corresponding operating environment 234 would use the built-in threading, processing, and code loading capabilities to load and run code. Adding, removing, or modifying a logical container 232 may or may not also involve adding, removing, or modifying an associated operating environment 234 .
  • these operating environments will be described in terms of an embodiment as “Virtual Machines,” or “VMs,” but this is simply one implementation among the options listed above.
  • a VM has one or more virtual network interfaces 236 . How the virtual network interface is exposed to the operating environment depends upon the implementation of the operating environment. In an operating environment that mimics a hardware computer, the virtual network interface 236 appears as one or more virtual network interface cards. In an operating environment that appears as an operating system, the virtual network interface 236 appears as a virtual character device or socket. In an operating environment that appears as a language runtime, the virtual network interface appears as a socket, queue, message service, or other appropriate construct.
  • the virtual network interfaces (VNIs) 236 may be associated with a virtual switch (Vswitch) at either the hypervisor or container level. The VNI 236 logically couples the operating environment 234 to the network, and allows the VMs to send and receive network traffic.
  • the physical network interface card 214 is also coupled to one or more VMs through a Vswitch.
  • each VM includes identification data for use naming, interacting, or referring to the VM. This can include the Media Access Control (MAC) address, the Internet Protocol (IP) address, and one or more unambiguous names or identifiers.
  • MAC Media Access Control
  • IP Internet Protocol
  • a “volume” is a detachable block storage device.
  • a particular volume can only be attached to one instance at a time, whereas in other embodiments a volume works like a Storage Area Network (SAN) so that it can be concurrently accessed by multiple devices.
  • Volumes can be attached to either a particular information processing device or a particular virtual machine, so they are or appear to be local to that machine. Further, a volume attached to one information processing device or VM can be exported over the network to share access with other instances using common file sharing protocols.
  • a message queuing service is used for both local and remote communication so that there is no requirement that any of the services exist on the same physical machine.
  • Various existing messaging infrastructures are contemplated, including AMQP, ZeroMQ, STOMP and XMPP. Note that this messaging system may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between internal messaging services and any messaging services associated with user data.
  • the message service sits between various components and allows them to communicate in a loosely coupled fashion. This can be accomplished using Remote Procedure Calls (RPC hereinafter) to communicate between components, built atop either direct messages and/or an underlying publish/subscribe infrastructure. In a typical embodiment, it is expected that both direct and topic-based exchanges are used. This allows for decoupling of the components, full asynchronous communications, and transparent balancing between equivalent components.
  • RPC Remote Procedure Calls
  • calls between different APIs can be supported over the distributed system by providing an adapter class which takes care of marshalling and unmarshalling of messages into function calls.
  • a cloud controller 135 (or the applicable cloud service 140 ) creates two queues at initialization time, one that accepts node-specific messages and another that accepts generic messages addressed to any node of a particular type. This allows both specific node control as well as orchestration of the cloud service without limiting the particular implementation of a node.
  • the API can act as a consumer, server, or publisher.
  • FIG. 3 a one implementation of a message service 110 is shown.
  • FIG. 3 a shows the message service 300 when a single instance is deployed and shared in the cloud computing system 130 , but the message service can be either centralized or fully distributed.
  • the message service 300 keeps traffic associated with different queues or routing keys separate, so that disparate services can use the message service without interfering with each other. Accordingly, the message queue service may be used to communicate messages between network elements, between cloud services 140 , between cloud controllers 135 , between network elements, or between any group of sub-elements within the above. More than one message service may be used, and a cloud service 140 may use its own message service as required.
  • An Invoker is a component that sends messages in the system via two operations: 1) an RPC (Remote Procedure Call) directed message and ii) an RPC broadcast.
  • a Worker is a component that receives messages from the message system and replies accordingly.
  • a message node 302 including one or more exchanges 310 .
  • the message system is “brokerless,” and one or more exchanges are located at each client.
  • the exchanges 310 act as internal message routing elements so that components interacting with the message service can send and receive messages. In one embodiment, these exchanges are subdivided further into a topic exchange 310 a and a direct exchange 310 b .
  • An exchange 310 is a routing structure or system that exists in a particular context. In a one embodiment, multiple contexts can be included within a single message service with each one acting independently of the others.
  • the type of exchange such as a topic exchange 310 a vs. direct exchange 310 b determines the routing policy. In a second embodiment, the routing policy is determined via a series of routing rules evaluated by the exchange 310 .
  • the direct exchange 310 a is a muting element created during or for RPC directed message operations. In one embodiment, there are many instances of a direct exchange 310 a that are created as needed for the message service. In a further embodiment, there is one direct exchange 310 a created for each RPC directed message received by the system.
  • the topic exchange 310 a is a routing element created during or for RPC directed broadcast operations.
  • every message received by the topic exchange is received by every other connected component.
  • the routing rule within a topic exchange is described as publish-subscribe, wherein different components can specify a discriminating function and only topics matching the discriminator are passed along.
  • a queue 315 is a message stream; messages sent into the stream are kept in the queue 315 until a consuming component connects to the queue and fetches the message.
  • a queue 315 can be shared or can be exclusive. In one embodiment, queues with the same topic are shared amongst Workers subscribed to that topic.
  • a queue 315 will implement a FIFO policy for messages and ensure that they are delivered in the same order that they are received. In other embodiments, however, a queue 315 may implement other policies, such as LIFO, a priority queue (highest-priority messages are delivered first), or age (oldest objects in the queue are delivered first), or other configurable delivery policies. In other embodiments, a queue 315 may or may not make any guarantees related to message delivery or message persistence.
  • element 320 is a topic publisher.
  • a topic publisher 320 is created, instantiated, or awakened when an RPC directed message or an RPC broadcast operation is executed; this object is instantiated and used to push a message to the message system. Every publisher connects always to the same topic-based exchange; its life-cycle is limited to the message delivery.
  • element 330 is a direct consumer.
  • a direct consumer 330 is created, instantiated, or awakened if an RPC directed message operation is executed; this component is instantiated and used to receive a response message from the queuing system.
  • Every direct consumer 330 connects to a unique direct-based exchange via a unique exclusive queue, identified by a UUID or other unique name. The life-cycle of the direct consumer 330 is limited to the message delivery.
  • the exchange and queue identifiers are included the message sent by the topic publisher 320 for RPC directed message operations.
  • elements 340 are topic consumers.
  • a topic consumer 340 is created, instantiated, or awakened at system start.
  • a topic consumer 340 is created, instantiated, or awakened when a topic is registered with the message system 300 .
  • a topic consumer 340 is created, instantiated, or awakened at the same time that a Worker or Workers are instantiated and persists as long as the associated Worker or Workers have not been destroyed.
  • the topic consumer 340 is used to receive messages from the queue and it invokes the appropriate action as defined by the Worker role.
  • a topic consumer 340 connects to the topic-based exchange either via a shared queue or via a unique exclusive queue.
  • every Worker has two associated topic consumers 340 , one that is addressed only during an RPC broadcast operations (and it connects to a shared queue whose exchange key is defined by the topic) and the other that is addressed only during an RPC directed message operations, connected to a unique queue whose with the exchange key is defined by the topic and the host.
  • element 350 is a direct publisher.
  • a direct publisher 350 is created, instantiated, or awakened for RPC directed message operations and it is instantiated to return the message required by the request/response operation.
  • the object connects to a direct-based exchange whose identity is dictated by the incoming message.
  • FIG. 3 b one embodiment of the process of sending an RPC directed message is shown relative to the elements of the message system 300 as described relative to FIG. 3 a . All elements are as described above relative to FIG. 3 a unless described otherwise.
  • a topic publisher 320 is instantiated.
  • the topic publisher 320 sends a message to an exchange 310 b .
  • a direct consumer 330 is instantiated to wait for the response message.
  • the message is dispatched by the exchange 310 b .
  • the message is fetched by the topic consumer 340 dictated by the routing key (either by topic or by topic and host).
  • the message is passed to a Worker associated with the topic consumer 340 .
  • a direct publisher 350 is instantiated to send a response message via the message system 300 .
  • the direct publisher 340 sends a message to an exchange 310 a .
  • the response message is dispatched by the exchange 310 a .
  • the response message is fetched by the direct consumer 330 instantiated to receive the response and dictated by the routing key.
  • the message response is passed to the Invoker.
  • FIG. 3 c one embodiment of the process of sending an RPC broadcast message is shown relative to the elements of the message system 300 as described relative to FIG. 3 a . All elements are as described above relative to FIG. 3 a unless described otherwise.
  • a topic publisher 520 is instantiated.
  • the topic publisher 320 sends a message to an exchange 310 a .
  • the message is dispatched by the exchange 310 b .
  • the message is fetched by a topic consumer 340 dictated by the routing key (either by topic or by topic and host).
  • the message is passed to a Worker associated with the topic consumer 340 .
  • a response to an RPC broadcast message can be requested.
  • the process follows the steps outlined relative to FIG. 3 b to return a response to the Invoker.
  • requests to a distributed service or application may move through various software components, which may be running on one physical machine or may span across multiple machines and network boundaries.
  • an IaaS-style computational cloud service (a “compute” service) is shown at 400 according to one embodiment.
  • This is one embodiment of a cloud controller 135 with associated cloud service 140 as described relative to FIG. 1 b .
  • the existence of a compute service does not require or prohibit the existence of other portions of the cloud computing system 130 nor does it require or prohibit the existence of other cloud controllers 135 with other respective services 140 .
  • controllers that are similar to components of the larger cloud computing system 130 , those components may be shared between the cloud computing system 130 and a compute service 400 , or they may be completely separate.
  • controllers that are described relative to the compute service 400 , those can be understood to comprise any of a single information processing device 210 as described relative to FIG. 2 , multiple information processing devices 210 , a single VM as described relative to FIG. 2 , a group or cluster of VMs or information processing devices as described relative to FIG. 3 . These may run on a single machine or a group of machines, but logically work together to provide the described function within the system.
  • compute service 400 includes an API Server 410 , a Compute Controller 420 , an Auth Manager 430 , an Object Store 440 , a Volume Controller 450 , a Network Controller 460 , and a Compute Manager 470 . These components are coupled by a communications network of the type previously described. In one embodiment, communications between various components are message-oriented, using HTTP or a messaging protocol such as AMQP, ZeroMQ, or STOMP.
  • compute service 400 further includes distributed data store 490 .
  • Global state for compute service 400 is written into this store using atomic transactions when required. Requests for system state are read out of this store.
  • results are cached within controllers for short periods of time to improve performance.
  • the distributed data store 490 can be the same as, or share the same implementation as Object Store 440 .
  • the API server 410 includes external API endpoints 412 .
  • the external API endpoints 412 are provided over an RPC-style system, such as CORBA, DCE/COM. SOAP, or XML-RPC. These follow the calling structure and conventions defined in their respective standards.
  • the external API endpoints 412 are basic HTTP web services following a REST pattern and identifiable via URL. Requests to read a value from a resource are mapped to HTTP GETs, requests to create resources are mapped to HTTP PUTs, requests to update values associated with a resource are mapped to HTTP POSTs, and requests to delete resources are mapped to HTTP DELETEs.
  • the API endpoints 412 are provided via internal function calls, IPC, or a shared memory mechanism. Regardless of how the API is presented, the external API endpoints 412 are used to handle authentication, authorization, and basic command and control functions using various API interfaces. In one embodiment, the same functionality is available via multiple APIs, including APIs associated with other cloud computing systems. This enables API compatibility with multiple existing tool sets created for interaction with offerings from other vendors.
  • the Compute Controller 420 coordinates the interaction of the various parts of the compute service 400 .
  • the various internal services that work together to provide the compute service 400 are internally decoupled by adopting a service-oriented architecture (SOA).
  • SOA service-oriented architecture
  • the Compute Controller 420 serves as an internal API server, allowing the various internal controllers, managers, and other components to request and consume services from the other components.
  • all messages pass through the Compute Controller 420 .
  • the Compute Controller 420 brings up services and advertises service availability, but requests and responses go directly between the components making and serving the request.
  • there is a hybrid model in which some services are requested through the Compute Controller 420 , but the responses are provided directly from one component to another.
  • communication to and from the Compute Controller 420 is mediated via one or more internal API endpoints 422 , provided in a similar fashion to those discussed above.
  • the internal API endpoints 422 differ from the external API endpoints 412 in that the internal API endpoints 422 advertise services only available within the overall compute service 400 , whereas the external API endpoints 412 advertise services available outside the compute service 400 .
  • the Compute Controller 420 includes an instruction processor 424 for receiving and processing instructions associated with directing the compute service 400 .
  • responding to an API call involves making a series of coordinated internal API calls to the various services available within the compute service 400 , and conditioning later API calls on the outcome or results of earlier API calls.
  • the instruction processor 424 is the component within the Compute Controller 420 responsible for marshaling arguments, calling services, and making conditional decisions to respond appropriately to API calls.
  • the instruction processor 424 is implemented as a tailored electrical circuit or as software instructions to be used in conjunction with a hardware processor to create a hardware-software combination that implements the specific functionality described herein.
  • those instructions may include software that is stored on a computer-readable medium.
  • one or more embodiments have associated with them a buffer.
  • the buffer can take the form of data structures, a memory, a computer-readable medium, or an off-script-processor facility.
  • one embodiment uses a language runtime as an instruction processor 424 , running as a discrete operating environment, as a process in an active operating environment, or can be run from a low-power embedded processor.
  • the instruction processor 424 takes the form of a series of interoperating but discrete components, some or all of which may be implemented as software programs.
  • the instruction processor 424 is a discrete component, using a small amount of flash and a low power processor, such as a low-power ARM processor.
  • the instruction processor includes a rule engine as a submodule as described herein.
  • the Compute Controller 420 includes a message queue as provided by message service 426 .
  • the various functions within the compute service 400 are isolated into discrete internal services that communicate with each other by passing data in a well-defined, shared format, or by coordinating an activity between two or more services. In one embodiment, this is done using a message queue as provided by message service 426 .
  • the message service 426 brokers the interactions between the various services inside and outside the Compute Service 400 .
  • the message service 426 is implemented similarly to the message service described relative to FIGS. 3 a -3 c .
  • the message service 426 may use the message service 110 directly, with a set of unique exchanges, or may use a similarly configured but separate service.
  • the Auth Manager 430 provides services for authenticating and managing user, account, role, project, group, quota, and security group information for the compute service 400 .
  • every call is necessarily associated with an authenticated and authorized entity within the system, and so is or can be checked before any action is taken.
  • internal messages are assumed to be authorized, but all messages originating from outside the service are suspect.
  • the Auth Manager checks the keys provided associated with each call received over external API endpoints 412 and terminates and/or logs any call that appears to come from an unauthenticated or unauthorized source.
  • the Auth Manager 430 is also used for providing resource-specific information such as security groups, but the internal API calls for that information are assumed to be authorized. External calls are still checked for proper authentication and authorization. Other schemes for authentication and authorization can be implemented by flagging certain API calls as needing verification by the Auth Manager 430 , and others as needing no verification.
  • external communication to and from the Auth Manager 430 is mediated via one or more authentication and authorization API endpoints 632 , provided in a similar fashion to those discussed above.
  • the authentication and authorization API endpoints 432 differ from the external API endpoints 612 in that the authentication and authorization API endpoints 432 are only used for managing users, resources, projects, groups, and rules associated with those entities, such as security groups, RBAC roles, etc.
  • the authentication and authorization API endpoints 432 are provided as a subset of external API endpoints 412 .
  • the Auth Manager 430 includes rules processor 434 for processing the rules associated with the different portions of the compute service 400 . In one embodiment, this is implemented in a similar fashion to the instruction processor 424 described above.
  • the Object Store 440 provides redundant, scalable object storage capacity for arbitrary data used by other portions of the compute service 400 .
  • the Object Store 440 can be implemented one or more block devices exported over the network.
  • the Object Store 440 is implemented as a structured, and possibly distributed data organization system. Examples include relational database systems—both standalone and clustered—as well as non-relational structured data storage systems like MongoDB, Apache Cassandra, or Redis.
  • the Object Store 440 is implemented as a redundant, eventually consistent, fully distributed data storage service.
  • external communication to and from the Object Store 440 is mediated via one or more object storage API endpoints 442 , provided in a similar fashion to those discussed above.
  • the object storage API endpoints 442 are internal APIs only.
  • the Object Store 440 is provided by a separate cloud service 130 , so the “internal” API used for compute service 400 is the same as the external API provided by the object storage service itself.
  • the Object Store 440 includes an Image Service 444 .
  • the Image Service 444 is a lookup and retrieval system for virtual machine images.
  • various virtual machine images can be associated with a unique project, group, user, or name and stored in the Object Store 440 under an appropriate key. In this fashion multiple different virtual machine image files can be provided and programmatically loaded by the compute service 400 .
  • the Volume Controller 450 coordinates the provision of block devices for use and attachment to virtual machines.
  • the Volume Controller 450 includes Volume Workers 452 .
  • the Volume Workers 452 are implemented as unique virtual machines, processes, or threads of control that interact with one or more backend volume providers 454 to create, update, delete, manage, and attach one or more volumes 456 to a requesting VM.
  • the Volume Controller 450 is implemented using a SAN that provides a sharable, network-exported block device that is available to one or more VMs, using a network block protocol such as iSCSI.
  • the Volume Workers 452 interact with the SAN to manage and iSCSI storage to manage LVM-based instance volumes, stored on one or more smart disks or independent processing devices that act as volume providers 454 using their embedded storage 456 .
  • disk volumes 456 are stored in the Object Store 440 as image files under appropriate keys.
  • the Volume Controller 450 interacts with the Object Store 440 to retrieve a disk volume 456 and place it within an appropriate logical container on the same information processing system 440 that contains the requesting VM.
  • An instruction processing module acting in concert with the instruction processor and hypervisor on the information processing system 240 acts as the volume provider 454 , managing, mounting, and unmounting the volume 456 on the requesting VM.
  • the same volume 456 may be mounted on two or more VMs, and a block-level replication facility may be used to synchronize changes that occur in multiple places.
  • the Volume Controller 450 acts as a block-device proxy for the Object Store 440 , and directly exports a view of one or more portions of the Object Store 440 as a volume.
  • the volumes are simply views onto portions of the Object Store 440 , and the Volume Workers 454 are part of the internal implementation of the Object Store 440 .
  • the Network Controller 460 manages the networking resources for VM hosts managed by the compute manager 470 . Messages received by Network Controller 460 are interpreted and acted upon to create, update, and manage network resources for compute nodes within the compute service, such as allocating fixed IP addresses, configuring VLANs for projects or groups, or configuring networks for compute nodes.
  • the Network Controller 460 may use a shared cloud controller directly, with a set of unique addresses, identifiers, and routing rules, or may use a similarly configured but separate service.
  • the Compute Manager 470 manages computing instances for use by API users using the compute service 400 .
  • the Compute Manager 470 is coupled to a plurality of resource pools 472 , each of which includes one or more compute nodes 474 .
  • Each compute node 474 is a virtual machine management system as described relative to FIG. 3 and includes a compute worker 476 , a module working in conjunction with the hypervisor and instruction processor to create, administer, and destroy multiple user- or system-defined logical containers and operating environments-VMs-according to requests received through the API.
  • the pools of compute nodes may be organized into clusters, such as clusters 476 a and 476 b .
  • each resource pool 472 is physically located in one or more data centers in one or more different locations.
  • resource pools have different physical or software resources, such as different available hardware, higher-throughput network connections, or lower latency to a particular location.
  • the Compute Manager 470 allocates VM images to particular compute nodes 474 via a Scheduler 478 .
  • the Scheduler 478 is a matching service; requests for the creation of new VM instances come in and the most applicable Compute nodes 474 are selected from the pool of potential candidates.
  • the Scheduler 478 selects a compute node 474 using a random algorithm. Because the node is chosen randomly, the load on any particular node tends to be non-coupled and the load across all resource pools tends to stay relatively even.
  • a smart scheduler 478 is used.
  • a smart scheduler analyzes the capabilities associated with a particular resource pool 472 and its component services to make informed decisions on where a new instance should be created. When making this decision it consults not only all the Compute nodes across the resource pools 472 until the ideal host is found.
  • a distributed scheduler 478 is used.
  • a distributed scheduler is designed to coordinate the creation of instances across multiple compute services 400 . Not only does the distributed scheduler 478 analyze the capabilities associated with the resource pools 472 available to the current compute service 400 , it also recursively consults the schedulers of any linked compute services until the ideal host is found.
  • either the smart scheduler or the distributed scheduler is implemented using a rules engine 479 (not shown) and a series of associated rules regarding costs and weights associated with desired compute node characteristics.
  • rules engine 479 compares a Weighted Cost for each node.
  • the Weighting is just the sum of the total Costs.
  • a Weighting is calculated using an exponential or polynomial algorithm.
  • costs are nothing more than integers along a fixed scale, although costs can also be represented by floating point numbers, vectors, or matrices. Costs are computed by looking at the various Capabilities of the available node relative to the specifications of the Instance being requested. The costs are calculated so that a “good” match has lower cost than a “bad” match, where the relative goodness of a match is determined by how closely the available resources match the requested specifications.
  • specifications can be hierarchical, and can include both hard and soft constraints.
  • a hard constraint is a constraint is a constraint that cannot be violated and have an acceptable response. This can be implemented by having hard constraints be modeled as infinite-cost requirements.
  • a soft constraint is a constraint that is preferable, but not required. Different soft constraints can have different weights, so that fulfilling one soft constraint may be more cost-effective than another. Further, constraints can take on a range of values, where a good match can be found where the available resource is close, but not identical, to the requested specification. Constraints may also be conditional, such that constraint A is a hard constraint or high-cost constraint if Constraint B is also fulfilled, but can be low-cost if Constraint C is fulfilled.
  • the constraints are implemented as a series of rules with associated cost functions. These rules can be abstract, such as preferring nodes that don't already have an existing instance from the same project or group.
  • Other constraints may include: a node with available GPU hardware; a node with an available network connection over 100 Mbps; a node that can run Windows instances; a node in a particular geographic location, etc.
  • the constraints are computed to select the group of possible nodes, and then a weight is computed for each available node and for each requested instance. This allows large requests to have dynamic weighting; if 1000 instances are requested, the consumed resources on each node are “virtually” depleted so the Cost can change accordingly.
  • FIG. 5 a diagram showing one embodiment of the process of instantiating and launching a VM instance is shown as diagram 500 .
  • the API Server 510 receives a request to create and run an instance with the appropriate arguments. In one embodiment, this is done by using a command-line tool that issues arguments to the API server 510 . In a second embodiment, this is done by sending a message to the API Server 510 .
  • the API to create and run the instance includes arguments specifying a resource type, a resource image, and control arguments.
  • a further embodiment includes requester information and is signed and/or encrypted for security and privacy.
  • API server 510 accepts the message, examines it for API compliance, and relays a message to Compute Controller 520 , including the information needed to service the request.
  • the Compute Controller 520 sends a message to Auth Manager 530 to authenticate and authorize the request at time 506 and Auth Manager 530 sends back a response to Compute Controller 520 indicating whether the request is allowable at time 508 . If the request is allowable, a message is sent to the Compute Manager 570 to instantiate the requested resource at time 510 .
  • the Compute Manager selects a Compute Worker 576 and sends a message to the selected Worker to instantiate the requested resource.
  • Compute Worker identifies and interacts with Network Controller 560 to get a proper VLAN and IP address.
  • the selected Worker 576 interacts with the Object Store 540 and/or the Image Service 544 to locate and retrieve an image corresponding to the requested resource. If requested via the API, or used in an embodiment in which configuration information is included on a mountable volume, the selected Worker interacts with the Volume Controller 550 at time 518 to locate and retrieve a volume for the to-be-instantiated resource.
  • the selected Worker 576 uses the available virtualization infrastructure to instantiate the resource, mount any volumes, and perform appropriate configuration.
  • selected Worker 556 interacts with Network Controller 560 to configure routing.
  • a message is sent back to the Compute Controller 520 via the Compute Manager 550 indicating success and providing necessary operational details relating to the new resource.
  • a message is sent back to the API Server 526 with the results of the operation as a whole.
  • the API-specified response to the original command is provided from the API Server 510 back to the originally requesting entity.
  • an error is returned to the API Server at time 590 and the API-specified response to the original command is provided from the API server at time 592 .
  • an error can be returned if a request is not allowable at time 508 , if a VLAN cannot be created or an IP allocated at time 514 , if an image cannot be found or transferred at time 516 , etc.
  • Such errors may be one potential source of mistakes or inconsistencies in periodic system status notifications discussed below.
  • a distributed network system may relate to one or more services and components, and in particular cloud services.
  • Various embodiments of the methods and systems disclosed herein may permit verification of records of system change events in a distributed network system providing cloud services.
  • FIG. 6 illustrates a simplified diagram of a system for reselling resources of a distributed network system, and in particular a cloud computing system.
  • System 600 includes cloud computing system 605 (e.g., cloud computing system 130 ) and a reseller system 610 .
  • cloud computer system 605 may provide cloud services to reseller system 610 and a billing feed 615 .
  • Billing feed 615 may include one or more potential billable elements for tracking usage.
  • Billing feed 615 may provide data based on one or more models for tracking and billing usage.
  • Reselling system 610 may be configured as an intermediary for selling and/or providing services of cloud computing system 605 to one or more entities, such as customers. Services by reseller system 610 may be based on requests, such as customer billable request 620 . Based on received requests for cloud services, reseller system may generate one or more customer bills 625 . Similarly, reseller system may generate one or more requests, such as billable requests 630 for cloud services. Based on requested services buy reseller system 610 , cloud computing system 605 may generate one or more reseller bills 635 . According to one embodiment, customer bills 625 generated by reseller system 610 may be based on one or more of billing feed 615 and service fees, such as reseller bills 635 .
  • reseller system 610 may request failure reports or error-related data in addition to billing feed 615 in order to verify compliance with Service Level Agreements (SLAs) between reseller and cloud computing service provider, or between reseller and reseller's customers.
  • SLAs Service Level Agreements
  • FIG. 7 illustrates one embodiment of an event manager 106 .
  • Event manager 106 may include a receiver 710 coupled to an API 705 which is configured to receive API requests from, e.g., system users.
  • receiver 710 may be coupled to message service 110 and configured to observe system messages responsive to API requests 730 received by API 705 .
  • receiver 710 may be integrated with or replaced by API 705 , depending upon the system configuration.
  • Event manager 106 may further comprise an ID Assignment Unit 705 which is configured to assign a unique identifier (ID) to each API request 730 received by API 705 .
  • ID unique identifier
  • the unique ID may be used for tracking subsequent actions, events, or results of the API request 730 , including a final API request disposition.
  • Event manager 106 may also include a time tracker 720 configured to record a time at which the API request 730 was received by API 705 in association with the unique ID.
  • Time tracker may use a time stamp which is included with the API request 730 , a timestamp assigned by the API 705 at the time the API request 730 is received, a timestamp associated with an internal system clock in response to the receiver 710 receiving the API request 730 or an associated message, or the like.
  • the time tracker 720 may include a counter. In an embodiment, the time tracker 720 starts the counter at the time the receiver 710 receives the API request 730 .
  • time tracker 720 starts the counter at the time the receiver 710 receives the API request 730 .
  • Event manager 106 may further include an event tracker 725 .
  • Event tracker 725 may be configured to update a record indexed by the unique identifier in response to receipt of notifications for events associated with the API request 730 .
  • event tracker 725 may record process or operation start times, operation errors and time of error, operation terminations, and the like.
  • Event tracker 725 may be further configured to record a final disposition of the API request 730 .
  • the final disposition may be “Request Complete,” “Operation Successful,” “API 5XX Response,” “Server-Side Failure,” “Time Threshold Failure,” or “Error State Failure,” etc.
  • the final disposition may be “Request Complete,” “Operation Successful,” “API 5XX Response,” “Server-Side Failure,” “Time Threshold Failure,” or “Error State Failure,” etc.
  • the final disposition may be “Request Complete,” “Operation Successful,” “API 5XX Response,” “Server-Side Failure,” “Time Threshold
  • the timing of each event is calculated with reference to the time at which the API request 730 is received or transmitted by the user, rather than the time at which a responsive process starts.
  • this approach may yield failure monitoring results that are more realistic and more closely tied to the user's actual experience.
  • the time threshold failure may be triggered in response to a determination that a runtime duration between receipt of the API request 730 and termination of a responsive process exceeded a predetermined time threshold, regardless of whether the operation successfully completed.
  • the time threshold failure may track a user's experience, and may reflect a failure in failure reports for processes that take so long to complete that the user would consider the operation to have failed regardless of the actual result.
  • the timing threshold may be predetermined in response to analysis of user's expectations. Alternatively, an arbitrary threshold may be selected. In still other embodiments, a first threshold may be set for completion of a first operation or category of operations, and a second time threshold may be set for completion of a second operation or category of operations. In still a further embodiment, the timing threshold may be dynamically updated in response to observations of average operation completion times. For example, if event manager 106 determines that a particular operation takes one hour to complete on average, the time threshold may be set to one hour plus a reasonable margin. In certain embodiments, the event manager may update the timing thresholds dynamically and automatically for one or more operations associated with one or more common API requests 730 .
  • the event tracker 725 may also be configured to calculate an error rate associated with one or more API requests 730 tracked by event tracker 725 .
  • event tracker 725 may query a set of records to determine a total number of API requests received in a certain time period.
  • the time period could be one hour, one day, one week, two weeks, one month, one quarter, one year, or any other specified time period.
  • the time period may be selectable by a user or specified in a report request.
  • the event tracker 725 may be configured to aggregate information from the API request 730 records generated within the time period and generate a report listing, for example, a total number of failures occurring within a specified category.
  • the specified categories may include “API 5XX Response,” “Server-Side Failure,” “Time Threshold Failure,” or “Error State Failure,” etc.
  • the event tracker 725 may be configured to calculate a total number of failures and a failure rate. According to one embodiment, the failure rate may be calculated in response to equation 1:
  • API Req. is the total number of API requests 730 received during the time period
  • API 5XX Resp. is the total number of 5XX responses issued in response to API requests
  • ServerSide Failures is the total number of 5XX API failures or other Server-Side failures that occurred within the time period
  • Time Threshold Failures is the total number of operations that exceeded the operation time threshold, regardless of result
  • Error State Failures are the total number of operations that ended in a failure state even if a Server-Side Failure was not involved. Error state failures may occur as a result of downstream 4XX failures, or other operation runtime errors.
  • FIG. 8 illustrates one embodiment of a method 800 for failure monitoring.
  • the method 800 starts when receiver 710 receives an API request 730 from API 705 as shown in block 805 .
  • receiver 710 may receive a system message from message service 110 associated with receipt of API request 730 .
  • the ID assignment unit 715 may then assign a unique ID to the API request 730 as shown at block 810 .
  • the unique ID may be used to track further events associated with the API request 730 .
  • the time tracker 720 may record a time at which the API request 730 was received at API 705 as shown at block 815 .
  • time tracker 720 may record a time at which receiver 710 receives API request 730 or a message from message service 110 associated with receipt of API request 730 .
  • event tracker 725 may then associate one or more system state changes with the unique identifier, where the system state changes are in response to the API request 730 .
  • the recorded system state changes may be included in an API request record as illustrated in FIG. 9 .
  • the embodiment of an API request record 900 of FIG. 9 may include an API request ID field 905 . Additionally, the record 900 may include a timestamp field for recording a time at which the API request 730 is received. The record 900 may also include one or more additional entries 910 - 935 associated with system state changes that occur in response to API request 730 . The system state changes may be identified by receiver 710 by messages communicated from message service 110 . Record 900 may also include a final disposition field for recording a final disposition of the API request 730 .
  • FIG. 9 illustrates an example record.
  • unique identifier #6789 is assigned to API request 730 and used for tracking subsequent system events associated with API request 730 .
  • the record 900 also indicates that API 705 received API request 730 at 10:00 AM.
  • Response field 915 shows the initial HTTP response code issued.
  • API 705 issued an HTTP code 202 response indicating that the API request 730 was accepted.
  • the 202 response was issued at 10:01 AM.
  • Process start filed 920 indicates that process XYZ was started at 10:05 in response to API request 730 .
  • Process error field 925 indicates that process XYZ experienced a runtime error at 10:15 AM. In this example, the runtime error code is #4321.
  • Process restart field 930 indicates that process XYZ was restarted at 10:20 AM and ran until 11:25 AM at which time process XYZ completed successfully as indicated by process completion field 935 .
  • fields 915 - 935 are only examples of fields or entries which may be included in record 900 , and are only illustrated by way of a non-limiting example for demonstrative purposes only.
  • Final disposition field 940 indicates that there was a time threshold failure in this example. Despite the fact that process XYZ completed successfully, the final disposition is listed as a failure because the total runtime exceeded a one hour threshold by twenty five minutes. In this embodiment, the runtime was calculated from the time the API request 730 was received—10:00 AM in this example, until process XYZ completed.
  • Use of a final disposition indicator ensures that only a single failure is recorded for each API request 730 .
  • One of ordinary skill in the art may recognize alternative approaches for associating only a single failure to a given API request 730 , even though multiple system failures may occur as a result of the API request 730 .
  • FIG. 10 illustrates one embodiment of an operation failure report 1000 that may be generated according to the present embodiments.
  • the operation failure report includes several fields or entries 1005 - 1035 .
  • the report 1000 may include an API request count field 1005 for reporting a total number of API requests received during a specified time period.
  • the report 1000 may also include an API 5XX response field 1010 , an API Server-Side Failure field 1015 , a time threshold failures filed 1020 , and an error state failures field 1035 for providing counts of each respective type of failure.
  • the report 1000 may include a total failures field 1030 for aggregating the total number of failures.
  • the report 1000 may include a failure rate field 1035 for providing an overall failure rate.
  • the report 1000 indicates that API 705 received 1000 API requests in the specified time period, and that 33 total failures occurred in response to the 1000 API requests.
  • the failures included one API 5XX response, two API Server-Side Failures, ten time threshold failures and twenty error state failures. Calculating the failure rate according to Equation 1, the total failure rate is 3.3%.
  • the figures described in this example are merely for demonstration purposes, and in no way reflect actual failure rates or customer data.
  • failure monitoring is implemented as an electrical circuit or as software instructions to be used in conjunction with a hardware processor to create a hardware-software combination that implements the specific functionality described herein.
  • those instructions may include software that is stored on a computer-readable medium.
  • the buffer can take the form of data structures, a memory, a computer-readable medium, or an off-script-processor facility.
  • one embodiment uses a language runtime as an instruction processor, running as a discrete operating environment, as a process in an active operating environment, or can be run from a low-power embedded processor.
  • the instruction processor takes the form of a series of interoperating but discrete components, some or all of which may be implemented as software programs.
  • the instruction processor is a discrete component, using a small amount of flash and a low power processor, such as a low-power ARM processor.
  • the instruction processor includes a rule engine as a submodule as described herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Environmental & Geological Engineering (AREA)
  • Computer And Data Communications (AREA)

Abstract

In one embodiment, the methods and systems may include receiving an Application Program Interface (API) request, assigning a unique identifier to the API request, recording, in association with the unique identifier, receipt time corresponding to a time at which the API request is received, and associating one or more system state changes with the unique identifier. Advantageously, the present embodiments provide a more accurate failure monitoring and associated metrics. Additional benefits and advantages of the present embodiments will become evident in the following description.

Description

  • This application is a continuation-in-part of, and claims priority to, co-pending non-provisional U.S. patent application Ser. No. 13/752,147 entitled “Methods and Systems of Distributed Tracing.” filed Jan. 28, 2013, Ser. No. 13/752,255 entitled “Methods and Systems of Generating a billing feed of a distributed network,” filed Jan. 28, 2013, and Ser. No. 13/752,234 entitled “Methods and Systems of Function-Specific Tracing,” filed Jan. 28, 2013, each of which are incorporated, in their entirety, herein by reference. This application is related to co-pending non-provisional U.S. patent applications 13/______, entitled “Methods and Systems of Tracking and Verifying Records of System Change Events in a Distributed Network System,” filed Mar. 15, 2013, and 13/______ entitled “Methods and Systems of Predictive Monitoring of Objects in a Distributed Network System,” filed Mar. 15, 2013, each of which are incorporated, in their entirety, herein by reference.
  • BACKGROUND
  • The present disclosure relates generally to cloud computing, and more particularly to systems and methods of monitoring failures in a distributed network system providing cloud services.
  • Consumers of resources on a distributed network system providing cloud services may, from time to time, request metrics or reports related to the quality of services provided by the service provider. For example, many consumers may have Service Level Agreements (SLAs) in place with services providers that guarantee certain performance or service quality levels. Service availability and responsiveness to service requests may be among the desired metrics.
  • A cloud service provider may generate reports for customers, which provide metrics related to system availability and responsiveness to requests for system resources. One such metric is often a rate of failure to fulfill customer requests. Typically such reports only provide metrics with respect to server errors, often referred to as Hypertext Transfer Protocol (HTTP) Server-Side Failures and responses. 5XX refers to the HTTP error codes associated with various server failures. For example, 5XX errors may include error 500 (internal server error), error 501 (request not implemented), error 502 (bad gateway), error 503 (service unavailable), error 504 (gateway timeout), etc. One of ordinary skill in the art will recognize the various 5xx server error codes associated with HTTP.
  • The reliability of such metrics may be of interest because there may be financial consequences associated with failures to meet SLA terms. Also, there may be certain situations, which a customer would consider an error or fault, but which would not be counted as a failure under a conventional failure reporting methods.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • FIG. 1a is a schematic view of a distributed system.
  • FIG. 1b is a schematic view illustrating an external view of a cloud computing system.
  • FIG. 2 is a schematic view illustrating an information processing system as used in various embodiments.
  • FIG. 3a shows a message service system according to various embodiments.
  • FIG. 3b is a diagram showing how a directed message is sent using the message service according to various embodiments.
  • FIG. 3c is a diagram showing how a broadcast message is sent using the message service according to various embodiments.
  • FIG. 4 shows IaaS-style computational cloud service according to various embodiments.
  • FIG. 5 shows an instantiating and launching process for virtual resources according to various embodiments.
  • FIG. 6 illustrates a graphical representation of a system for reselling resources of a distributed network system.
  • FIG. 7 is a schematic block diagram illustrating one embodiment of an apparatus for monitoring failures in a distributed network system.
  • FIG. 8 is a flowchart diagram illustrating one embodiment of a method for monitoring failures in a distributed network system.
  • FIG. 9 illustrates one embodiment of an API request record.
  • FIG. 10 illustrates one embodiment of an operation failure report.
  • DETAILED DESCRIPTION
  • The following disclosure has reference to monitoring failures in a distributed network system providing cloud services.
  • In one embodiment, the methods and systems may include receiving an Application Program Interface (API) request, assigning a unique identifier to the API request, recording, in association with the unique identifier, receipt time corresponding to a time at which the API request is received, and associating one or more system state changes with the unique identifier. Advantageously, the present embodiments provide a more accurate failure monitoring and associated metrics. Additional benefits and advantages of the present embodiments will become evident in the following description.
  • FIG. 1A illustrates a simplified diagram of a distributed application 100 for which various embodiments of monitoring failures in a distributed network system may be implemented. It should be appreciated that application 100 is provided merely as an example and that other suitable distributed applications, middleware, or computing systems can benefit from distributed system status verification capabilities described herein. According to one embodiment, application 100 may be a cloud service.
  • According to one embodiment, application 100 includes event manager 106 configured to provide failure monitoring services. As will be described in more detail below, failure monitoring can include recording events associated with an API request and reporting a failure rate in response to those events. By way of example, event manager 106 can observe messages within the distributed application across queues and from particular components of the application. As depicted in FIG. 1A, event manager 106 interfaces with message service 110 of application 100. Message service 110 connects various subsystems of the application 100, and message service 110 may be configured to pass messages relative to one or more elements of system 100.
  • System 100 may include one or more subsystems, such as controllers 112 and services 117. System 100 may include one or more controllers 112 for the application to be employed in a distributed architecture, such as cloud computing services. As depicted in FIG. 1A, controllers 112 include a compute controller 115 a, a storage controller 115 b, auth controller 115 c, image service controller 115 d and network controller 115 e. Controllers 115 are described with reference to a cloud computing architecture in FIG. 1. By way of example, network controller 115 a deals with host machine network configurations and can perform operations for allocating IP addresses, configuring VLANs, implementing security groups and configuring networks. Each of controllers 112 may interface with one or more services. As depicted in FIG. 1A, compute controller 115 a interfaces with compute pool 120 a, storage controller 115 b may interface with object store 120 b, auth controller 115 c may interface with authentication/authorization controller 120 c, image service controller 115 d may interface with image store 120 d and network controller 115 e may interface with virtual networking devices 120 e. Although controllers 115 and services 120 are with reference to an open architecture, it should be appreciated that the methods and systems for tracing may be equally applied to other distributed applications.
  • Referring now to FIG. 1b , an external view of a cloud computing system 130 is illustrated. Cloud computing system 130 includes event manager 106 and message service 110. According to one embodiment, event manager 106 can observe messages of cloud computing system 130, including API requests, and generate records of responses to the API requests from services of the cloud computing system 130. According to another embodiment, controllers and services of the cloud computing system 130 may include event managers to monitor failures of various components of cloud computing system 130.
  • The cloud computing system 130 includes a user device 132 connected to a network 134 such as, for example, a Transport Control Protocol/Internet Protocol (TCP/IP) network (e.g., the Internet.) The user device 132 is coupled to the cloud computing system 130 via one or more service endpoints 155. Depending on the type of cloud service provided, these endpoints give varying amounts of control relative to the provisioning of resources within the cloud computing system 130. For example, SaaS endpoint 152 a typically only gives information and access relative to the application running on the cloud storage system, and the scaling and processing aspects of the cloud computing system is obscured from the user. PaaS endpoint 152 b typically gives an abstract Application Programming Interface (API) that allows developers to declaratively request or command the backend storage, computation, and scaling resources provided by the cloud, without giving exact control to the user. IaaS endpoint 152 c typically provides the ability to directly request the provisioning of resources, such as computation units (typically virtual machines), software-defined or software-controlled network elements like routers, switches, domain name servers, etc., file or object storage facilities, authorization services, database services, queue services and endpoints, etc. In addition, users interacting with an IaaS cloud are typically able to provide virtual machine images that have been customized for user-specific functions. This allows the cloud computing system 130 to be used for new, user-defined services without requiring specific support.
  • It is important to recognize that the control allowed via an IaaS endpoint is not complete. Within the cloud computing system 130 are one or more cloud controllers 135 (running what is sometimes called a “cloud operating system”) that work on an even lower level, interacting with physical machines, managing the contradictory demands of the multi-tenant cloud computing system 130. In one embodiment, these correspond to the controllers and services discussed relative to FIG. 1a . The workings of the cloud controllers 135 are typically not exposed outside of the cloud computing system 130, even in an IaaS context. In one embodiment, the commands received through one of the service endpoints 155 are then routed via one or more internal networks 154. The internal network 154 couples the different services to each other. The internal network 154 may encompass various protocols or services, including but not limited to electrical, optical, or wireless connections at the physical layer; Ethernet, Fiber channel, ATM, and SONET at the MAC layer, TCP, UDP, ZeroMQ or other services at the connection layer; and XMPP, HTTP, AMPQ, STOMP, SMS, SMTP, SNMP, or other standards at the protocol layer. The internal network 154 is typically not exposed outside the cloud computing system, except to the extent that one or more virtual networks 156 may be exposed that control the internal routing according to various rules. The virtual networks 156 typically do not expose as much complexity as may exist in the actual internal network 154; but varying levels of granularity can be exposed to the control of the user, particularly in IaaS services.
  • In one or more embodiments, it may be useful to include various processing or routing nodes in the network layers 154 and 156, such as proxy/gateway 150. Other types of processing or routing nodes may include switches, routers, switch fabrics, caches, format modifiers, or correlators. These processing and routing nodes may or may not be visible to the outside. It is typical that one level of processing or routing nodes may be internal only, coupled to the internal network 154, whereas other types of network services may be defined by or accessible to users, and show up in one or more virtual networks 156. Either of the internal network 154 or the virtual networks 156 may be encrypted or authenticated according to the protocols and services described below.
  • In various embodiments, one or more parts of the cloud computing system 130 may be disposed on a single host. Accordingly, some of the “network” layers 154 and 156 may be composed of an internal call graph, inter-process communication (IPC), or a shared memory communication system.
  • Once a communication passes from the endpoints via a network layer 154 or 156, as well as possibly via one or more switches or processing devices 150, it is received by one or more applicable cloud controllers 135. The cloud controllers 135 are responsible for interpreting the message and coordinating the performance of the necessary corresponding services, returning a response if necessary. Although the cloud controllers 135 may provide services directly, more typically the cloud controllers 135 are in operative contact with the service resources 140 necessary to provide the corresponding services. For example, it is possible for different services to be provided at different levels of abstraction. For example, a service 140 a may be a “compute” service that will work at an IaaS level, allowing the creation and control of user-defined virtual computing resources. In addition to the services discussed relative to FIG. 1a , a cloud computing system 130 may provide a declarative storage API, a SaaS-level Queue service 140 c, a DNS service 140 d, or a Database service 140 e, or other application services without exposing any of the underlying scaling or computational resources. Other services are contemplated as discussed in detail below.
  • In various embodiments, various cloud computing services or the cloud computing system itself may require a message passing system. The message routing service 110 is available to address this need, but it is not a required part of the system architecture in at least one embodiment. In one embodiment, the message routing service is used to transfer messages from one component to another without explicitly linking the state of the two components. Note that this message routing service 110 may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between storage for cloud service state and for user data, including user service state.
  • In various embodiments, various cloud computing services or the cloud computing system itself may require a persistent storage for system state. The data store 125 is available to address this need, but it is not a required part of the system architecture in at least one embodiment. In one embodiment, various aspects of system state are saved in redundant databases on various hosts or as special files in an object storage service. In a second embodiment, a relational database service is used to store system state. In a third embodiment, a column, graph, or document-oriented database is used. Note that this persistent storage may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between storage for cloud service state and for user data, including user service state.
  • In various embodiments, it may be useful for the cloud computing system 130 to have a system controller 145. In one embodiment, the system controller 145 is similar to the cloud computing controllers 135, except that it is used to control or direct operations at the level of the cloud computing system 130 rather than at the level of an individual service.
  • For clarity of discussion above, only one user device 132 has been illustrated as connected to the cloud computing system 130, and the discussion generally referred to receiving a communication from outside the cloud computing system, routing it to a cloud controller 135, and coordinating processing of the message via a service 130, the infrastructure described is also equally available for sending out messages. These messages may be sent out as replies to previous communications, or they may be internally sourced. Routing messages from a particular service 130 to a user device 132 is accomplished in the same manner as receiving a message from user device 132 to a service 130, just in reverse. The precise manner of receiving, processing, responding, and sending messages is described below with reference to the various discussed service embodiments. One of skill in the art will recognize, however, that a plurality of user devices 132 may, and typically will, be connected to the cloud computing system 130 and that each element or set of elements within the cloud computing system is replicable as necessary. Further, the cloud computing system 130, whether or not it has one endpoint or multiple endpoints, is expected to encompass embodiments including public clouds, private clouds, hybrid clouds, and multi-vendor clouds.
  • Each of the user device 132, the cloud computing system 130, the endpoints 152, the cloud controllers 135 and the cloud services 140 typically include a respective information processing system, a subsystem, or a part of a subsystem for executing processes and performing operations (e.g., processing or communicating information). An information processing system is an electronic device capable of processing, executing or otherwise handling information, such as a computer. FIG. 2 shows an information processing system 210 that is representative of one of, or a portion of, the information processing systems described above.
  • Referring now to FIG. 2, diagram 200 shows an information processing system 210 configured to host one or more virtual machines, coupled to a network 205. The network 205 could be one or both of the networks 154 and 156 described above. An information processing system is an electronic device capable of processing, executing or otherwise handling information. Examples of information processing systems include a server computer, a personal computer (e.g., a desktop computer or a portable computer such as, for example, a laptop computer), a handheld computer, and/or a variety of other information handling systems known in the art. The information processing system 210 shown is representative of, one of, or a portion of, the information processing systems described above.
  • The information processing system 210 may include any or all of the following: (a) a processor 212 for executing and otherwise processing instructions. (b) one or more network interfaces 214 (e.g., circuitry) for communicating between the processor 212 and other devices, those other devices possibly located across the network 205; (c) a memory device 216 (e.g., FLASH memory, a random access memory (RAM) device or a read-only memory (ROM) device for storing information (e.g., instructions executed by processor 212 and data operated upon by processor 212 in response to such instructions)). In some embodiments, the information processing system 210 may also include a separate computer-readable medium 218 operably coupled to the processor 212 for storing information and instructions as described further below.
  • In one embodiment, there is more than one network interface 214, so that the multiple network interfaces can be used to separately route management, production, and other traffic. In one exemplary embodiment, an information processing system has a “management” interface at 1 GB/s, a “production” interface at 10 GB/s, and may have additional interfaces for channel bonding, high availability, or performance. An information processing device configured as a processing or routing node may also have an additional interface dedicated to public Internet traffic, and specific circuitry or resources necessary to act as a VLAN trunk.
  • In some embodiments, the information processing system 210 may include a plurality of input/output devices 220 a-n which are operably coupled to the processor 212, for inputting or outputting information, such as a display device 220 a, a print device 220 b, or other electronic circuitry 220 c-n for performing other operations of the information processing system 210 known in the art.
  • With reference to the computer-readable media, including both memory device 216 and secondary computer-readable medium 218, the computer-readable media and the processor 212 are structurally and functionally interrelated with one another as described below in further detail, and information processing system of the illustrative embodiment is structurally and functionally interrelated with a respective computer-readable medium similar to the manner in which the processor 212 is structurally and functionally interrelated with the computer- readable media 216 and 218. As discussed above, the computer-readable media may be implemented using a hard disk drive, a memory device, and/or a variety of other computer-readable media known in the art, and when including functional descriptive material, data structures are created that define structural and functional interrelationships between such data structures and the computer-readable media (and other aspects of the system 200). Such interrelationships permit the data structures' functionality to be realized. For example, in one embodiment the processor 212 reads (e.g., accesses or copies) such functional descriptive material from the network interface 214, the computer-readable media 218 onto the memory device 216 of the information processing system 210, and the information processing system 210 (more particularly, the processor 212) performs its operations, as described elsewhere herein, in response to such material stored in the memory device of the information processing system 210. In addition to reading such functional descriptive material from the computer-readable medium 218, the processor 212 is capable of reading such functional descriptive material from (or through) the network 105. In one embodiment, the information processing system 210 includes at least one type of computer-readable media that is non-transitory. For explanatory purposes below, singular forms such as “computer-readable medium,” “memory,” and “disk” are used, but it is intended that these may refer to all or any portion of the computer-readable media available in or to a particular information processing system 210, without limiting them to a specific location or implementation.
  • The information processing system 210 includes a hypervisor 230. The hypervisor 230 may be implemented in software, as a subsidiary information processing system, or in a tailored electrical circuit or as software instructions to be used in conjunction with a processor to create a hardware-software combination that implements the specific functionality described herein. To the extent that software is used to implement the hypervisor, it may include software that is stored on a computer-readable medium, including the computer-readable medium 218. The hypervisor may be included logically “below” a host operating system, as a host itself, as part of a larger host operating system, or as a program or process running “above” or “on top of” a host operating system. Examples of hypervisors include Xenserver, KVM, VMware, Microsoft's Hyper-V. and emulation programs such as QEMU.
  • The hypervisor 230 includes the functionality to add, remove, and modify a number of logical containers 232 a-n associated with the hypervisor. Zero, one, or many of the logical containers 232 a-n contain associated operating environments 234 a-n. The logical containers 232 a-n can implement various interfaces depending upon the desired characteristics of the operating environment. In one embodiment, a logical container 232 implements a hardware-like interface, such that the associated operating environment 234 appears to be running on or within an information processing system such as the information processing system 210. For example, one embodiment of a logical container 234 could implement an interface resembling an x86, x86-64, ARM, or other computer instruction set with appropriate RAM, busses, disks, and network devices. A corresponding operating environment 234 for this embodiment could be an operating system such as Microsoft Windows, Linux, Linux-Android, or Mac OS X. In another embodiment, a logical container 232 implements an operating system-like interface, such that the associated operating environment 234 appears to be running on or within an operating system. For example one embodiment of this type of logical container 232 could appear to be a Microsoft Windows, Linux, or Mac OS X operating system. Another possible operating system includes an Android operating system, which includes significant runtime functionality on top of a lower-level kernel. A corresponding operating environment 234 could enforce separation between users and processes such that each process or group of processes appeared to have sole access to the resources of the operating system. In a third environment, a logical container 232 implements a software-defined interface, such a language runtime or logical process that the associated operating environment 234 can use to run and interact with its environment. For example one embodiment of this type of logical container 232 could appear to be a Java, Dalvik, Lua, Python, or other language virtual machine. A corresponding operating environment 234 would use the built-in threading, processing, and code loading capabilities to load and run code. Adding, removing, or modifying a logical container 232 may or may not also involve adding, removing, or modifying an associated operating environment 234. For ease of explanation below, these operating environments will be described in terms of an embodiment as “Virtual Machines,” or “VMs,” but this is simply one implementation among the options listed above.
  • In one or more embodiments, a VM has one or more virtual network interfaces 236. How the virtual network interface is exposed to the operating environment depends upon the implementation of the operating environment. In an operating environment that mimics a hardware computer, the virtual network interface 236 appears as one or more virtual network interface cards. In an operating environment that appears as an operating system, the virtual network interface 236 appears as a virtual character device or socket. In an operating environment that appears as a language runtime, the virtual network interface appears as a socket, queue, message service, or other appropriate construct. The virtual network interfaces (VNIs) 236 may be associated with a virtual switch (Vswitch) at either the hypervisor or container level. The VNI 236 logically couples the operating environment 234 to the network, and allows the VMs to send and receive network traffic. In one embodiment, the physical network interface card 214 is also coupled to one or more VMs through a Vswitch.
  • In one or more embodiments, each VM includes identification data for use naming, interacting, or referring to the VM. This can include the Media Access Control (MAC) address, the Internet Protocol (IP) address, and one or more unambiguous names or identifiers.
  • In one or more embodiments, a “volume” is a detachable block storage device. In some embodiments, a particular volume can only be attached to one instance at a time, whereas in other embodiments a volume works like a Storage Area Network (SAN) so that it can be concurrently accessed by multiple devices. Volumes can be attached to either a particular information processing device or a particular virtual machine, so they are or appear to be local to that machine. Further, a volume attached to one information processing device or VM can be exported over the network to share access with other instances using common file sharing protocols. In other embodiments, there are areas of storage declared to be “local storage.” Typically a local storage volume will be storage from the information processing device shared with or exposed to one or more operating environments on the information processing device. Local storage is guaranteed to exist only for the duration of the operating environment; recreating the operating environment may or may not remove or erase any local storage associated with that operating environment.
  • Message Service
  • Between the various virtual machines and virtual devices, it may be necessary to have a reliable messaging infrastructure. In various embodiments, a message queuing service is used for both local and remote communication so that there is no requirement that any of the services exist on the same physical machine. Various existing messaging infrastructures are contemplated, including AMQP, ZeroMQ, STOMP and XMPP. Note that this messaging system may or may not be available for user-addressable systems; in one preferred embodiment, there is a separation between internal messaging services and any messaging services associated with user data.
  • In one embodiment, the message service sits between various components and allows them to communicate in a loosely coupled fashion. This can be accomplished using Remote Procedure Calls (RPC hereinafter) to communicate between components, built atop either direct messages and/or an underlying publish/subscribe infrastructure. In a typical embodiment, it is expected that both direct and topic-based exchanges are used. This allows for decoupling of the components, full asynchronous communications, and transparent balancing between equivalent components. In some embodiments, calls between different APIs can be supported over the distributed system by providing an adapter class which takes care of marshalling and unmarshalling of messages into function calls.
  • In one embodiment, a cloud controller 135 (or the applicable cloud service 140) creates two queues at initialization time, one that accepts node-specific messages and another that accepts generic messages addressed to any node of a particular type. This allows both specific node control as well as orchestration of the cloud service without limiting the particular implementation of a node. In an embodiment in which these message queues are bridged to an API, the API can act as a consumer, server, or publisher.
  • Turning now to FIG. 3a , one implementation of a message service 110 is shown. For simplicity of description, FIG. 3a shows the message service 300 when a single instance is deployed and shared in the cloud computing system 130, but the message service can be either centralized or fully distributed.
  • In one embodiment, the message service 300 keeps traffic associated with different queues or routing keys separate, so that disparate services can use the message service without interfering with each other. Accordingly, the message queue service may be used to communicate messages between network elements, between cloud services 140, between cloud controllers 135, between network elements, or between any group of sub-elements within the above. More than one message service may be used, and a cloud service 140 may use its own message service as required.
  • For clarity of exposition, access to the message service will be described in terms of “Invokers” and “Workers,” but these labels are purely expository and are not intended to convey a limitation on purpose; in some embodiments, a single component (such as a VM) may act first as an Invoker, then as a Worker, the other way around, or simultaneously in each role. An Invoker is a component that sends messages in the system via two operations: 1) an RPC (Remote Procedure Call) directed message and ii) an RPC broadcast. A Worker is a component that receives messages from the message system and replies accordingly.
  • In one embodiment, there is a message node 302 including one or more exchanges 310. In a second embodiment, the message system is “brokerless,” and one or more exchanges are located at each client. The exchanges 310 act as internal message routing elements so that components interacting with the message service can send and receive messages. In one embodiment, these exchanges are subdivided further into a topic exchange 310 a and a direct exchange 310 b. An exchange 310 is a routing structure or system that exists in a particular context. In a one embodiment, multiple contexts can be included within a single message service with each one acting independently of the others. In one embodiment, the type of exchange, such as a topic exchange 310 a vs. direct exchange 310 b determines the routing policy. In a second embodiment, the routing policy is determined via a series of routing rules evaluated by the exchange 310.
  • The direct exchange 310 a is a muting element created during or for RPC directed message operations. In one embodiment, there are many instances of a direct exchange 310 a that are created as needed for the message service. In a further embodiment, there is one direct exchange 310 a created for each RPC directed message received by the system.
  • The topic exchange 310 a is a routing element created during or for RPC directed broadcast operations. In one simple embodiment, every message received by the topic exchange is received by every other connected component. In a second embodiment, the routing rule within a topic exchange is described as publish-subscribe, wherein different components can specify a discriminating function and only topics matching the discriminator are passed along. In one embodiment, there are many instances of a topic exchange 310 b that are created as needed for the message service. In one embodiment, there is one topic-based exchange for every topic created in the cloud computing system. In a second embodiment, there are a set number of topics that have pre-created and persistent topic exchanges 310 b.
  • Within one or more of the exchanges 310, it may be useful to have a queue element 315. A queue 315 is a message stream; messages sent into the stream are kept in the queue 315 until a consuming component connects to the queue and fetches the message. A queue 315 can be shared or can be exclusive. In one embodiment, queues with the same topic are shared amongst Workers subscribed to that topic.
  • In a typical embodiment, a queue 315 will implement a FIFO policy for messages and ensure that they are delivered in the same order that they are received. In other embodiments, however, a queue 315 may implement other policies, such as LIFO, a priority queue (highest-priority messages are delivered first), or age (oldest objects in the queue are delivered first), or other configurable delivery policies. In other embodiments, a queue 315 may or may not make any guarantees related to message delivery or message persistence.
  • In one embodiment, element 320 is a topic publisher. A topic publisher 320 is created, instantiated, or awakened when an RPC directed message or an RPC broadcast operation is executed; this object is instantiated and used to push a message to the message system. Every publisher connects always to the same topic-based exchange; its life-cycle is limited to the message delivery.
  • In one embodiment, element 330 is a direct consumer. A direct consumer 330 is created, instantiated, or awakened if an RPC directed message operation is executed; this component is instantiated and used to receive a response message from the queuing system. Every direct consumer 330 connects to a unique direct-based exchange via a unique exclusive queue, identified by a UUID or other unique name. The life-cycle of the direct consumer 330 is limited to the message delivery. In one embodiment, the exchange and queue identifiers are included the message sent by the topic publisher 320 for RPC directed message operations.
  • In one embodiment, elements 340 (elements 340 a and 340 b) are topic consumers. In one embodiment, a topic consumer 340 is created, instantiated, or awakened at system start. In a second embodiment, a topic consumer 340 is created, instantiated, or awakened when a topic is registered with the message system 300. In a third embodiment, a topic consumer 340 is created, instantiated, or awakened at the same time that a Worker or Workers are instantiated and persists as long as the associated Worker or Workers have not been destroyed. In this embodiment, the topic consumer 340 is used to receive messages from the queue and it invokes the appropriate action as defined by the Worker role. A topic consumer 340 connects to the topic-based exchange either via a shared queue or via a unique exclusive queue. In one embodiment, every Worker has two associated topic consumers 340, one that is addressed only during an RPC broadcast operations (and it connects to a shared queue whose exchange key is defined by the topic) and the other that is addressed only during an RPC directed message operations, connected to a unique queue whose with the exchange key is defined by the topic and the host.
  • In one embodiment, element 350 is a direct publisher. In one embodiment, a direct publisher 350 is created, instantiated, or awakened for RPC directed message operations and it is instantiated to return the message required by the request/response operation. The object connects to a direct-based exchange whose identity is dictated by the incoming message.
  • Turning now to FIG. 3b , one embodiment of the process of sending an RPC directed message is shown relative to the elements of the message system 300 as described relative to FIG. 3a . All elements are as described above relative to FIG. 3a unless described otherwise. At step 360, a topic publisher 320 is instantiated. At step 361, the topic publisher 320 sends a message to an exchange 310 b. At step 362, a direct consumer 330 is instantiated to wait for the response message. At step 363, the message is dispatched by the exchange 310 b. At step 364, the message is fetched by the topic consumer 340 dictated by the routing key (either by topic or by topic and host). At step 365, the message is passed to a Worker associated with the topic consumer 340. If needed, at step 366, a direct publisher 350 is instantiated to send a response message via the message system 300. At step 367, the direct publisher 340 sends a message to an exchange 310 a. At step 368, the response message is dispatched by the exchange 310 a. At step 369, the response message is fetched by the direct consumer 330 instantiated to receive the response and dictated by the routing key. At step 370, the message response is passed to the Invoker.
  • Turning now to FIG. 3c , one embodiment of the process of sending an RPC broadcast message is shown relative to the elements of the message system 300 as described relative to FIG. 3a . All elements are as described above relative to FIG. 3a unless described otherwise. At step 580, a topic publisher 520 is instantiated. At step 381, the topic publisher 320 sends a message to an exchange 310 a. At step 382, the message is dispatched by the exchange 310 b. At step 383, the message is fetched by a topic consumer 340 dictated by the routing key (either by topic or by topic and host). At step 384, the message is passed to a Worker associated with the topic consumer 340.
  • In some embodiments, a response to an RPC broadcast message can be requested. In that case, the process follows the steps outlined relative to FIG. 3b to return a response to the Invoker. As the process of instantiating and launching a VM instance in FIG. 5 shows, requests to a distributed service or application may move through various software components, which may be running on one physical machine or may span across multiple machines and network boundaries.
  • Turning now to FIG. 4, an IaaS-style computational cloud service (a “compute” service) is shown at 400 according to one embodiment. This is one embodiment of a cloud controller 135 with associated cloud service 140 as described relative to FIG. 1b . Except as described relative to specific embodiments, the existence of a compute service does not require or prohibit the existence of other portions of the cloud computing system 130 nor does it require or prohibit the existence of other cloud controllers 135 with other respective services 140.
  • To the extent that some components described relative to the compute service 400 are similar to components of the larger cloud computing system 130, those components may be shared between the cloud computing system 130 and a compute service 400, or they may be completely separate. Further, to the extent that “controllers,” “nodes,” “servers,” “managers,” “VMs,” or similar terms are described relative to the compute service 400, those can be understood to comprise any of a single information processing device 210 as described relative to FIG. 2, multiple information processing devices 210, a single VM as described relative to FIG. 2, a group or cluster of VMs or information processing devices as described relative to FIG. 3. These may run on a single machine or a group of machines, but logically work together to provide the described function within the system.
  • In one embodiment, compute service 400 includes an API Server 410, a Compute Controller 420, an Auth Manager 430, an Object Store 440, a Volume Controller 450, a Network Controller 460, and a Compute Manager 470. These components are coupled by a communications network of the type previously described. In one embodiment, communications between various components are message-oriented, using HTTP or a messaging protocol such as AMQP, ZeroMQ, or STOMP.
  • Although various components are described as “calling” each other or “sending” data or messages, one embodiment makes the communications or calls between components asynchronous with callbacks that get triggered when responses are received. This allows the system to be architected in a “shared-nothing” fashion. To achieve the shared-nothing property with multiple copies of the same component, compute service 400 further includes distributed data store 490. Global state for compute service 400 is written into this store using atomic transactions when required. Requests for system state are read out of this store. In some embodiments, results are cached within controllers for short periods of time to improve performance. In various embodiments, the distributed data store 490 can be the same as, or share the same implementation as Object Store 440.
  • In one embodiment, the API server 410 includes external API endpoints 412. In one embodiment, the external API endpoints 412 are provided over an RPC-style system, such as CORBA, DCE/COM. SOAP, or XML-RPC. These follow the calling structure and conventions defined in their respective standards. In another embodiment, the external API endpoints 412 are basic HTTP web services following a REST pattern and identifiable via URL. Requests to read a value from a resource are mapped to HTTP GETs, requests to create resources are mapped to HTTP PUTs, requests to update values associated with a resource are mapped to HTTP POSTs, and requests to delete resources are mapped to HTTP DELETEs. In some embodiments, other REST-style verbs are also available, such as the ones associated with WebDav. In a third embodiment, the API endpoints 412 are provided via internal function calls, IPC, or a shared memory mechanism. Regardless of how the API is presented, the external API endpoints 412 are used to handle authentication, authorization, and basic command and control functions using various API interfaces. In one embodiment, the same functionality is available via multiple APIs, including APIs associated with other cloud computing systems. This enables API compatibility with multiple existing tool sets created for interaction with offerings from other vendors.
  • The Compute Controller 420 coordinates the interaction of the various parts of the compute service 400. In one embodiment, the various internal services that work together to provide the compute service 400, are internally decoupled by adopting a service-oriented architecture (SOA). The Compute Controller 420 serves as an internal API server, allowing the various internal controllers, managers, and other components to request and consume services from the other components. In one embodiment, all messages pass through the Compute Controller 420. In a second embodiment, the Compute Controller 420 brings up services and advertises service availability, but requests and responses go directly between the components making and serving the request. In a third embodiment, there is a hybrid model in which some services are requested through the Compute Controller 420, but the responses are provided directly from one component to another.
  • In one embodiment, communication to and from the Compute Controller 420 is mediated via one or more internal API endpoints 422, provided in a similar fashion to those discussed above. The internal API endpoints 422 differ from the external API endpoints 412 in that the internal API endpoints 422 advertise services only available within the overall compute service 400, whereas the external API endpoints 412 advertise services available outside the compute service 400. There may be one or more internal APIs 422 that correspond to external APIs 412, but it is expected that there will be a greater number and variety of internal API calls available from the Compute Controller 420.
  • In one embodiment, the Compute Controller 420 includes an instruction processor 424 for receiving and processing instructions associated with directing the compute service 400. For example, in one embodiment, responding to an API call involves making a series of coordinated internal API calls to the various services available within the compute service 400, and conditioning later API calls on the outcome or results of earlier API calls. The instruction processor 424 is the component within the Compute Controller 420 responsible for marshaling arguments, calling services, and making conditional decisions to respond appropriately to API calls.
  • In one embodiment, the instruction processor 424 is implemented as a tailored electrical circuit or as software instructions to be used in conjunction with a hardware processor to create a hardware-software combination that implements the specific functionality described herein. To the extent that one embodiment includes computer-executable instructions, those instructions may include software that is stored on a computer-readable medium. Further, one or more embodiments have associated with them a buffer. The buffer can take the form of data structures, a memory, a computer-readable medium, or an off-script-processor facility. For example, one embodiment uses a language runtime as an instruction processor 424, running as a discrete operating environment, as a process in an active operating environment, or can be run from a low-power embedded processor. In a second embodiment, the instruction processor 424 takes the form of a series of interoperating but discrete components, some or all of which may be implemented as software programs. In another embodiment, the instruction processor 424 is a discrete component, using a small amount of flash and a low power processor, such as a low-power ARM processor. In a further embodiment, the instruction processor includes a rule engine as a submodule as described herein.
  • In one embodiment, the Compute Controller 420 includes a message queue as provided by message service 426. In accordance with the service-oriented architecture described above, the various functions within the compute service 400 are isolated into discrete internal services that communicate with each other by passing data in a well-defined, shared format, or by coordinating an activity between two or more services. In one embodiment, this is done using a message queue as provided by message service 426. The message service 426 brokers the interactions between the various services inside and outside the Compute Service 400.
  • In one embodiment, the message service 426 is implemented similarly to the message service described relative to FIGS. 3a-3c . The message service 426 may use the message service 110 directly, with a set of unique exchanges, or may use a similarly configured but separate service.
  • The Auth Manager 430 provides services for authenticating and managing user, account, role, project, group, quota, and security group information for the compute service 400. In a first embodiment, every call is necessarily associated with an authenticated and authorized entity within the system, and so is or can be checked before any action is taken. In another embodiment, internal messages are assumed to be authorized, but all messages originating from outside the service are suspect. In this embodiment, the Auth Manager checks the keys provided associated with each call received over external API endpoints 412 and terminates and/or logs any call that appears to come from an unauthenticated or unauthorized source. In a third embodiment, the Auth Manager 430 is also used for providing resource-specific information such as security groups, but the internal API calls for that information are assumed to be authorized. External calls are still checked for proper authentication and authorization. Other schemes for authentication and authorization can be implemented by flagging certain API calls as needing verification by the Auth Manager 430, and others as needing no verification.
  • In one embodiment, external communication to and from the Auth Manager 430 is mediated via one or more authentication and authorization API endpoints 632, provided in a similar fashion to those discussed above. The authentication and authorization API endpoints 432 differ from the external API endpoints 612 in that the authentication and authorization API endpoints 432 are only used for managing users, resources, projects, groups, and rules associated with those entities, such as security groups, RBAC roles, etc. In another embodiment, the authentication and authorization API endpoints 432 are provided as a subset of external API endpoints 412.
  • In one embodiment, the Auth Manager 430 includes rules processor 434 for processing the rules associated with the different portions of the compute service 400. In one embodiment, this is implemented in a similar fashion to the instruction processor 424 described above.
  • The Object Store 440 provides redundant, scalable object storage capacity for arbitrary data used by other portions of the compute service 400. At its simplest, the Object Store 440 can be implemented one or more block devices exported over the network. In a second embodiment, the Object Store 440 is implemented as a structured, and possibly distributed data organization system. Examples include relational database systems—both standalone and clustered—as well as non-relational structured data storage systems like MongoDB, Apache Cassandra, or Redis. In a third embodiment, the Object Store 440 is implemented as a redundant, eventually consistent, fully distributed data storage service.
  • In one embodiment, external communication to and from the Object Store 440 is mediated via one or more object storage API endpoints 442, provided in a similar fashion to those discussed above. In one embodiment, the object storage API endpoints 442 are internal APIs only. In a second embodiment, the Object Store 440 is provided by a separate cloud service 130, so the “internal” API used for compute service 400 is the same as the external API provided by the object storage service itself.
  • In one embodiment, the Object Store 440 includes an Image Service 444. The Image Service 444 is a lookup and retrieval system for virtual machine images. In one embodiment, various virtual machine images can be associated with a unique project, group, user, or name and stored in the Object Store 440 under an appropriate key. In this fashion multiple different virtual machine image files can be provided and programmatically loaded by the compute service 400.
  • The Volume Controller 450 coordinates the provision of block devices for use and attachment to virtual machines. In one embodiment, the Volume Controller 450 includes Volume Workers 452. The Volume Workers 452 are implemented as unique virtual machines, processes, or threads of control that interact with one or more backend volume providers 454 to create, update, delete, manage, and attach one or more volumes 456 to a requesting VM.
  • In a first embodiment, the Volume Controller 450 is implemented using a SAN that provides a sharable, network-exported block device that is available to one or more VMs, using a network block protocol such as iSCSI. In this embodiment, the Volume Workers 452 interact with the SAN to manage and iSCSI storage to manage LVM-based instance volumes, stored on one or more smart disks or independent processing devices that act as volume providers 454 using their embedded storage 456. In a second embodiment, disk volumes 456 are stored in the Object Store 440 as image files under appropriate keys. The Volume Controller 450 interacts with the Object Store 440 to retrieve a disk volume 456 and place it within an appropriate logical container on the same information processing system 440 that contains the requesting VM. An instruction processing module acting in concert with the instruction processor and hypervisor on the information processing system 240 acts as the volume provider 454, managing, mounting, and unmounting the volume 456 on the requesting VM. In a further embodiment, the same volume 456 may be mounted on two or more VMs, and a block-level replication facility may be used to synchronize changes that occur in multiple places. In a third embodiment, the Volume Controller 450 acts as a block-device proxy for the Object Store 440, and directly exports a view of one or more portions of the Object Store 440 as a volume. In this embodiment, the volumes are simply views onto portions of the Object Store 440, and the Volume Workers 454 are part of the internal implementation of the Object Store 440.
  • In one embodiment, the Network Controller 460 manages the networking resources for VM hosts managed by the compute manager 470. Messages received by Network Controller 460 are interpreted and acted upon to create, update, and manage network resources for compute nodes within the compute service, such as allocating fixed IP addresses, configuring VLANs for projects or groups, or configuring networks for compute nodes.
  • In one embodiment, the Network Controller 460 may use a shared cloud controller directly, with a set of unique addresses, identifiers, and routing rules, or may use a similarly configured but separate service.
  • In one embodiment, the Compute Manager 470 manages computing instances for use by API users using the compute service 400. In one embodiment, the Compute Manager 470 is coupled to a plurality of resource pools 472, each of which includes one or more compute nodes 474. Each compute node 474 is a virtual machine management system as described relative to FIG. 3 and includes a compute worker 476, a module working in conjunction with the hypervisor and instruction processor to create, administer, and destroy multiple user- or system-defined logical containers and operating environments-VMs-according to requests received through the API. In various embodiments, the pools of compute nodes may be organized into clusters, such as clusters 476 a and 476 b. In one embodiment, each resource pool 472 is physically located in one or more data centers in one or more different locations. In another embodiment, resource pools have different physical or software resources, such as different available hardware, higher-throughput network connections, or lower latency to a particular location.
  • In one embodiment, the Compute Manager 470 allocates VM images to particular compute nodes 474 via a Scheduler 478. The Scheduler 478 is a matching service; requests for the creation of new VM instances come in and the most applicable Compute nodes 474 are selected from the pool of potential candidates. In one embodiment, the Scheduler 478 selects a compute node 474 using a random algorithm. Because the node is chosen randomly, the load on any particular node tends to be non-coupled and the load across all resource pools tends to stay relatively even.
  • In a second embodiment, a smart scheduler 478 is used. A smart scheduler analyzes the capabilities associated with a particular resource pool 472 and its component services to make informed decisions on where a new instance should be created. When making this decision it consults not only all the Compute nodes across the resource pools 472 until the ideal host is found.
  • In a third embodiment, a distributed scheduler 478 is used. A distributed scheduler is designed to coordinate the creation of instances across multiple compute services 400. Not only does the distributed scheduler 478 analyze the capabilities associated with the resource pools 472 available to the current compute service 400, it also recursively consults the schedulers of any linked compute services until the ideal host is found.
  • In one embodiment, either the smart scheduler or the distributed scheduler is implemented using a rules engine 479 (not shown) and a series of associated rules regarding costs and weights associated with desired compute node characteristics. When deciding where to place an Instance, rules engine 479 compares a Weighted Cost for each node. In one embodiment, the Weighting is just the sum of the total Costs. In a second embodiment, a Weighting is calculated using an exponential or polynomial algorithm. In the simplest embodiment, costs are nothing more than integers along a fixed scale, although costs can also be represented by floating point numbers, vectors, or matrices. Costs are computed by looking at the various Capabilities of the available node relative to the specifications of the Instance being requested. The costs are calculated so that a “good” match has lower cost than a “bad” match, where the relative goodness of a match is determined by how closely the available resources match the requested specifications.
  • In one embodiment, specifications can be hierarchical, and can include both hard and soft constraints. A hard constraint is a constraint is a constraint that cannot be violated and have an acceptable response. This can be implemented by having hard constraints be modeled as infinite-cost requirements. A soft constraint is a constraint that is preferable, but not required. Different soft constraints can have different weights, so that fulfilling one soft constraint may be more cost-effective than another. Further, constraints can take on a range of values, where a good match can be found where the available resource is close, but not identical, to the requested specification. Constraints may also be conditional, such that constraint A is a hard constraint or high-cost constraint if Constraint B is also fulfilled, but can be low-cost if Constraint C is fulfilled.
  • As implemented in one embodiment, the constraints are implemented as a series of rules with associated cost functions. These rules can be abstract, such as preferring nodes that don't already have an existing instance from the same project or group. Other constraints (hard or soft), may include: a node with available GPU hardware; a node with an available network connection over 100 Mbps; a node that can run Windows instances; a node in a particular geographic location, etc.
  • When evaluating the cost to place a VM instance on a particular node, the constraints are computed to select the group of possible nodes, and then a weight is computed for each available node and for each requested instance. This allows large requests to have dynamic weighting; if 1000 instances are requested, the consumed resources on each node are “virtually” depleted so the Cost can change accordingly.
  • Turning now to FIG. 5, a diagram showing one embodiment of the process of instantiating and launching a VM instance is shown as diagram 500. At time 502, the API Server 510 receives a request to create and run an instance with the appropriate arguments. In one embodiment, this is done by using a command-line tool that issues arguments to the API server 510. In a second embodiment, this is done by sending a message to the API Server 510. In one embodiment, the API to create and run the instance includes arguments specifying a resource type, a resource image, and control arguments. A further embodiment includes requester information and is signed and/or encrypted for security and privacy. At time 504, API server 510 accepts the message, examines it for API compliance, and relays a message to Compute Controller 520, including the information needed to service the request. In an embodiment in which user information accompanies the request, either explicitly or implicitly via a signing and/or encrypting key or certificate, the Compute Controller 520 sends a message to Auth Manager 530 to authenticate and authorize the request at time 506 and Auth Manager 530 sends back a response to Compute Controller 520 indicating whether the request is allowable at time 508. If the request is allowable, a message is sent to the Compute Manager 570 to instantiate the requested resource at time 510. At time 512, the Compute Manager selects a Compute Worker 576 and sends a message to the selected Worker to instantiate the requested resource. At time 514, Compute Worker identifies and interacts with Network Controller 560 to get a proper VLAN and IP address. At time 516, the selected Worker 576 interacts with the Object Store 540 and/or the Image Service 544 to locate and retrieve an image corresponding to the requested resource. If requested via the API, or used in an embodiment in which configuration information is included on a mountable volume, the selected Worker interacts with the Volume Controller 550 at time 518 to locate and retrieve a volume for the to-be-instantiated resource. At time 519, the selected Worker 576 uses the available virtualization infrastructure to instantiate the resource, mount any volumes, and perform appropriate configuration. At time 522, selected Worker 556 interacts with Network Controller 560 to configure routing. At time 524, a message is sent back to the Compute Controller 520 via the Compute Manager 550 indicating success and providing necessary operational details relating to the new resource. At time 526, a message is sent back to the API Server 526 with the results of the operation as a whole. At time 599, the API-specified response to the original command is provided from the API Server 510 back to the originally requesting entity. If at any time a requested operation cannot be performed, then an error is returned to the API Server at time 590 and the API-specified response to the original command is provided from the API server at time 592. For example, an error can be returned if a request is not allowable at time 508, if a VLAN cannot be created or an IP allocated at time 514, if an image cannot be found or transferred at time 516, etc. Such errors may be one potential source of mistakes or inconsistencies in periodic system status notifications discussed below.
  • Having described an example of a distributed application and operation within a distributed network system, various embodiments of methods and systems for verification of records of system change events in a distributed network system are described with references to FIGS. 6-10. As used herein, a distributed network system may relate to one or more services and components, and in particular cloud services. Various embodiments of the methods and systems disclosed herein may permit verification of records of system change events in a distributed network system providing cloud services.
  • FIG. 6 illustrates a simplified diagram of a system for reselling resources of a distributed network system, and in particular a cloud computing system. System 600 includes cloud computing system 605 (e.g., cloud computing system 130) and a reseller system 610. According to one embodiment, cloud computer system 605 may provide cloud services to reseller system 610 and a billing feed 615. Billing feed 615 may include one or more potential billable elements for tracking usage. Billing feed 615 may provide data based on one or more models for tracking and billing usage.
  • Reselling system 610 may be configured as an intermediary for selling and/or providing services of cloud computing system 605 to one or more entities, such as customers. Services by reseller system 610 may be based on requests, such as customer billable request 620. Based on received requests for cloud services, reseller system may generate one or more customer bills 625. Similarly, reseller system may generate one or more requests, such as billable requests 630 for cloud services. Based on requested services buy reseller system 610, cloud computing system 605 may generate one or more reseller bills 635. According to one embodiment, customer bills 625 generated by reseller system 610 may be based on one or more of billing feed 615 and service fees, such as reseller bills 635.
  • In a further embodiment, reseller system 610 may request failure reports or error-related data in addition to billing feed 615 in order to verify compliance with Service Level Agreements (SLAs) between reseller and cloud computing service provider, or between reseller and reseller's customers.
  • FIG. 7 illustrates one embodiment of an event manager 106. Event manager 106 may include a receiver 710 coupled to an API 705 which is configured to receive API requests from, e.g., system users. In an alternative or further embodiment, receiver 710 may be coupled to message service 110 and configured to observe system messages responsive to API requests 730 received by API 705. In certain embodiments, receiver 710 may be integrated with or replaced by API 705, depending upon the system configuration.
  • Event manager 106 may further comprise an ID Assignment Unit 705 which is configured to assign a unique identifier (ID) to each API request 730 received by API 705. The unique ID may be used for tracking subsequent actions, events, or results of the API request 730, including a final API request disposition.
  • Event manager 106 may also include a time tracker 720 configured to record a time at which the API request 730 was received by API 705 in association with the unique ID. Time tracker may use a time stamp which is included with the API request 730, a timestamp assigned by the API 705 at the time the API request 730 is received, a timestamp associated with an internal system clock in response to the receiver 710 receiving the API request 730 or an associated message, or the like. In a further embodiment, the time tracker 720 may include a counter. In an embodiment, the time tracker 720 starts the counter at the time the receiver 710 receives the API request 730. One of ordinary skill may recognize alternative, but suitable methods which may be employed by time tracker 720 to track timing of events associated with the API request 730.
  • Event manager 106 may further include an event tracker 725. Event tracker 725 may be configured to update a record indexed by the unique identifier in response to receipt of notifications for events associated with the API request 730. For example, event tracker 725 may record process or operation start times, operation errors and time of error, operation terminations, and the like. Event tracker 725 may be further configured to record a final disposition of the API request 730. For example, the final disposition may be “Request Complete,” “Operation Successful,” “API 5XX Response,” “Server-Side Failure,” “Time Threshold Failure,” or “Error State Failure,” etc. On of ordinary skill in the art may recognize additional final disposition labels which may be of use for calculating or recording system failure rates.
  • In a preferred embodiment, the timing of each event is calculated with reference to the time at which the API request 730 is received or transmitted by the user, rather than the time at which a responsive process starts. Beneficially, this approach may yield failure monitoring results that are more realistic and more closely tied to the user's actual experience.
  • In a further embodiment, the time threshold failure may be triggered in response to a determination that a runtime duration between receipt of the API request 730 and termination of a responsive process exceeded a predetermined time threshold, regardless of whether the operation successfully completed. Beneficially, the time threshold failure may track a user's experience, and may reflect a failure in failure reports for processes that take so long to complete that the user would consider the operation to have failed regardless of the actual result.
  • The timing threshold may be predetermined in response to analysis of user's expectations. Alternatively, an arbitrary threshold may be selected. In still other embodiments, a first threshold may be set for completion of a first operation or category of operations, and a second time threshold may be set for completion of a second operation or category of operations. In still a further embodiment, the timing threshold may be dynamically updated in response to observations of average operation completion times. For example, if event manager 106 determines that a particular operation takes one hour to complete on average, the time threshold may be set to one hour plus a reasonable margin. In certain embodiments, the event manager may update the timing thresholds dynamically and automatically for one or more operations associated with one or more common API requests 730.
  • The event tracker 725 may also be configured to calculate an error rate associated with one or more API requests 730 tracked by event tracker 725. For example, event tracker 725 may query a set of records to determine a total number of API requests received in a certain time period. For example, the time period could be one hour, one day, one week, two weeks, one month, one quarter, one year, or any other specified time period. In a further embodiment, the time period may be selectable by a user or specified in a report request.
  • The event tracker 725 may be configured to aggregate information from the API request 730 records generated within the time period and generate a report listing, for example, a total number of failures occurring within a specified category. For example, the specified categories may include “API 5XX Response,” “Server-Side Failure,” “Time Threshold Failure,” or “Error State Failure,” etc. In a further embodiment, the event tracker 725 may be configured to calculate a total number of failures and a failure rate. According to one embodiment, the failure rate may be calculated in response to equation 1:
  • FR = 1 - API Req . - API 5 XX Resp . - ServerSide Failures - Time Threshold Failures - Error State Failures API Req . , ( 1 )
  • where FR is the failure rate, API Req. is the total number of API requests 730 received during the time period, API 5XX Resp. is the total number of 5XX responses issued in response to API requests, ServerSide Failures is the total number of 5XX API failures or other Server-Side failures that occurred within the time period, Time Threshold Failures is the total number of operations that exceeded the operation time threshold, regardless of result, and Error State Failures are the total number of operations that ended in a failure state even if a Server-Side Failure was not involved. Error state failures may occur as a result of downstream 4XX failures, or other operation runtime errors.
  • FIG. 8 illustrates one embodiment of a method 800 for failure monitoring. In one embodiment the method 800 starts when receiver 710 receives an API request 730 from API 705 as shown in block 805. In an alternative embodiment, receiver 710 may receive a system message from message service 110 associated with receipt of API request 730.
  • The ID assignment unit 715 may then assign a unique ID to the API request 730 as shown at block 810. The unique ID may be used to track further events associated with the API request 730. Additionally, the time tracker 720 may record a time at which the API request 730 was received at API 705 as shown at block 815. In an alternative embodiment, time tracker 720 may record a time at which receiver 710 receives API request 730 or a message from message service 110 associated with receipt of API request 730. As shown at block 820, event tracker 725 may then associate one or more system state changes with the unique identifier, where the system state changes are in response to the API request 730. In one embodiment, the recorded system state changes may be included in an API request record as illustrated in FIG. 9.
  • The embodiment of an API request record 900 of FIG. 9 may include an API request ID field 905. Additionally, the record 900 may include a timestamp field for recording a time at which the API request 730 is received. The record 900 may also include one or more additional entries 910-935 associated with system state changes that occur in response to API request 730. The system state changes may be identified by receiver 710 by messages communicated from message service 110. Record 900 may also include a final disposition field for recording a final disposition of the API request 730.
  • FIG. 9 illustrates an example record. In this example, unique identifier #6789 is assigned to API request 730 and used for tracking subsequent system events associated with API request 730. The record 900 also indicates that API 705 received API request 730 at 10:00 AM. Response field 915 shows the initial HTTP response code issued. In this embodiment, API 705 issued an HTTP code 202 response indicating that the API request 730 was accepted. The 202 response was issued at 10:01 AM. Process start filed 920 indicates that process XYZ was started at 10:05 in response to API request 730. Process error field 925 indicates that process XYZ experienced a runtime error at 10:15 AM. In this example, the runtime error code is #4321. Process restart field 930 indicates that process XYZ was restarted at 10:20 AM and ran until 11:25 AM at which time process XYZ completed successfully as indicated by process completion field 935. One of ordinary skill in the art will recognize that the fields 915-935 are only examples of fields or entries which may be included in record 900, and are only illustrated by way of a non-limiting example for demonstrative purposes only.
  • Final disposition field 940 indicates that there was a time threshold failure in this example. Despite the fact that process XYZ completed successfully, the final disposition is listed as a failure because the total runtime exceeded a one hour threshold by twenty five minutes. In this embodiment, the runtime was calculated from the time the API request 730 was received—10:00 AM in this example, until process XYZ completed.
  • In one embodiment, only a single failure—time threshold exceeded failure—is recorded for the API request, despite the fact that there was an additional error code #4321 recorded. Use of a final disposition indicator ensures that only a single failure is recorded for each API request 730. One of ordinary skill in the art may recognize alternative approaches for associating only a single failure to a given API request 730, even though multiple system failures may occur as a result of the API request 730.
  • FIG. 10 illustrates one embodiment of an operation failure report 1000 that may be generated according to the present embodiments. In the described embodiment, the operation failure report includes several fields or entries 1005-1035. For example, the report 1000 may include an API request count field 1005 for reporting a total number of API requests received during a specified time period. The report 1000 may also include an API 5XX response field 1010, an API Server-Side Failure field 1015, a time threshold failures filed 1020, and an error state failures field 1035 for providing counts of each respective type of failure. In a further embodiment, the report 1000 may include a total failures field 1030 for aggregating the total number of failures. Also, the report 1000 may include a failure rate field 1035 for providing an overall failure rate.
  • In this example, the report 1000 indicates that API 705 received 1000 API requests in the specified time period, and that 33 total failures occurred in response to the 1000 API requests. The failures included one API 5XX response, two API Server-Side Failures, ten time threshold failures and twenty error state failures. Calculating the failure rate according to Equation 1, the total failure rate is 3.3%. One of ordinary skill in the art will recognize that the figures described in this example are merely for demonstration purposes, and in no way reflect actual failure rates or customer data.
  • In one embodiment, failure monitoring is implemented as an electrical circuit or as software instructions to be used in conjunction with a hardware processor to create a hardware-software combination that implements the specific functionality described herein. To the extent that one embodiment includes computer-executable instructions, those instructions may include software that is stored on a computer-readable medium. Further, one or more embodiments have associated with them a buffer. The buffer can take the form of data structures, a memory, a computer-readable medium, or an off-script-processor facility. For example, one embodiment uses a language runtime as an instruction processor, running as a discrete operating environment, as a process in an active operating environment, or can be run from a low-power embedded processor. In a second embodiment, the instruction processor takes the form of a series of interoperating but discrete components, some or all of which may be implemented as software programs. In another embodiment, the instruction processor is a discrete component, using a small amount of flash and a low power processor, such as a low-power ARM processor. In a further embodiment, the instruction processor includes a rule engine as a submodule as described herein.
  • Although illustrative embodiments have been shown and described, a wide range of modification, change and substitution is contemplated in the foregoing disclosure and in some instances, some features of the embodiments may be employed without a corresponding use of other features. Accordingly, it is appropriate that the appended claims be construed broadly and in a manner consistent with the scope of the embodiments disclosed herein.

Claims (15)

1-22. (canceled)
1. A system for exception detection and reporting in a distributed system, the system comprising:
a first processing element, a second processing element, and a third processing element, each processing element being operably coupled with a computer readable medium, memory, processor, and network connection, and including one or more functions, each function comprising code interpretable by the processor to accept a set of inputs and produce an output;
wherein each of the first, second, and third processing elements are communicably coupled to each other according to an internal processing graph, the processing graph including a external call Application Programming Interface (API) endpoint, and internal element output to element input connections;
a compute controller separate from the first, second, and third processing elements, the compute controller including a set of discrete, communicably coupled interoperating components, the set of interoperating components including one or more instrumentation components operably connected to each of the first, second, and third processing elements, the compute controller operable to insert instrumentation components into the processing graph according to a changeable configuration;
wherein a instrumentation component associated with the first processing element sets at least one trace on the first processing element, the trace type being selected from a group consisting of a recorder observing and correlating inputs and outputs from the first processing element, an interceptor modifying one or more functions in the first processing element, and an event reporter;
wherein a instrumentation component associated with the second processing element sets at least one trace on the second processing element, the trace type being selected from a group consisting of a recorder observing and correlating inputs and outputs from the second processing element, an interceptor modifying one or more functions in the second processing element, and an event reporter;
wherein an instrumentation component associated with the third processing element sets at least one trace on the third processing element, the trace type being selected from a group consisting of a recorder observing and correlating inputs and outputs from the third processing element, an interceptor modifying one or more functions in the third processing element, and an event reporter;
wherein each instrumentation component is operable to communicate exceptional condition messages to the controller, exceptional conditions including errors, unexpected results, utilization of processing, storage, or memory capacity above a threshold defined by the configuration, or a response latency above a threshold defined by the configuration;
wherein the controller is further operable to evaluate received exceptional condition messages and take an action selected from a group consisting of writing an exception report to a log, canceling an in-process computation moving through the processing graph, and reporting an exceptional condition via the API endpoint.
2. The system of claim 1, wherein at least two of the processing elements are operably coupled to a shared computer readable medium, memory, processor, and network connection.
3. The system of claim 1, wherein at least two of the processing elements communicate via a process-internal call graph, inter-process communication (IPC), or a shared memory communication system.
4. The system of claim 1, wherein each instrumentation component is additionally operable to communicate non-exceptional messages, and the controller is additionally operable to write non-exceptional reports to a log.
5. The system of claim 1, wherein an instrumentation component is additionally operable to communicate non-exceptional messages, and the controller is additionally operable to write non-exceptional reports to a log.
6. The system of claim 1, further comprising a generator operable to create an identifier;
wherein an instrumentation component associated with each processing element is further operable to associate each set of computations associated with a unique movement of inputs and outputs through the processing graph with an identifier created by the generator, wherein the portion of the instrumentation component associating part of the set of computations includes code that, when executed:
at processing element associated with the API endpoint, modifies the output of the associated function to include the identifier;
at each successive function invocation point along the computation graph, receives inputs including the identifier, temporarily stores the identifier, and passes the received inputs, without the identifier, to the traced function, and upon receiving the outputs of the functions, modifies the output of the function to include the identifier.
7. The system of claim 6, wherein an instrumentation component is additionally operable to communicate non-exceptional messages, and the controller is additionally operable to write non-exceptional reports to a log.
8. The system of claim 7, wherein one type of non-exceptional message includes the time needed to traverse one portion of the processing graph.
9. The system of claim 7, wherein one type of non-exceptional message includes the time needed to traverse the entire processing graph.
10. A system for exception detection and reporting in a distributed system, the system comprising:
a set of processing elements, including at least a first processing element, a second processing element, and a third processing element, each processing element being operably coupled with a computer readable medium, memory, processor, and network connection, and including one or more functions, each function comprising code interpretable by the processor to accept a set of inputs and produce an output;
a instrumentation component comprising code, that when executed on one or more of the processing elements:
loads a configuration identifying one or more target functions to trace, the location of the functions being determined relative to the processing element being used to execute the function in the context of a processing graph, the processing graph including an external application programming interface (API) endpoint;
patches each target function identified in the configuration, wherein the patch type is selected from a group consisting of a recorder patch observing and correlating inputs and outputs to the patched target function, an interceptor patch modifying the inputs and outputs accepted or produced by the function from their original state, and an event reporter patch operable to identify and communicate changes in the state of the portion of the system observed;
a controller component including code, that when executed:
executes the patched target function on the processing element processor;
a monitor component communicably coupled to the processing elements executing patched functions, the monitor component including code, that when executed:
identifies exceptional conditions including errors, unexpected results, utilization of processing, storage, or memory capacity above a threshold defined by the configuration, or a response latency above a threshold defined by the configuration, and non-exceptional conditions including utilization of a resource and time elapsed during execution of the function; and
takes an action selected from a group consisting of writing a report to a log, canceling an in-process computation moving through the processing graph, reporting a condition via the API endpoint, and reporting a condition to a second API endpoint.
11. The system of claim 10, wherein at least two of the processing elements are operably coupled to a shared computer readable medium, memory, processor, and network connection.
12. The system of claim 10, wherein at least two of the processing elements communicate via a process-internal call graph, inter-process communication (IPC), or a shared memory communication system.
13. The system of claim 10, wherein each instrumentation component additionally includes to communicate non-exceptional messages, and the controller is additionally operable to write non-exceptional reports to a log.
14. The system of claim 10, further comprising a generator operable to create an identifier;
wherein an instrumentation component associated with each processing element is further operable to associate each set of computations associated with a unique movement of inputs and outputs through the processing graph with an identifier created by the generator, wherein the portion of the instrumentation component associating part of the set of computations includes code that, when executed:
at processing element associated with the API endpoint, modifies the output of the associated function to include the identifier;
at each successive function invocation point along the computation graph, receives inputs including the identifier, temporarily stores the identifier, and passes the received inputs, without the identifier, to the traced function, and upon receiving the outputs of the functions, modifies the output of the function to include the identifier.
US15/806,253 2013-01-28 2017-11-07 Methods and Systems for Exception Detection and Reporting in a Distributed Network System Abandoned US20180062942A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/806,253 US20180062942A1 (en) 2013-01-28 2017-11-07 Methods and Systems for Exception Detection and Reporting in a Distributed Network System

Applications Claiming Priority (5)

Application Number Priority Date Filing Date Title
US13/752,255 US9521004B2 (en) 2013-01-28 2013-01-28 Methods and systems of generating a billing feed of a distributed network
US13/752,234 US9658941B2 (en) 2013-01-28 2013-01-28 Methods and systems of function-specific tracing
US13/752,147 US9135145B2 (en) 2013-01-28 2013-01-28 Methods and systems of distributed tracing
US13/841,446 US9813307B2 (en) 2013-01-28 2013-03-15 Methods and systems of monitoring failures in a distributed network system
US15/806,253 US20180062942A1 (en) 2013-01-28 2017-11-07 Methods and Systems for Exception Detection and Reporting in a Distributed Network System

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US13/841,446 Continuation US9813307B2 (en) 2013-01-28 2013-03-15 Methods and systems of monitoring failures in a distributed network system

Publications (1)

Publication Number Publication Date
US20180062942A1 true US20180062942A1 (en) 2018-03-01

Family

ID=51224270

Family Applications (2)

Application Number Title Priority Date Filing Date
US13/841,446 Active 2033-06-04 US9813307B2 (en) 2013-01-28 2013-03-15 Methods and systems of monitoring failures in a distributed network system
US15/806,253 Abandoned US20180062942A1 (en) 2013-01-28 2017-11-07 Methods and Systems for Exception Detection and Reporting in a Distributed Network System

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US13/841,446 Active 2033-06-04 US9813307B2 (en) 2013-01-28 2013-03-15 Methods and systems of monitoring failures in a distributed network system

Country Status (1)

Country Link
US (2) US9813307B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10680913B1 (en) * 2019-02-11 2020-06-09 Hewlett Packard Enterprise Development Lp Error remediation in software as a service (SaaS) portals
US20220300417A1 (en) * 2021-03-19 2022-09-22 Salesforce.Com, Inc. Concurrent computation on data streams using computational graphs
US20220345521A1 (en) * 2019-09-19 2022-10-27 Guizhou Baishancloud Technology Co., Ltd. Network edge computing method, apparatus, device and medium

Families Citing this family (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9813307B2 (en) * 2013-01-28 2017-11-07 Rackspace Us, Inc. Methods and systems of monitoring failures in a distributed network system
US9483334B2 (en) 2013-01-28 2016-11-01 Rackspace Us, Inc. Methods and systems of predictive monitoring of objects in a distributed network system
US9397902B2 (en) 2013-01-28 2016-07-19 Rackspace Us, Inc. Methods and systems of tracking and verifying records of system change events in a distributed network system
JP6030996B2 (en) * 2013-05-24 2016-11-24 株式会社日立製作所 Information management apparatus and information management method
US9609062B2 (en) * 2013-06-26 2017-03-28 Qualcomm Incorporated Semantic mappings from human readable messages to programmatic interfaces
US10348561B1 (en) * 2013-11-20 2019-07-09 Rockwell Automation, Inc. Systems and methods for automated access to relevant information in a mobile computing environment
US9307015B1 (en) * 2013-12-27 2016-04-05 Emc Corporation Cloud black box for cloud infrastructure
US9813516B2 (en) 2014-02-18 2017-11-07 Salesforce.Com, Inc. Transparent sharding of traffic across messaging brokers
US9753818B2 (en) 2014-09-19 2017-09-05 Splunk Inc. Data forwarding using multiple data pipelines
US9838467B2 (en) * 2014-03-17 2017-12-05 Splunk Inc. Dynamically instantiating dual-queue systems
US9836358B2 (en) * 2014-03-17 2017-12-05 Splunk Inc. Ephemeral remote data store for dual-queue systems
US9838346B2 (en) 2014-03-17 2017-12-05 Splunk Inc. Alerting on dual-queue systems
US9660930B2 (en) 2014-03-17 2017-05-23 Splunk Inc. Dynamic data server nodes
US9454575B2 (en) * 2014-03-28 2016-09-27 Hewlett Packard Enterprise Development Lp Processing a metric of a component of a software-defined network
US10922666B1 (en) * 2014-06-23 2021-02-16 Amazon Technologies, Inc. Resource management for logical and physical availability zones of a provider network
US10432711B1 (en) * 2014-09-15 2019-10-01 Amazon Technologies, Inc. Adaptive endpoint selection
US9363267B2 (en) 2014-09-25 2016-06-07 Ebay, Inc. Transaction verification through enhanced authentication
RU2015102736A (en) 2015-01-29 2016-08-20 Общество С Ограниченной Ответственностью "Яндекс" SYSTEM AND METHOD FOR PROCESSING A REQUEST IN A NETWORK OF DISTRIBUTED DATA PROCESSING
US10142353B2 (en) 2015-06-05 2018-11-27 Cisco Technology, Inc. System for monitoring and managing datacenters
US10536357B2 (en) 2015-06-05 2020-01-14 Cisco Technology, Inc. Late data detection in data center
US10908981B2 (en) * 2017-03-31 2021-02-02 Cae Inc. Method and system for diagnosis of a simulator
US10630399B2 (en) * 2017-05-05 2020-04-21 Dell Products, L.P. Testing distributed applications that have an established exchange in an advanced message queuing protocol (AMQP) message broker
WO2018229153A1 (en) * 2017-06-16 2018-12-20 Amadeus S.A.S. Cross-cluster service provision
US11128530B2 (en) 2018-03-29 2021-09-21 Hewlett Packard Enterprise Development Lp Container cluster management
US10848552B2 (en) * 2018-03-29 2020-11-24 Hewlett Packard Enterprise Development Lp Determining whether to perform address translation to forward a service request or deny a service request based on blocked service attributes in an IP table in a container-based computing cluster management system
CN110611687A (en) * 2018-06-15 2019-12-24 武汉安天信息技术有限责任公司 Remote procedure call implementation method based on Redis and related device
CN109639752B (en) * 2018-10-23 2022-07-19 深圳壹账通智能科技有限公司 Method and device for scheduling agent, computer equipment and storage medium
EP3702856B1 (en) * 2019-03-01 2024-05-29 ABB Schweiz AG Network centric process control
US11095644B2 (en) 2019-06-04 2021-08-17 Bank Of America Corporation Monitoring security configurations of cloud-based services
CN111045802B (en) * 2019-11-22 2024-01-26 中国联合网络通信集团有限公司 Redis cluster component scheduling system and method and platform equipment
CN111708704B (en) * 2020-06-19 2024-05-17 腾讯科技(深圳)有限公司 Cloud real machine testing method, device, terminal and storage medium
TWI810719B (en) * 2021-11-22 2023-08-01 群聯電子股份有限公司 Memory management method, memory storage device and memory control circuit unit
CN114115739B (en) * 2021-11-25 2023-11-07 群联电子股份有限公司 Memory management method, memory storage device and memory control circuit unit
KR20240002425A (en) * 2022-06-29 2024-01-05 쿠팡 주식회사 Method and apparatus for providing information

Family Cites Families (103)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06259262A (en) 1993-03-08 1994-09-16 Fujitsu Ltd Method and device for processing compiler for setting branch probability
US6026362A (en) 1995-09-11 2000-02-15 Compaq Computer Corporation Tool and method for diagnosing and correcting errors in a computer program
US6148323A (en) * 1995-12-29 2000-11-14 Hewlett-Packard Company System and method for managing the execution of system management
US6115462A (en) 1998-01-09 2000-09-05 Gte Laboratories Incorporated Method and apparatus for efficient call routing
US6351843B1 (en) 1998-08-31 2002-02-26 International Business Machines Corporation Dynamically inserting a function into an application executable at runtime
US6230312B1 (en) 1998-10-02 2001-05-08 Microsoft Corporation Automatic detection of per-unit location constraints
US6629123B1 (en) 1998-10-02 2003-09-30 Microsoft Corporation Interception of unit creation requests by an automatic distributed partitioning system
US6546553B1 (en) 1998-10-02 2003-04-08 Microsoft Corporation Service installation on a base function and provision of a pass function with a service-free base function semantic
US6381735B1 (en) 1998-10-02 2002-04-30 Microsoft Corporation Dynamic classification of sections of software
US6499137B1 (en) 1998-10-02 2002-12-24 Microsoft Corporation Reversible load-time dynamic linking
US6681331B1 (en) 1999-05-11 2004-01-20 Cylant, Inc. Dynamic software system intrusion detection
US6477565B1 (en) 1999-06-01 2002-11-05 Yodlee.Com, Inc. Method and apparatus for restructuring of personalized data for transmission from a data network to connected and portable network appliances
US6662356B1 (en) 1999-06-30 2003-12-09 Microsoft Corporation Application program interface for transforming heterogeneous programs
US20040078464A1 (en) 1999-09-16 2004-04-22 Rajan Sreeranga P. Method and apparatus for enabling real time monitoring and notification of data updates for WEB-based data synchronization services
AU2001227857A1 (en) 2000-01-14 2001-07-24 Saba Software, Inc. Method and apparatus for a business applications management system platform
AU2001226401A1 (en) 2000-01-14 2001-07-24 Saba Software, Inc. Method and apparatus for a business applications server
US6996808B1 (en) 2000-02-12 2006-02-07 Microsoft Corporation Function injector
US6718414B1 (en) 2000-03-08 2004-04-06 Intel Corporation Function modification in a write-protected operating system
AU2001261141A1 (en) * 2000-05-02 2001-11-12 Sun Microsystems, Inc. Method and system for achieving high availability in a networked computer system
US9406032B2 (en) 2001-08-21 2016-08-02 Bookit Oy Ajanvarauspalvelu Financial fraud prevention method and system
JP2003143218A (en) 2001-10-31 2003-05-16 Fujitsu Ltd Communication band control system
US6965861B1 (en) 2001-11-20 2005-11-15 Burning Glass Technologies, Llc Method for improving results in an HMM-based segmentation system by incorporating external knowledge
US7454486B2 (en) 2002-07-09 2008-11-18 Microsoft Corporation Profiling and tracing distributed applications
WO2004015570A1 (en) 2002-08-02 2004-02-19 Telefonaktiebolaget Lm Ericsson (Publ) Optimised code generation
US8327436B2 (en) * 2002-10-25 2012-12-04 Randle William M Infrastructure architecture for secure network management with peer to peer functionality
US7353507B2 (en) 2002-10-30 2008-04-01 Hewlett-Packard Development, L.P. Intercepting function cells
US8561069B2 (en) * 2002-12-19 2013-10-15 Fujitsu Limited Task computing
US20040139194A1 (en) * 2003-01-10 2004-07-15 Narayani Naganathan System and method of measuring and monitoring network services availablility
US20040154010A1 (en) 2003-01-31 2004-08-05 Pedro Marcuello Control-quasi-independent-points guided speculative multithreading
US7356443B2 (en) * 2003-12-17 2008-04-08 Agilent Technologies, Inc. Systems and methods for analyzing the selection of measurements of a communication network
US7574511B2 (en) 2004-03-12 2009-08-11 Merrill Lynch & Company, Inc. Methods, systems, and software for providing service integration framework
US7069180B1 (en) * 2004-05-11 2006-06-27 Cisco Technology, Inc. Method and apparatus for availability measurement of complex networks
US7991764B2 (en) * 2005-07-22 2011-08-02 Yogesh Chunilal Rathod Method and system for communication, publishing, searching, sharing and dynamically providing a journal feed
US20070027974A1 (en) * 2005-08-01 2007-02-01 Microsoft Corporation Online service monitoring
US8429630B2 (en) * 2005-09-15 2013-04-23 Ca, Inc. Globally distributed utility computing cloud
US7840618B2 (en) 2006-01-03 2010-11-23 Nec Laboratories America, Inc. Wide area networked file system
US7539907B1 (en) * 2006-05-05 2009-05-26 Sun Microsystems, Inc. Method and apparatus for determining a predicted failure rate
US8261244B2 (en) 2006-06-02 2012-09-04 Microsoft Corporation Arbitrary runtime function call tracing
US8743703B2 (en) * 2006-08-22 2014-06-03 Centurylink Intellectual Property Llc System and method for tracking application resource usage
US8739137B2 (en) 2006-10-19 2014-05-27 Purdue Research Foundation Automatic derivative method for a computer programming language
US7720990B2 (en) * 2007-01-10 2010-05-18 International Business Machines Corporation Method and apparatus for handling service requests in a data processing system
US7940758B2 (en) 2007-03-20 2011-05-10 Avaya Inc. Data distribution in a distributed telecommunications network
GB0710845D0 (en) 2007-06-06 2007-07-18 Crisp Thinking Ltd Communication system
US8819179B2 (en) * 2007-10-09 2014-08-26 Cleversafe, Inc. Data revision synchronization in a dispersed storage network
US8352431B1 (en) 2007-10-31 2013-01-08 Emc Corporation Fine-grain policy-based snapshots
US8326660B2 (en) * 2008-01-07 2012-12-04 International Business Machines Corporation Automated derivation of response time service level objectives
US8280683B2 (en) 2008-07-17 2012-10-02 International Business Machines Corporation Probabilistic framework for the highly efficient correlation of call chains with hardware events
GB0816556D0 (en) 2008-09-10 2008-10-15 Univ Napier Improvements in or relating to digital forensics
US8504504B2 (en) 2008-09-26 2013-08-06 Oracle America, Inc. System and method for distributed denial of service identification and prevention
US7975187B2 (en) * 2008-11-18 2011-07-05 At&T Intellectual Property I, L.P. Method and apparatus for measuring customer impacting failure rate in communication networks
US9270559B2 (en) * 2009-01-28 2016-02-23 Headwater Partners I Llc Service policy implementation for an end-user device having a control application or a proxy agent for routing an application traffic flow
US8689172B2 (en) 2009-03-24 2014-04-01 International Business Machines Corporation Mining sequential patterns in weighted directed graphs
US20100319004A1 (en) * 2009-06-16 2010-12-16 Microsoft Corporation Policy Management for the Cloud
US8074107B2 (en) * 2009-10-26 2011-12-06 Amazon Technologies, Inc. Failover and recovery for replicated data instances
US8676753B2 (en) * 2009-10-26 2014-03-18 Amazon Technologies, Inc. Monitoring of replicated data instances
US8595709B2 (en) 2009-12-10 2013-11-26 Microsoft Corporation Building an application call graph from multiple sources
US8819701B2 (en) 2009-12-12 2014-08-26 Microsoft Corporation Cloud computing monitoring and management system
US9306813B2 (en) * 2009-12-23 2016-04-05 Apple Inc. Efficient service advertisement and discovery in a peer-to-peer networking environment with cooperative advertisement
US8650299B1 (en) 2010-02-03 2014-02-11 Citrix Systems, Inc. Scalable cloud computing
FI20100057A0 (en) * 2010-02-12 2010-02-12 Notava Oy A method and system for creating a virtual device for redirecting data traffic
US8527549B2 (en) 2010-02-22 2013-09-03 Sookasa Inc. Cloud based operating and virtual file system
US8954929B2 (en) 2010-03-29 2015-02-10 Microsoft Corporation Automatically redirecting method calls for unit testing
US20110251937A1 (en) 2010-04-09 2011-10-13 International Business Machines Corporation Software license brokering within a cloud computing environment
US8839209B2 (en) 2010-05-12 2014-09-16 Salesforce.Com, Inc. Software performance profiling in a multi-tenant environment
US8639791B2 (en) 2010-05-20 2014-01-28 Novell, Inc. Techniques for evaluating and managing cloud networks
US9190844B2 (en) 2012-11-04 2015-11-17 Bao Tran Systems and methods for reducing energy usage
US8800055B2 (en) * 2010-10-20 2014-08-05 International Business Machines Corporation Node controller for an endpoint in a cloud computing environment
US8434070B2 (en) 2010-10-26 2013-04-30 International Business Machines Corporation Generating specifications of client-server applications for static analysis
US8488446B1 (en) * 2010-10-27 2013-07-16 Amazon Technologies, Inc. Managing failure behavior for computing nodes of provided computer networks
US9060032B2 (en) * 2010-11-01 2015-06-16 Seven Networks, Inc. Selective data compression by a distributed traffic management system to reduce mobile data traffic and signaling traffic
US20120167057A1 (en) 2010-12-22 2012-06-28 Microsoft Corporation Dynamic instrumentation of software code
US9189308B2 (en) * 2010-12-27 2015-11-17 Microsoft Technology Licensing, Llc Predicting, diagnosing, and recovering from application failures based on resource access patterns
US20120204187A1 (en) * 2011-02-08 2012-08-09 International Business Machines Corporation Hybrid Cloud Workload Management
US8589893B1 (en) 2011-03-22 2013-11-19 Amazon Technologies, Inc. Usage-based program slicing
JP5416156B2 (en) * 2011-03-29 2014-02-12 株式会社日立システムズ Integrated monitoring system and integrated monitoring program
US9329916B2 (en) * 2011-04-07 2016-05-03 Infosys Technologies, Ltd. Method for determining availability of a software application using composite hidden Markov model
US8984030B2 (en) 2011-05-04 2015-03-17 International Business Machines Corporation Journaling and integrity in mobile clouded collaborative spaces
US9251481B2 (en) 2011-06-13 2016-02-02 Accenture Global Services Limited Distributed metering and monitoring system
CA2743849C (en) 2011-06-20 2019-03-05 Ibm Canada Limited - Ibm Canada Limitee Scalable group synthesis
US8612599B2 (en) * 2011-09-07 2013-12-17 Accenture Global Services Limited Cloud service monitoring system
US20140222873A1 (en) * 2011-09-27 2014-08-07 Nec Corporation Information system, management apparatus, method for processing data, data structure, program, and recording medium
US8495197B1 (en) * 2011-09-29 2013-07-23 Amazon Technologies, Inc. Resource pooling and subletting from user to another user
US9519520B2 (en) 2011-10-25 2016-12-13 Viasat, Inc. Federated, policy-driven service meshes for distributed software systems
US8447851B1 (en) * 2011-11-10 2013-05-21 CopperEgg Corporation System for monitoring elastic cloud-based computing systems as a service
US8903893B2 (en) 2011-11-15 2014-12-02 International Business Machines Corporation Diagnostic heartbeating in a distributed data processing environment
AU2012340684A1 (en) * 2011-11-22 2014-07-17 Solano Labs, Inc. System of distributed software quality improvement
US8955114B2 (en) 2011-12-14 2015-02-10 Microsoft Corporation Application monitoring through collective record and replay
US8990635B2 (en) * 2011-12-22 2015-03-24 International Business Machines Corporation Detecting and resolving errors within an application
US9336061B2 (en) * 2012-01-14 2016-05-10 International Business Machines Corporation Integrated metering of service usage for hybrid clouds
US10326708B2 (en) 2012-02-10 2019-06-18 Oracle International Corporation Cloud computing services framework
EP2828753B1 (en) * 2012-03-22 2019-05-08 Triad National Security, LLC Anomaly detection to identify coordinated group attacks in computer networks
US9075912B2 (en) 2012-03-26 2015-07-07 Nec Laboratories America, Inc. Method and system for software system performance diagnosis with kernel event feature guidance
US8943372B2 (en) * 2012-03-30 2015-01-27 International Business Machines Corporation Systems and methods for open and extensible integration of management domains in computation and orchestration of resource placement
US9712887B2 (en) * 2012-04-12 2017-07-18 Arris Canada, Inc. Methods and systems for real-time transmuxing of streaming media content
WO2013158926A1 (en) 2012-04-19 2013-10-24 2Nd Watch, Inc. Cloud computing consolidator billing systems and methods
US9027024B2 (en) * 2012-05-09 2015-05-05 Rackspace Us, Inc. Market-based virtual machine allocation
US9021589B2 (en) 2012-06-05 2015-04-28 Los Alamos National Security, Llc Integrating multiple data sources for malware classification
US8805971B1 (en) 2012-06-15 2014-08-12 Amazon Technologies, Inc. Client-specified schema extensions in cloud computing environments
CN103036974B (en) 2012-12-13 2016-12-21 广东省电信规划设计院有限公司 Cloud computing resource scheduling method based on hidden Markov model and system
US9104525B2 (en) * 2013-01-22 2015-08-11 Microsoft Technology Licensing, Llc API usage pattern mining
US9483334B2 (en) 2013-01-28 2016-11-01 Rackspace Us, Inc. Methods and systems of predictive monitoring of objects in a distributed network system
US9813307B2 (en) * 2013-01-28 2017-11-07 Rackspace Us, Inc. Methods and systems of monitoring failures in a distributed network system
US9135145B2 (en) 2013-01-28 2015-09-15 Rackspace Us, Inc. Methods and systems of distributed tracing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10680913B1 (en) * 2019-02-11 2020-06-09 Hewlett Packard Enterprise Development Lp Error remediation in software as a service (SaaS) portals
US20220345521A1 (en) * 2019-09-19 2022-10-27 Guizhou Baishancloud Technology Co., Ltd. Network edge computing method, apparatus, device and medium
US11863612B2 (en) * 2019-09-19 2024-01-02 Guizhou Baishancloud Technology Co., Ltd. Network edge computing and network edge computation scheduling method, device and medium
US20220300417A1 (en) * 2021-03-19 2022-09-22 Salesforce.Com, Inc. Concurrent computation on data streams using computational graphs

Also Published As

Publication number Publication date
US9813307B2 (en) 2017-11-07
US20140215057A1 (en) 2014-07-31

Similar Documents

Publication Publication Date Title
US20180062942A1 (en) Methods and Systems for Exception Detection and Reporting in a Distributed Network System
US10069690B2 (en) Methods and systems of tracking and verifying records of system change events in a distributed network system
US9483334B2 (en) Methods and systems of predictive monitoring of objects in a distributed network system
US9916232B2 (en) Methods and systems of distributed tracing
AU2018217316B2 (en) Systems and methods for provisioning and managing an elastic computing infrastructure
US9471384B2 (en) Method and system for utilizing spare cloud resources
US9521004B2 (en) Methods and systems of generating a billing feed of a distributed network
US9544289B2 (en) Method and system for identity-based authentication of virtual machines
US20130238785A1 (en) System and Method for Metadata Discovery and Metadata-Aware Scheduling
US20130205028A1 (en) Elastic, Massively Parallel Processing Data Warehouse
CN109478973B (en) SDN controller, system and method for task scheduling, resource distribution and service provision
US10884845B2 (en) Increasing processing capacity of processor cores during initial program load processing
AU2013266420B2 (en) Pluggable allocation in a cloud computing system
US11663015B2 (en) Tracking asynchronous event processing
Jhawar Dependability in cloud computing

Legal Events

Date Code Title Description
AS Assignment

Owner name: RACKSPACE US, INC., TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:WALSH, ALEXANDER LEONARD;SPRAGGINS, DANIEL JOSEPH;SIGNING DATES FROM 20130319 TO 20130522;REEL/FRAME:044856/0988

Owner name: RACKSPACE US, INC., TEXAS

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:VOCCIO, PAUL;DIETZ, MATTHEW CHARLES;REEL/FRAME:044857/0093

Effective date: 20130128

AS Assignment

Owner name: CITIBANK, N.A., NEW YORK

Free format text: SECURITY INTEREST;ASSIGNOR:RACKSPACE US, INC.;REEL/FRAME:045562/0371

Effective date: 20180416

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION