Microservices Architecture

Through the microservice architecture and discovery framework, the problem of flexibility and speed provided by the DPI function in the data center is solved, the efficiency, portability and maintainability of the function are achieved, waiting time is reduced, diverse resources are utilized, and service links are optimized.

CN109144660BActive Publication Date: 2024-10-29INTEL CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810687136.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-06-28
Publication Date
2024-10-29
Estimated Expiration
2038-06-28

AI Technical Summary

Technical Problem

In large data centers, the provision of Deep Packet Inspection (DPI) functionality has flexibility and speed issues, existing virtual machines are under-provisioned, resulting in increased latency and bandwidth, and system programmers struggle to effectively utilize available resources.

Method used

Adopting a microservice architecture, functions are seamlessly encapsulated in wrappers through a microservice discovery framework, automating and streamlining message processes in a highly configurable and scalable manner, and dynamically discovering and allocating hardware and software resources, including FPGA, GPU, CPU, etc. to achieve optimized service linking and load balancing.

Benefits of technology

It improves the portability and maintainability of the data center, reduces waiting time, enables efficient provision of functions, avoids performance bottlenecks, and fully utilizes the capabilities of diverse low-level components.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN109144660B_ABST
    Figure CN109144660B_ABST
Patent Text Reader

Abstract

A computing device includes: a hardware computing platform; and logic for operating on the hardware computing platform, configured to: receive a microservice instance registration for a microservice accelerator, wherein the registration includes a microservice that the microservice accelerator is configured to provide and a microservice connection capability indicating the ability of the microservice instance to communicate directly with other instances of the same or different microservices; and record the registration in a microservice registration database.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates generally to the field of cloud computing and, more particularly, but not exclusively, to systems and methods for a microservices architecture. Background Art

[0002] Contemporary computing practices have moved away from hardware-specific computing and toward "the network is the device." A contemporary network may include a data center that hosts a large number of general-purpose hardware server devices (which are contained in, for example, server racks and controlled by hypervisors). Each hardware device may run one or more instances of a virtual device (e.g., a workload server or a virtual desktop). BRIEF DESCRIPTION OF THE DRAWINGS

[0003] The present disclosure is best understood when the following detailed description is read with respect to the accompanying drawings. It is emphasized that, in accordance with standard practice in the industry, various features are not necessarily drawn to scale and are for illustration purposes only. Where scale is shown explicitly or implicitly, it is merely provided as an illustrative example. In other embodiments, the dimensions of various features may be arbitrarily increased or decreased for clarity of discussion.

[0004] Figure 1 is a network-level diagram of a cloud service provider (CSP) according to one or more examples of the present Specification.

[0005] Figure 2 is a block diagram of a data center according to one or more examples of the present Specification.

[0006] Figure 3 A block diagram illustrating components of a computing platform according to one or more examples of the present Description.

[0007] Figure 4 is a block diagram of a microservices architecture according to one or more examples of the present specification.

[0008] Figure 5 is a flowchart of a method for registering and using a microservice according to one or more examples of the present specification.

[0009] Figure 6 is a block diagram of an initial establishment of a microservice instance according to one or more examples of the present specification.

[0010] Figure 7 According to one or more examples of this specification, it can be considered Figure 6 A block diagram of the extended microservice's operations.

[0011] Figure 8 is a block diagram of a message service link according to one or more examples of the present specification.

[0012] Fig. 9 is a block diagram of service discovery according to one or more examples of the present Specification.

[0013] Fig.10 is a block diagram illustrating message forwarding according to one or more examples of the present Specification.

[0014] Fig.11 is a block diagram of a load balancing engine according to one or more examples of the present specification. DETAILED DESCRIPTION

[0015] The following disclosure provides many different embodiments or examples for implementing the different features of the present disclosure. Specific examples of components and arrangements are described below to simplify the present disclosure. These are undoubtedly examples and are not intended to be limiting. In addition, the present disclosure may repeat reference numbers and / or letters in various examples. This repetition is for the sake of brevity and clarity, rather than essentially specifying the relationship between the various embodiments and / or configurations discussed. Different embodiments may have different advantages, and no particular advantage is required by any embodiment.

[0016] In contemporary data centers, functions previously performed by dedicated logic elements may now be more usefully thought of in terms of logical functions. To provide just one illustrative example, in the context of Network Function Virtualization (NFV), one hop in a service chain may provide deep packet inspection (DPI). As non-limiting examples, other microservices may include encryption, decryption, compression, decompression, IP security (IPsec), accounting functions, and performance trackers.

[0017] In a legacy network environment, example DPI functions may have been performed by a dedicated DPI hardware device whose hardware ingress port is connected to the previous hop in the service chain and whose hardware egress port is connected to the next hop in the service chain.

[0018] Such hard-coded network functions have been replaced in many cases by data centers, where functions like DPI can be provided in several different ways. For example, DPI functions can be executed on software operating in a virtual machine (VM) forming a virtual service device (instances of the virtual service device can be generated on demand). However, in some deployments, even the provisioning of virtual machines on demand may not be sufficient. As data centers become larger and traffic increases, latency and bandwidth become increasingly important, and data center operators may want to avoid service functions becoming performance bottlenecks. Therefore, in many data centers, additional flexibility and speed can be provided by additionally dedicating certain functions.

[0019] For example, instead of preparing VM DPI devices on demand, a data center can provide a resource pool with multiple instances of highly optimized dedicated resources. The advantage of a resource pool is that highly optimized resources can be shared between many different nodes. A resource pool may include, as a non-limiting example, elements such as computing nodes, memories (volatile or non-volatile), storage devices, application specific integrated circuits (ASICs), systems on chips (SoCs), or field programmable gate arrays (FPGAs). Such resources can be allocated to computing nodes (which can be considered as "synthetic nodes") on demand to meet data center needs. Therefore, a resource pool may include multiple pre-prepared devices optimized for specific tasks or a variety of high-capacity resources that can be aggregated into such nodes. Such resource pools can be useful for hosting many different types of accelerators in a data center.

[0020] An example of a resource pool may be a pool of FPGAs. This may be a pool of FPGAs that can be configured and programmed on demand to provide specific functions at hardware or near hardware speeds. Thus, a pool of FPGAs can advantageously provide flexibility similar to that available through software resources, but with speeds similar to hardware resources alone. Thus, returning to the example of a DPI device, an FPGA from a pool of FPGAs may be assigned to a DPI function and configured to provide DPI at very high speeds.

[0021] In cases where even higher speeds are required, real hardware resources may also be provided. These may be, for example, ASICs, which are programmed to provide specific functions at much higher speeds than can be achieved using software.

[0022] A system programmer providing DPI may know at design time which resources are available, and compile the software appropriately. For example, if the system designer knows that a pool of FPGAs is available in a data center, he may compile his software to discover available FPGA instances (e.g., via an organizer), and request that one or more instances of the FPGA be programmed with DPI functionality, and then hand over the actual DPI processing to the prepared FPGA. But the flexible nature of the data center makes it possible to further improve this system even in situations where the designer may not know at design time which resources will ultimately be available in the data center.

[0023] Consider, for example, the case where a system programmer knows at design time that his software is to provide DPI functionality and preferably to provide DPI at the highest speed possible in any given environment, but does not know (and need not know) the specific resources that will implement the DPI functionality.

[0024] It is possible for a data center to have different system resources available, such as GPU arrays, multi-core CPUs, hardware accelerators, FPGAs, virtual appliances, and many others. Any of these may perform the desired function or may play a role in performing the desired function, and it is beneficial for the system software to be able to use the "best available" resource, rather than being tied to one specific resource.

[0025] In some cases, hardware and platform specialization can be detected and balanced at a low level in the software stack. However, this may come at the expense of portability and maintenance of drivers in the underlying hardware. Because applications are required to independently handle the presence or absence of accelerators or other resources, system programmers may become entangled in the details of how to implement a task (e.g., which resources will perform the task) rather than focusing on the task itself.

[0026] The present specification provides systems and methods to alleviate this problem by providing so-called "microservices." Microservices refers to a framework for partitioning functionality in a highly configurable and scalable manner that can seamlessly encapsulate desired functionality in wrappers without requiring system designers to know at design time how or on which resources the functionality will be implemented.

[0027] The systems and methods disclosed herein also address scalability of hardware and software implementations for instances of microservices. Described herein is a framework for implementing discovery of microservices and their capabilities. Portability and maintainability are enhanced because the framework can adapt to capabilities that become available in the future (including across different vendors). The framework can also substantially reduce latency by providing highly optimized service links.

[0028] As an example, the system disclosed herein optimizes the flow of operations across a distributed system built from a variety of low-level components that are accessed via "wrapper" functions rather than being addressed individually. The usefulness of microservices is further enhanced by automating and streamlining the flow of active messages into chains enabled by low-latency microservices. This can eliminate the need for request / response interactions, which introduce significant overhead in many instances.

[0029] As an example, a microservice application programming interface (API) is exposed to the host software. The designer of the host software does not need to understand or care about the implementation details of the services behind the microservice API. Instead, the microservice API provides standardized calls to various capabilities, including the types and formats of inputs and outputs. The microservice API then provides function calls to the microservice driver, which can (possibly in conjunction with an organizer) discover and / or allocate instances of various microservices in different forms, such as hardware accelerators, FPGAs, resource pools, CPUs, GPUs, or local software.

[0030] When instances of microservices or resources with microservice capabilities come online, they can register with a service discovery function (SDF). The SDF can then maintain a catalog of available microservices, which may include mappings for converting standard microservice API calls into API calls that can be used by specific instances of microservices. This architecture enables specialization of certain architectural capabilities, such as "blocks in wire" acceleration, FPGA function sets enabled from processing cores, or purpose-optimized processors with highly specialized software. These can be transparently integrated into the data center as needed.

[0031] When the microservice driver receives a request for a new microservice, it can query the SDF and identify the availability of the microservice instance. It should be noted that this can include not only the availability of the currently running microservice instance, but also the availability of resources that can be prepared to provide microservices. For example, an FPGA may be available, but may not yet be programmed to provide microservices. The SDF directory may include configuration information, such as the gate configuration for programming the FPGA to provide the desired microservice. The microservice driver can query the SDF to determine that the FPGA can be used to implement the microservice function, and can receive appropriate mappings for the function and the gate configuration for the FPGA from the directory. The microservice driver can then program the FPGA with the gate configuration, and once the FPGA is programmed, the microservice driver can begin to forward calls to the FPGA via a standardized microservice API (which maps to the specific interface of that FPGA instance).

[0032] A similar process can be used to provision, for example, a virtual machine or virtual device instance, software running on a CPU or GPU, or to assign a hardware accelerator or ASIC instance to a microservice so that it can be used for that microservice.

[0033] This framework can provide advantages over other solutions, such as the use of middleware to abstract away the details of instance calls. Such middleware can increase latency or overhead, as well as cancel the portability of the solution, while also inhibiting the full expression of hardware capabilities in some cases. In contrast, according to the microservices architecture of the present specification, microservices are dynamically discovered and provisioned as flows, with the opportunity to fully exploit the hardware and / or software capabilities of the microservice instances. The microservice driver handles the translation of generic function calls at the microservice API level to specific and optimized service calls to the microservice instances.

[0034] Therefore, the task logic from the various implementations of the function is isolated from the implementation details. This enables the task to be agnostic to where and how the function is actually executed. As described below, this can also automate the process of processing service chains, because multiple microservice instances of different types can be prepared and linked together into a service chain without the need for each microservice instance to pass the result upstream back to the VM or server. In some cases, this can eliminate many of the business processes required in the request-response framework. Therefore, the preparation of microservices is adaptable and highly optimized, and new microservices and microservice instances can be spread across data centers as accelerator functions.

[0035] Systems and methods for a microservices architecture will now be described with more specific reference to the accompanying drawings. It should be noted that throughout the drawings, certain reference numerals may be repeated to indicate that a specific device or block is completely or substantially consistent across the drawings. However, this is not intended to imply any specific relationship between the various disclosed embodiments. In some examples, a class of elements may be referred to by a specific reference numeral ("widget 10"), while individual species or examples of the class may be referred to by hyphenated numbers ("first specific widget 10-1" and "second specific widget 10-2").

[0036] Figure 1 1 is a network-level diagram of a network 100 of a cloud service provider (CSP) 102 according to one or more examples of the present specification. As non-limiting examples, CSP 102 may be a traditional enterprise data center, an enterprise "private cloud," or a "public cloud" providing services such as Infrastructure as a Service (IaaS), Platform as a Service (PaaS), or Software as a Service (SaaS).

[0037] CSP 102 can provision a number of workload clusters 118, which can be clusters of individual servers, blade servers, rack-mounted servers, or any other suitable server topology. In this illustrative example, two workload clusters 118-1 and 118-2 are shown, each providing a rack-mounted server 146 in a chassis 148.

[0038] Each server 146 may host an independent operating system and provide server functionality, or the servers may be virtualized, in which case they may be under the control of a virtual machine manager (VMM), hypervisor, and / or organizer, and may host one or more virtual machines, virtual servers, or virtual appliances. These server racks may be collocated in a single data center, or may be located in data centers in different geographic locations. Depending on the contract, some servers 146 may be specifically dedicated to certain enterprise customers or tenants, while other servers may be shared.

[0039] The various devices in the data center may be interconnected via a switch fabric 170, which may include one or more high-speed routing and / or switching devices. The switch fabric 170 may provide "north-south" traffic (e.g., traffic to and from a wide area network (WAN) such as the Internet) as well as "east-west" traffic (e.g., traffic across data centers). Historically, north-south traffic accounted for the majority of network traffic, but as World Wide Web services have become more complex and distributed, east-west traffic has increased. In many data centers, east-west traffic now accounts for the majority of traffic.

[0040] In addition, the amount of traffic can be further increased as the capacity of each server 146 increases. For example, each server 146 can provide multiple processor sockets, where each socket accepts a processor with four to eight cores along with sufficient memory for the cores. Therefore, each server can host a large number of VMs, each VM generating its own traffic.

[0041] In order to accommodate the large number of services in the data center, a high-capacity switching fabric 170 may be provided. The switching fabric 170 is shown in this example as a "flat" network, where each server 146 may have a direct connection to a top-of-rack (ToR) switch 120 (e.g., a "star" configuration), and each ToR switch 120 is coupled to a core switch 130. This two-layer flat network architecture is shown only as an illustrative example. In other examples, other architectures may be used, such as a three-layer star or leaf-spine (also known as a "fat tree" topology), a hub-and-spoke topology, a mesh topology, a ring topology, or a 3-D mesh topology based on a "Clos" architecture, as non-limiting examples.

[0042] The fabric itself may be provided by any suitable interconnect. For example, each server 146 may include a fabric interface, such as an Intel® host fabric interface (HFI), a network interface card (NIC), or another host interface. The host interface itself may be coupled to one or more processors via an interconnect or bus (such as PCI, PCIe, etc.), and in some cases, this interconnect bus may be considered to be an integral part of the fabric 170.

[0043] The interconnect technology may be provided by a single interconnect or a hybrid interconnect, such that where PCIe provides on-chip communications, 1Gb or 10Gb copper Ethernet provides a relatively short connection to the ToR switch 120 and optical cables provide a relatively longer connection to the core switch 130. Interconnect technologies include, as non-limiting examples, Intel® OmniPath TM 、TrueScale TM, Ultra Path Interconnect (UPI) (formerly QPI or KTI), STL, FibreChannel, Ethernet, FibreChannel over Ethernet (FCoE), InfiniBand, PCI, PCIe, or Fiber Optics, to name a few. Some of these technologies will be better suited to certain deployments or functions than others, and it is the technician's responsibility to select the appropriate fabric for the application at hand.

[0044] However, note that although OmniPath TM The high-level architecture of is provided herein as an illustration, but more generally, the architecture 170 can be any suitable interconnect or bus for a particular application. In some cases, this can include legacy interconnects like local area networks (LANs), token ring networks, synchronous optical networks (SONET), asynchronous transfer mode (ATM) networks, wireless networks (e.g., WiFi and Bluetooth), "plain old telephone system" (POTS) interconnects, or the like. It is also expressly contemplated that in the future, new network technologies will emerge to supplement or replace some of those listed here, and any such future network topologies and technologies can be or form part of the architecture 170.

[0045] In certain embodiments, fabric 170 may provide communication services at various "layers" as originally outlined in the OSI seven-layer network model. In contemporary practice, the OSI model is not strictly adhered to. In general, layers 1 and 2 are often referred to as "Ethernet" layers (although in large data centers, Ethernet is often replaced by newer technologies). Layers 3 and 4 are often referred to as Transmission Control Protocol / Internet Protocol (TCP / IP) layers (which may be further subdivided into TCP and IP layers). Layers 5-7 may be referred to as "application layers". These layer definitions are disclosed as a useful framework and are not intended to be limiting.

[0046] Figure 2 is a block diagram of a data center 200 according to one or more examples of the present specification. In various embodiments, the data center 200 may be a Figure 1 The data center 100 may be the same data center, or may be a different data center. Additional views are in Figure 2 is provided to illustrate different aspects of the data center 200 .

[0047] The data center 200 may be controlled by an organizer 260. The organizer 260 may provide, for example, software defined networking (SDN), network function virtualization (NFV), virtual machine management, and similar services on the data center 200. The organizer 260 may be a standalone device with its own memory, storage, fabric interfaces, and one or more dedicated processors. In another example, the organizer 260 itself may be a virtual machine or virtual appliance. The organizer 260 may have a global view of the data center 200 and may have the ability to manage and configure multiple services, such as dynamically allocating tenants, domains, services, service chains, virtual machines, virtual switches, and workload servers as needed to meet current needs.

[0048] In this example, a structure 270 is provided to interconnect various aspects of the data center 200. The structure 270 may be used with Figure 1 The structure 270 may be the same as the structure 170 of , or may be a different structure. As above, the structure 270 may be provided by any suitable interconnect technology. In this example, Intel® OmniPath TM are used as illustrative and non-limiting examples.

[0049] As shown, data center 200 includes multiple logical elements, which form multiple nodes. It should be understood that each node can be provided by a physical server, a group of servers, or other hardware. Each server can be running one or more virtual machines suitable for its application.

[0050] Node 0 208 is a processing node that includes processor socket 0 and processor socket 1. The processor may be, for example, an Intel® Xeon processor with multiple cores (eg, 4 or 8 cores). TM Node 0 208 may be configured to provide network or workload functionality, such as by hosting multiple virtual machines or virtual appliances.

[0051] Onboard communication between processor socket 0 and processor socket 1 may be provided via an onboard uplink 278. This may provide a very high speed, short reach interconnect between the two processor sockets, enabling virtual machines running on node 0 208 to communicate with each other at very high speeds. To facilitate this communication, a virtual switch (vSwitch) may be provisioned on node 0 208, which may be considered part of fabric 270.

[0052] Node 0 208 is connected to fabric 270 via fabric interface 272. Fabric interface 272 may be any suitable fabric interface as described above, and in this specific illustrative example, may be a fabric interface for connecting to Intel® OmniPath TMIn some examples, communications with fabric 270 may be tunneled, such as by providing UPI tunneling through OmniPath™.

[0053] Because the data center 200 can provide many functions in a distributed manner (which were provided on-board in previous generations), a high-capacity fabric interface 272 can be provided. The fabric interface 272 can operate at speeds of several gigabits per second and can be tightly coupled with the node 0 208 in some cases. For example, in some embodiments, the logic for the fabric interface 272 is directly integrated with the processor on the chip system. This provides ultra-high-speed communication between the fabric interface 272 and the processor socket without the need for an intermediate bus device (which can introduce additional latency into the fabric). However, this does not imply that embodiments in which the fabric interface 272 is provided through a traditional bus are excluded. Instead, it is clearly expected that in some examples, the fabric interface 272 can be provided on a bus (such as a PCIe bus, which is a serialized version of PCI and provides a higher speed than traditional PCI). Throughout the data center 200, various nodes may provide different types of fabric interfaces 272, such as on-board fabric interfaces and plug-in fabric interfaces. It should also be noted that certain blocks in the chip system may be provided as intellectual property (IP) blocks, which are put into an integrated circuit as modular units. Thus, fabric interface 272 may in some cases be derived from such IP blocks.

[0054] It should be noted that in a "network as a device" approach, Node 0 208 may provide limited or no onboard memory or storage. More specifically, Node 0 208 may rely primarily on distributed services, such as memory servers and network storage servers. On board, Node 0 208 may only provide enough memory and storage to boot the device and communicate with the structure 270. This distributed architecture is possible due to the ultra-high speed of contemporary data centers, and can be advantageous because resources do not need to be over-prepared for each node. More specifically, a large pool of high-speed or dedicated memory can be dynamically prepared between multiple nodes so that each node can access a large pool of resources, but those resources will not be idle when that specific node does not need them.

[0055] In this example, the node 1 memory server 204 and the node 2 memory server 210 provide the operating memory and storage capabilities of the node 0 208. For example, the memory server node 1 204 may provide remote direct memory access (RDMA), whereby the node 0 208 may access the memory resources on the node 1 204 via the fabric 270 in a DMA manner, similar to how it would otherwise access its own onboard memory. The memory provided by the memory server 204 may be conventional memory, such as double data rate type 3 (DDR3) dynamic random access memory (DRAM), which is volatile, or may be a more exotic type of memory, such as persistent fast memory (PFM) (like Intel® 3D Crosspoint TM (3DXP)), which operates at DRAM-like speeds but is non-volatile.

[0056] Similarly, instead of providing an onboard hard disk for Node0 208, a storage server node2 210 may be provided. The storage server 210 may provide a networked bunch of disks (NBOD), PFM, redundant array of independent disks (RAID), redundant array of independent nodes (RAIN), network attached storage (NAS), optical storage, tape drives, or other non-volatile memory solutions.

[0057] Thus, in performing its designated functions, NodeO 208 may access memory from memory server 204 and store the results on storage devices provided by storage server 210. Each of these devices is coupled to fabric 270 via fabric interface 272, which provides fast communications that make these techniques possible.

[0058] As further illustration, node 3 206 is also shown. Node 3 206 also includes a fabric interface 272, along with two processor sockets that are internally connected via an uplink. However, unlike node 0 208, node 3 206 includes its own onboard memory 222 and storage 250. Therefore, node 3 206 may be configured to perform its functions primarily on board, and may not be required to rely on memory servers 204 and storage servers 210. However, where appropriate, node 3 206 may employ distributed resources similar to node 0 208 to supplement its own onboard memory 222 and storage 250.

[0059] The basic building blocks of the various components disclosed herein may be referred to as "logic elements". Logic elements may include hardware (including, for example, a software programmable processor, ASIC, or FPGA), external hardware (digital, analog, or mixed signal), software, reciprocating software, services, drivers, interfaces, components, modules, algorithms, sensors, components, firmware, microcode, programmable logic, or objects that can be coordinated to perform logical operations. In addition, some logic elements are provided by tangible non-transitory computer-readable media (on which executable instructions are stored to instruct the processor to perform a task). Such non-transitory media may include, for example, hard disks, solid-state memories or disks, read-only memories (ROMs), permanent fast memory (RFMs) (e.g., Intel® 3D Crosspoint TM ), external storage, redundant array of independent disks (RAID), redundant array of independent nodes (RAIN), network attached storage (NAS), optical storage, tape drives, backup systems, cloud storage, or any combination thereof. Such media may also include instructions programmed into an FPGA or encoded in hardware on an ASIC or processor.

[0060] Figure 3 A block diagram of components of a computing platform 302A according to one or more examples of the present specification is shown. In the depicted embodiment, platforms 302A, 302B, and 302C are interconnected via a network 308 along with a data center management platform 306 and a data analysis engine 304. In other embodiments, the computer system may include any suitable number (i.e., one or more) of platforms. In some embodiments (e.g., when the computer system includes only a single platform), all or a portion of the system management platform 306 may be included on the platform 302. The platform 302 may include platform logic 310 having one or more central processing units (CPUs) 312, memory 314 (which may include any number of different modules), a chipset 316, a communication interface 318, and any other suitable hardware and / or software to execute a hypervisor 320 or other operating system capable of executing workloads associated with applications running on the platform 302. In some embodiments, the platform 302 may be used as a host platform for one or more client systems 322 that enable these applications. Platform 302A may represent any suitable computing environment, such as a high performance computing environment, a data center, a communications service provider infrastructure (e.g., one or more portions of an Evolved Packet Core), an in-memory computing environment, a computing system in a vehicle (e.g., an automobile or an aircraft), an Internet of Things environment, an industrial control system, other computing environments, or combinations thereof.

[0061] In various embodiments of the present disclosure, the accumulated stress and / or the rate of accumulated stress of multiple hardware resources (e.g., cores and non-cores) are monitored, and entities of the computer platform 302A (e.g., system management platform 306, hypervisor 320, or other operating system) can assign hardware resources of the platform logic 310 to perform workloads according to the stress information. In some embodiments, self-diagnostic capabilities can be combined with stress monitoring to more accurately determine the health of hardware resources. Each platform 302 may include platform logic 310. The platform logic 310, together with other logic that enables the functionality of the platform 302, includes one or more CPUs 312, memory 314, one or more chipsets 316, and a communication interface 328. Although three platforms are shown, the computer platform 302A can be interconnected with any suitable number of platforms. In various embodiments, the platform 302 may reside on a circuit board that is mounted in a chassis, a rack, or another suitable structure, which includes multiple platforms coupled together by a network 308 (which may include, for example, a rack or chassis switch).

[0062] The CPUs 312 may each include any suitable number of processor cores and support logic (e.g., non-cores). The cores may be coupled to each other, to memory 314, to at least one chipset 316, and / or to a communication interface 318 via one or more controllers resident in the CPU 312 and / or chipset 316. In a particular embodiment, the CPUs 312 are implemented in a socket that is permanently or removably coupled to the platform 302A. Although four CPUs are shown, the platform 302 may include any suitable number of CPUs.

[0063] Memory 314 may include any form of volatile or non-volatile memory, including but not limited to magnetic media (e.g., one or more tape drives), optical media, random access memory (RAM), read-only memory (ROM), flash memory, removable media, or any other suitable local or remote memory component or components. Memory 314 may be used by platform 302A for short-term, medium-term, and / or long-term storage. Memory 314 may store any suitable data or information utilized by platform logic 310, including software embedded in computer-readable media and / or encoded logic incorporated in hardware or otherwise stored (e.g., firmware). Memory 314 may store data used by the core of CPU 312. In some embodiments, memory 314 may also include storage for instructions that may be executed by the core of CPU 312 or other processing elements (e.g., logic residing in chipset 316) to provide functionality associated with manageability engine 326 or other components of platform logic 310. Platform 302 may also include one or more chipsets 316, which include any suitable logic to support the operation of CPU 312. In various embodiments, the chipset 316 may reside on the same die or package as the CPU 312, or on one or more different dies or packages. Each chipset may support any suitable number of CPUs 312. The chipset 316 may also include one or more controllers to couple other components of the platform logic 310 (e.g., the communication interface 318 or the memory 314) to the one or more CPUs. In the depicted embodiment, each chipset 316 also includes a manageability engine 326. The manageability engine 326 may include any suitable logic to support the operation of the chipset 316. In a specific embodiment, the manageability engine 326 (which may also be referred to as an innovation engine) is capable of collecting real-time telemetry data from the chipset 316, the CPU 312 and / or the memory 314 managed by the chipset 316, other components of the platform logic 310, and / or various connections between components of the platform logic 310. In various embodiments, the collected telemetry data includes pressure information as described herein.

[0064] In various embodiments, manageability engine 326 operates as an out-of-band asynchronous computing agent that is capable of interfacing with various elements of platform logic 310 to collect telemetry data with no or minimal disruption to running processes on CPU 312. For example, manageability engine 326 may include a dedicated processing element (e.g., a processor, a controller, or another logic) on chipset 316 that provides the functionality of manageability engine 326 (e.g., by executing software instructions), thereby preserving processing cycles of CPU 312 for operations associated with the workload performed by platform logic 310. Furthermore, dedicated logic for manageability engine 326 may operate asynchronously with respect to CPU 312 and may collect at least some of the telemetry data without increasing the load on the CPU.

[0065] The manageability engine 326 may process the telemetry data it collects (specific examples of the processing of stress information are provided herein). In various embodiments, the manageability engine 326 reports the data it collects and / or the results of its processing to other elements in the computer system, such as one or more hypervisors 320 or other operating systems and / or system management software (which may run on any suitable logic, such as the system management platform 306). In particular embodiments, critical events, such as a core that has accumulated excessive stress, may be reported in advance of the normal interval for reporting telemetry data (e.g., a notification may be sent immediately upon detection).

[0066] Additionally, manageability engine 326 may include programmable code that may be configured to set which CPU(s) 312 a particular chipset 316 will manage and / or which telemetry data will be collected.

[0067] Each of the chipsets 316 also includes a communication interface 328. The communication interface 328 can be used for communication of signaling and / or data between the chipset 316 and one or more I / O devices, one or more networks 308, and / or one or more devices coupled to the network 308 (e.g., the system management platform 306). For example, the communication interface 328 can be used to send and receive network services, such as data packets. In a specific embodiment, the communication interface 328 includes one or more physical network interface controllers (NICs), also known as network interface cards or network adapters. The NIC may include electronic circuits for communicating using any suitable physical layer and data link layer standards (e.g., Ethernet (e.g., as defined by the IEEE 802.3 standard), Fibre Channel, InfiniBand, Wi-Fi, or another suitable standard). The NIC may include one or more physical ports that can be coupled to a cable (e.g., an Ethernet cable). The NIC may be capable of enabling communication between any suitable element of the chipset 316 (e.g., the manageability engine 326 or the switch 330) and another device coupled to the network 308. In various embodiments, the NIC may be integrated with the chipset (ie, may be on the same integrated circuit or circuit board as the rest of the chipset logic), or may be electromechanically coupled to a different integrated circuit or circuit board of the chipset.

[0068] In particular embodiments, the communication interface 328 may allow for the transfer of data associated with management and monitoring functions performed by the manageability engine 326 (e.g., between the manageability engine 326 and the data center management platform 306). In various embodiments, the manageability engine 326 may utilize elements (e.g., one or more NICs) of the communication interface 328 to report telemetry data (e.g., to the system management platform 306) in order to reserve the use of the NICs of the communication interface 318 for operations associated with workloads performed by the platform logic 310.

[0069] Switch 330 may be coupled to various ports of communication interface 328 (e.g., provided by a NIC) and may exchange data between these ports and various components of chipset 316 (e.g., one or more peripheral component interconnect express (PCIe) lanes coupled to CPU 312). Switch 330 may be a physical or virtual (i.e., software) switch.

[0070] The platform logic 310 may include an additional communication interface 318. Similar to the communication interface 328, the communication interface 318 may be used for communication of signaling and / or data between the platform logic 310 and one or more networks 308 and one or more devices coupled to the network 308. For example, the communication interface 318 may be used to send and receive network traffic, such as data packets. In a particular embodiment, the communication interface 318 includes one or more physical NICs. These NICs may be capable of enabling communication between any suitable element of the platform logic 310 (e.g., the CPU 512 or the memory 514) and another device coupled to the network 308 (e.g., an element of another platform or a remote computing device coupled to the network 308 via one or more networks).

[0071] The platform logic 310 may receive and execute any suitable type of workload. The workload may include any request to utilize one or more resources (e.g., one or more cores or associated logic) of the platform logic 310. For example, the workload may include: a request to instantiate a software component (such as an I / O device driver 324 or a client system 322); a request to process a network packet received from a virtual machine 332 or a device external to the platform 302A (e.g., a network node coupled to the network 308); a request to execute a process or thread associated with the client system 322, an application running on the platform 302A, the hypervisor 320, or another operating system running on the platform 302A; or other suitable processing requests.

[0072] The virtual machine 332 may emulate a computer system through its own dedicated hardware. The virtual machine 332 may run a guest operating system on top of the hypervisor 320. The components of the platform logic 310 (e.g., CPU 312, memory 314, chipset 316, and communication interface 318) may be virtualized so that it appears to the guest operating system that the virtual machine 332 has its own dedicated components.

[0073] A virtual machine 332 may include a virtualized NIC (vNIC), which is used by the virtual machine as its network interface. A vNIC may be assigned a media access control (MAC) address or another identifier, thereby allowing multiple virtual machines 332 to be individually addressable in a network.

[0074] VNF 334 may include a software implementation of functional building blocks that can be deployed in a virtualized infrastructure with defined interfaces and behaviors. In a specific embodiment, VNF 334 may include one or more virtual machines 332 that together provide specific functionality (e.g., wide area network (WAN) optimization, virtual private network (VPN) termination, firewall operation, load balancing operation, security functions, etc.). VNF 334 running on platform logic 310 may provide the same functionality as traditional network components implemented by dedicated hardware. For example, VNF 334 may include components for executing any suitable NFV workload, such as virtualized evolved packet core (vEPC) components, mobile management entities, third generation partnership project (3GPP) control and data plane components, etc.

[0075] SFC 336 is a group of VNF 334 organized as a chain to perform a series of operations, such as network packet processing operations. Service function chaining can provide the ability to define an ordered list of network services (e.g., firewall, load balancer) that are stitched together in the network to create a service chain.

[0076] Hypervisor 320 (also known as a virtual machine monitor) may include logic for creating and running guest systems 322. Hypervisor 320 may provide a virtual operating platform for guest operating systems run by virtual machines (i.e., they appear to the virtual machines to be running on separate physical nodes when they are actually merged onto a single hardware platform), and manage the execution of guest operating systems by platform logic 310. The services of hypervisor 320 may be provided by virtualization in software or through hardware-assisted resources (which require minimal software intervention), or both. Multiple instances of multiple guest operating systems may be managed by hypervisor 320. Each platform 302 may have an independent instantiation of hypervisor 320.

[0077] Hypervisor 320 may be a native or bare metal hypervisor that runs directly on platform logic 310 to control the platform logic and manage client operating systems. Alternatively, hypervisor 320 may be a hosted hypervisor that runs on a host operating system and abstracts the client operating system from the host operating system. Hypervisor 320 may include a virtual switch 338 that may provide virtual switching and / or routing functions to the virtual machines of client system 322. Virtual switch 338 may include a logical switching fabric that couples the vNICs of virtual machines 332 to each other, thereby creating a virtual network through which the virtual machines may communicate with each other.

[0078] Virtual switch 338 may include software elements that are executed using components of platform logic 310. In various embodiments, hypervisor 320 may communicate with any suitable entity (e.g., an SDN controller) that may cause hypervisor 320 to reconfigure parameters of virtual switch 338 in response to changing conditions in platform 302 (e.g., the addition or removal of virtual machines 332 or identification of optimizations that may be made to enhance the performance of the platform).

[0079] Hypervisor 320 may also include resource allocation logic 344, which may include logic for determining allocation of platform resources based on telemetry data (which may include stress information). Resource allocation logic 344 may also include logic for communicating with various components of the platform logic 310 entity of platform 302A (e.g., components of platform logic 310) to achieve such optimization.

[0080] Any suitable logic may make one or more of these optimization decisions. For example, the system management platform 306; the resource allocation logic 344 of the hypervisor 320 or another operating system; or another logic of the computer platform 302A may be able to make such decisions. In various embodiments, the system management platform 306 may receive telemetry data from multiple platforms 302 and manage workload placement across the multiple platforms 302. The system management platform 306 may communicate with the hypervisors 320 (e.g., in an out-of-band manner) or other operating systems of the various platforms 302 to implement the workload placement directed by the system management platform.

[0081] The elements of platform logic 310 may be coupled together in any suitable manner. For example, a bus may couple any of the components together. The bus may include any known interconnect, such as a multi-drop bus, a mesh interconnect, a ring interconnect, a point-to-point interconnect, a serial interconnect, a parallel bus, a coherent (e.g., cache coherent) bus, a layered protocol architecture, a differential bus, or a radio transceiver logic (GTL) bus.

[0082] The elements of computer platform 302A may be coupled together in any suitable manner, such as through one or more networks 308. Network 308 may be any suitable network or combination of one or more networks operating using one or more suitable network protocols. A network may represent a series of nodes, points, and interconnected communication paths for receiving and transmitting information packets that propagate through a communication system. For example, a network may include one or more firewalls, routers, switches, security devices, antivirus servers, or other useful network devices.

[0083] Figure 4400 is a block diagram of a microservice architecture according to one or more examples of the present specification. In this case, the microservice architecture 400 includes host software 404 running on a computing node in a data center, which may include a VM hosted on a hardware platform. The host software 404 may require access to various resources such as non-volatile storage, persistent fast memory, FPGAs, and other suitable services. In the illustrative example, the microservice architecture 400 provides security functions such as for non-repudiation of the structure flowing through the microservices to provide evidence of the integrity or origin of the data.

[0084] In an example, host software 404 may need to flow fabric traffic through a microservice to encrypt and sign the traffic, and then DMA (direct memory access) it into persistent memory just before forwarding it to the next hop.

[0085] In this example, multiple microservice accelerators 415 are available, including local software 430, resource pool 424, FPGA (or FPGA pool) 420, and hardware accelerator 416. It should be noted that the microservice accelerator 415 disclosed herein is provided only as a non-limiting example, and the hardware accelerator 415 may also include any other device or function configured to provide microservices.

[0086] The local software 430 may be software that runs under the same operating system as the software 404. In other words, the local software 430 may be a subroutine or module that runs on the same platform hardware as the host software 404.

[0087] Resource pool 424 may be a resource pool, such as may be provided on a computing sled or in a computing rack, where a large number of identical or nearly identical resources are dynamically provided and provisioned to other nodes in the data center. This may include memory servers, including PFM servers, storage servers, or various accelerators or other resources.

[0088] An FPGA pool 420 is also available, with multiple FPGAs that can be dynamically provisioned and programmed to perform the desired microservice functions.

[0089] A hardware accelerator 416 may also be provided. The hardware accelerator 416 may include an ASIC, SoC, or other specialized hardware that performs functions at super-speed relative to software.

[0090] When each resource comes online, it may register with a service discovery function (SDF) 440. The SDF 400 may be a separate VM running in a data center or may be a member of an organizer (e.g., Figure 2 Modules or functions of the organizer 260).

[0091] For example, a local software module 430 may come online and register with SDF 440. This registration may include the capabilities of the functionality (in this case, providing encryption and signing for endorsement). It may include the nature of the instance and how it is implemented (e.g., in software running on a quad-core Intel® Xeon™ processor with two cores available for dedicated encryption and signing functions). It may also register with SDF 440 details of how each function call should be formatted for intercommunication with local software 430.

[0092] Similarly, resource pool 424, FPGA 420, and hardware accelerator 416 may also register their capabilities with SDF 440. SDF 440 stores all of these in directory 448. Note that, for example, in the case of FPGA 420, the registration with SDF 440 may include not only the capability of FPGA 420 to perform encryption and signing, but also the gate configuration used to configure the logic for FPGA 420 to perform the functions and the mapping of pins or ports to input and output functions.

[0093] In this example, local software 430, resource pool 424, FPGA pool 420, and hardware accelerator 416 may all provide (or may be configured to provide) the same or nearly the same functionality, such as an endorsement microservice requiring encryption and signing.

[0094] Taking accreditation as an example, the host software 404 may simply perform encryption and signing on board via its own software stack. However, this may be computationally inefficient and resource intensive, and may make the service a bottleneck in network flow. Offloading functionality to an accelerator may be more efficient, faster, and may ensure that packets pass through the data center more smoothly. However, at design time, the programmer of the host software 404 may not know which accreditation acceleration capabilities will be available.

[0095] Thus, to increase the efficiency of host software 404, instead of calling its own native subroutines or trying to anticipate the exact resources that will be available in the data center, host software 404 may issue calls to microservices API 408 (which may be a unified "cloud-friendly" API). Instead of targeting a specific platform or device, calls to microservices API 408 may be formatted according to a standardized form (e.g., a single "Service.Nonrepudiation([parameters])" method call) that is unified across resource instances. This may sandwich the dynamic dispatch and binding of functionality behind microservices API 408, and allow microservices to be accessed through unified addressing. Through an ontological cataloging of properties, some functionality in catalog 448 may be selected, or selection may be assisted.

[0096] The microservice API 408 communicates with the microservice driver 412, which queries the SDF 440 to identify the best available microservice instance for performing the approved function. The identification of the best available instance may include such factors as the priority of the host software 404 in the entire data center, the load on the existing instances of the microservice function, the relative speed of the instances, and any other factors that can be used to optimize the overall function of the data center.

[0097] For example, consider a situation where the hardware accelerator 416 provides the fastest processing for encryption and signing functions. This can be because the hardware accelerator 416 is fully implemented in hardware and is therefore very fast. However, other nodes in the data center may already be using instances of the hardware accelerator 416 at or near their optimal capacity. Therefore, introducing new processes into the hardware accelerator 416 instead of optimizing data center resources can actually become an additional burden on data center resources. In turn, the microservice driver 412 communicating with the SDF 440 can identify the FPGA pool 420 as the best available resource for implementing encryption and signing microservices. Therefore, instead of applying an additional burden on the hardware accelerator 416, the microservice driver 412 can receive the gate configuration for allocating one or more FPGAs in the FPGA pool 420 to implement encryption and signing functions from the SDF 440 via the directory 448. However, it should be noted that the microservice driver 412 may not be an agent that actually implements the programming of the FPGA. That function can be assigned to dedicated hardware, and the instructions for implementing the programming can come from the microservice driver 412, from the organizer, or from any other device configured to implement FPGA programming. Once one or more FPGAs have been allocated and programmed, they may continue to operate on processes entering the host software 404 until the microservice landscape of the system changes and there is a need to reallocate microservice instances.

[0098] Note that in this example, the microservice driver 412 not only prepares the service, but also the process associated with the service. This ability to dynamically define the flow of messages leads to the concept of chaining, which has the beneficial effect of pipelined activation of multiple microservices and thus reduces latency accumulation. Instead of the application waiting for the completion of the activation of the function, the microservices can be simply chained together in a single process.

[0099] For example, if a service chain is defined (where an incoming packet is first decrypted and its signature is verified), and then the packet is subjected to DPI, the microservice driver 412 may not only provision instances of the decapsulation and signing microservices, but also provision instances of the DPI microservice. These instances are provisioned so that when the decapsulation and signature checking functions are completed, the results do not need to be passed back to the host software 404 to then enable an instance of DPI via the microservice API 408. Instead, when the microservice driver 412 provisions both services, it can create an interface between them so that once the decryption microservice completes decrypting the packet, it can provide the decrypted packet directly to the DPI microservice instance. The DPI microservice instance can then perform its DPI function and send the results back to the host software 404 or forward the packet to the next microservice if there is another microservice in the chain.

[0100] Figure 5 is a flow chart of a method 500 for registering and using a microservice according to one or more examples of the present specification.

[0101] In block 508, a plurality of microservices or resources having microservice capabilities are registered with SDF 540. SDF 540 may store the registered instances in ontology catalog 548.

[0102] In block 504 , the application makes a microservice discovery request for a specific function described in the ontology model. This request is sent to the service discovery module 512 .

[0103] In block 516, the service discovery module performs a catalog lookup via the SDF 540. The SDF 540 provides a list of available microservice instances, including properties of each instance.

[0104] In block 520 , the microservice driver may match the attributes from the catalog 548 to the requirements of the instance service request 504 .

[0105] If sufficient instances are available with sufficient bandwidth, then in block 524 the microservice driver may organize access to the instance, such as providing a new endpoint uniform resource identifier (URI) for the host software to access the microservice instance.

[0106] If no instance is available, then in block 528 , the microservice driver may provision a new instance, and communications with that new instance may be coordinated with the service request.

[0107] The requesting host software may connect to the microservice instance in block 532. This may include, for example, a simple handshake so that each knows it is communicating with the other.

[0108] Finally, in block 536, the host service starts using the provisioned microservice instance, such as by switching packets to the provided URI.

[0109] Note that in this basic scenario, both the implementation and its path are dynamic, and the application itself is agnostic about the best implementation-compliant method to instantiate the functionality and the best method to communicate with the functionality.

[0110] Then, Figure 6 and Figure 7 shows additional details of the microservice architecture, where Figure 6 shows the first creation of a microservice instance, and Figure 7 The subsequent use of the microservice instance is shown.

[0111] Figure 6 6 is a block diagram of an initial establishment of a microservice instance according to one or more examples of the present specification. In this case, application 604 uses middleware 610 to communicate with driver 614. Application 604 has a need to access a microservice.

[0112] In operation 1, the application 604 makes a microservice discovery request through the microservice driver. The microservice driver can then issue a discovery request 620 via the fabric. Also in block 620, the microservice driver can select a desired implementation option (such as a hardware accelerator, FPGA, or resource pool) and issue a request to a management and network organization (MANO) server (e.g., organizer 260) (which in this case can provide an SDF).

[0113] In operation 3, MANO 628 initiates or otherwise prepares an instance of the desired microservice instance. This may include, for example, an application container 640 having an API wrapper 644 and a software library 648. In another example, this includes an application container 650 having an API wrapper 654, a driver or middleware 658, and a hardware accelerator 660.

[0114] The appropriate properties of the provided instance are encapsulated in the microservice description 634 (which is registered in the microservice registry 630).

[0115] In operation 4, a message forwarder 624 is established to enable the application 604 to communicate with the new instance of the microservice. This can be a dynamic message forwarder of the required type, for example. The message forwarder 624 can be implemented as a configuration of the structure (network, bus, etc.) that connects the application to the appropriate microservice. In such an embodiment, forwarding is a 'passive' transfer of data.

[0116] In operation 5, a necessary connection is completed between the message forwarder 624 and the application 604, providing an open line of communication between the application and the microservice instance. This provides a connection for requesting an instance of a task provided by the microservice currently or for a future process, such as Figure 7 As further shown in (e.g., in operations 6 and 7).

[0117] In general, a microservice activation chain can be constructed by continuously repeating this operation so that each instance of a microservice is dynamically selected and customized for direct communication from its predecessor microservice instance in the chain. Therefore, in the case of a microservice chain, the establishment of message forwarders 624 in some cases provides a connection not between application 604 and a microservice, but between the previous microservice and the next microservice in the service chain. As with application 604, each predecessor microservice can be agnostic to the implementation details of its successor microservice and the details for providing the best path for generating activation.

[0118] Figure 7 is a description of the operation of a microservice, which can be thought of as Figure 6 An extension of the block diagram.

[0119] exist Figure 7 In the example of FIG. 7 , host software 702 has requested provisioning of multiple microservices (ie, microservice 704 - 1 , microservice 704 - 2 , and microservice 704 - 3 ).

[0120] In operation 6, the host software 702 accesses the microservice 704-1, such as by providing a data flow to a URI associated with the microservice 704-1.

[0121] Microservice 704-1 receives a flow from host software 702 and performs its designated microservice on the flow. For example, microservice 704-1 may provide decryption and key verification on incoming packets.

[0122] Microservice 704 - 1 in operation 7 now operates message forwarder 708 to forward the packet to microservice 704 - 2 .

[0123] Microservice 704 - 2 may be, for example, a DPI microservice that performs detailed analysis of incoming packets.

[0124] Once microservice 704 - 2 completes its deep packet inspection, it operates another message forwarder 708 to forward the packet to microservice 704 - 3 .

[0125] Microservice 704 - 3 may perform some additional auxiliary function, such as statistical or big data functions, which does not affect the value of the grouping but is used to manage the data center and the services provided to customers.

[0126] Once microservice 704 - 3 has completed its function, it returns the packet to host software 702 , which can now manipulate the packet according to normal procedures.

[0127] exist Figure 7 In an example of , message forwarder 708 can be a single monolithic message forwarder that provides interconnection between microservice instances (similar to a lightweight vSwitch tailored for forwarding packets between microservices), such that message forwarder 708 acts as a hub between microservices. In another example, each microservice instance can have its own dedicated connection to other microservices, such that microservices are "daisy-chained" to each other without any intermediate hub.

[0128] Note that in this case, the entire service chain has been applied to the packet after it hits the host software 702, without the packet having to "ping-pong" back and forth between the host software 702 and the various microservices in the service chain. Note also that the use of microservices enables the host software 702 to view the various functions in the service chain as if they were a single call to an instance of a local module. Thus, instead of explicitly accessing multiple accelerators (where a packet is sent to an accelerator, returned to the host, sent to a second accelerator, returned to the host again, sent to a third accelerator, and returned to the host a third time), a series of accelerators are used in the chain and enabled by a single function call from the host software 702.

[0129] Please note, Figure 5-7 The disclosed diagrams and processes provide, for example, abstractions of hardware such as low-level accelerators behind public microservice APIs. This provides for local and remote execution, flexible addressing and enabling. The ontology described for the registry directory can be provided in an extension language for defining and discovering microservices based on the desired functionality of the microservices. For example, a feature of the ontology language can be a descriptor such as "function equals encryption (AES-GCM)". Thus, applications can specify desired functions and parameters (such as encryption type) without specifying specific implementation details. However, in some cases, some details may be provided, such as the maximum acceptable latency, the minimum acceptable bandwidth, or other factors that may affect the performance required by a specific application. The ontology language may also support the linking of sub-functions in its syntax. In one embodiment, the ontology language may be compatible with OpenAPI and may provide easy discovery by humans and by computers.

[0130] Several building blocks that implement the microservice architecture described above will be shown below. These will include the following specific descriptions:

[0131] Please note, Figure 5-7The disclosed diagrams and processes provide, for example, an abstraction of hardware such as low-level accelerators behind a public microservice API. This provides local and remote execution, flexible addressing and enabling. The ontology described for the registration directory can be provided by an extension language for defining and discovering microservices based on the desired functionality of the microservice. For example, a feature of the ontology language may be a descriptor such as "function equals encryption (AES-GCM)". Thus, an application can specify desired functions and parameters, such as encryption type, without specifying specific implementation details. However, in some cases, some details may be provided, such as the maximum acceptable latency, the minimum acceptable bandwidth, or other factors that may affect the performance that a particular application may require. The ontology language may also support the linking of sub-functions in its syntax. In one embodiment, the ontology language is compatible with open APIs and prevents easy discovery by humans and by computers.

[0132] Several building blocks that implement the microservice architecture described above will be shown below. These will include the following specific descriptions:

[0133] • Unified API and unified addressing, as further described below in section

[0133] .

[0134] • Microservice Registry (SR), as further described below in paragraph

[0134] .

[0135] • Microservice Discovery (SD), as further described below in paragraph

[0136] .

[0136] • Unified access method, as further described below in paragraph

[0137] .

[0137] • Middleware and drivers, as further described below in paragraph

[0138] .

[0138] • A message forwarder, as further described below in paragraph

[0139] .

[0139] • Microservice linking, as further described below in paragraph

[0141] .

[0140] • Microservice Discovery Endpoint (SDE), as further described below in paragraph

[0148] .

[0141] • Message Service (MS), as further described below in paragraph

[0150] .

[0142] • Microservice requests, as further described below in paragraph

[0150] .

[0143] • Addressing Service (AS), as further described below in paragraph

[0151] .

[0144] • A microservice description catalog, as further described below in paragraph

[0152] .

[0145] • Message service path configuration, as further described below in paragraph

[0156] .

[0146] • Message service processes, as further described below in paragraph

[0158] .

[0147] • Load Balancing Engine (LBE), as further described below in paragraph

[0176] .

[0148] For unified APIs in unified addressing, in this case, open APIs can be used to define a standard language agnostic interface to a Representational State Transfer (REST) ​​API that allows both humans and computers to discover the capabilities of a microservice, and understand and interact with it remotely with minimal implementation logic. Additional details are found in the description of the addressing service described below.

[0149] The microservices registry (SR) mechanism allows for further discovery of services based on their descriptions. Service providers or builders can provide details about endpoints and descriptions of services through an extension language, with possible combinations of functionality, telemetry details, licensing and metering details, scalability and instantiation, and access methods as non-limiting examples.

[0150] The registration can be part of a configuration file or a database. Additional details are in the description of the microservice description directory below.

[0151] Micro discovery (SD) identifies available services when requested, including the best instance or the identification of the best instance or the option to generate a new instance (if possible) and the configuration of links and services. SD can be accessed via a known mechanism or address (such as a specific URI) or other mechanisms that can be part of the middleware or SDK. The SD function locates the service that can perform the requested function, and configures a specific service instance and a message forwarder for transmitting data between the requesting application and the service instance or different service instances in the service chain. When the instance is enabled by the application, the microservice can forward its output to the enabling software or to the next service in the service chain. Depending on the request from the application, the SD function can use an existing instance or generate a new instance (if supported by the implementation). The SD function can also be used as a load balancer, optionally with dynamic load balancing performed by the message forwarder, and work with MANO on the creation and removal of instances. MANO can use the details of location and preferences and platform capabilities to generate the best matching instance of hardware or software services. See additional details in the description of SDE below.

[0152] The unified access method allows the use of the best possible enabling method depending on the location of the service and the capabilities of the environment. In one example, the microservice is accessed via a REST API running on the network. However, in other instances, access can be made through another mechanism such as remote direct memory access (RDMA), shared memory, memory mapped input / output (MMIO), etc. The unified access can be scalable and adaptable to different access methods, and in some examples can be manipulated in a middleware component.

[0153] Middleware components and kernel drivers can be used to manipulate uniform access, thus abstracting the access from the actual implementation. In some cases, these components are existing parts of the cloud infrastructure.

[0154] A message forwarder may be provisioned during microservice discovery and provisioning and may include details of which services are being requested. A message forwarder may configure an instance of a service to perform a forwarding to the next service. This creates the concept of a service flow. Additional details related to the message forwarder are described in conjunction with the following message service path configuration and the following message service flow description.

[0155] Note that applications that use microservice discovery to find endpoints and access methods can enable them during processing. To an application, the use of a microservice can be as simple as issuing a subroutine call, which is transparently handled by the microservice driver via a message forwarder that proxies, load balances, and bridges the request to the correct microservice instance. The use of the message forwarder can be defined by policy, as further described in the description of the message service flow below. Figure 8 Further shown.

[0156] Figure 8 is a block diagram of message service linking according to one or more examples of the present specification. Message service linking is a method for exposing the functionality of hardware and software in a cloud-friendly manner by using microservices with a unified addressing scheme. Registration of microservices may include registration of microservice connection capabilities, which indicate the ability of a microservice instance to communicate directly with other instances of the same or different microservices.

[0157] In operation 1 , the application 830 issues a request for a function to the service discovery block 812 .

[0158] In operation 2, the service discovery 812 responds to the application 830 to obtain a path ID to prepare functions and entry points.

[0159] The service discovery function 812 then accesses the configuration 816 and the message forwarding data 820 to prepare the appropriate service chain. This may include preparing the service implementation 804 (including multiple services 0 to n). Each service may include a path ID and a next hop URI.

[0160] At operation 3 , the application 830 constructs a message 824 , which may include a path ID, message content, and a tracking ID. At operation 4 , the application 830 sends the message 824 to the service implementation 804 .

[0161] At operation 5, the service implementation 804 prepares the appropriate chain of microservices and begins propagating the message 824 through the microservices.

[0162] At operation 6 , the service implementation 804 may optionally return a completion status to the message forwarding block 820 .

[0163] The service discovery endpoint provides an extensible infrastructure for discovery of available services that is independent of their implementation and location. This supports drop-in replacement and optimization based on application preferences, workload types, and combinations of services.

[0164] In this context, the term "endpoint" means a known API used by an application to perform a function. Service discovery is exposed to applications in different combinations, such as as non-limiting examples:

[0165] • A special URL or URI that serves as an entry point.

[0166] • PCI or PCIe devices, whether real or emulated, are addressed as B / D / F with a defined encoding and data format for the messages. This allows easy virtualization using virtio-like devices or SR-IOV, with an ioctl-based API, cHr-DeV or a pseudo-NIC (in case of hardware implementation).

[0167] • System calls or other libraries for low latency calls. In some cases, the service discovery endpoint may be hard coded, or may be provided as part of a cloud INIT script or similar.

[0168] Fig. 9 is a block diagram of service discovery according to one or more examples of the present specification. In the case of a service request, an application requests a specific function from a messaging service (i.e., a microservice discovery function (MDF)) by providing a description of the function to be performed or expected to be performed. This Fig. 9, where the service discovery function 900 receives as input a description of a desired service. This can be a single function or a sequence of functions to be applied to the same message in a service chain. In another example, this can be an enumerated list of desired capabilities. In one example, an open API can be used for this purpose, although this is a non-limiting example. The description of the service can be provided in different ways or formats and can provide the required functionality in addition to other information (such as function-specific parameters or desired performance parameters). The output of the service discovery function 900 may include the path ID to be used for the service, details of the endpoints, and available options.

[0169] For addressing services, a unified addressing scheme can be used to provide the same calling convention to request remote or local resources, as well as hardware or software microservices (as long as it is appropriate). The unified addressing service can be implemented by redirecting calls and providing data delivery to the actual instance. The application itself can be agnostic to the instance and its location or implementation details. These can be mapped to multiple load-balanced instances to support automatic scaling. Endpoints (such as calls to local host URLs as an example) can be entry points to message forwarders in this way. The message forwarder can process the input parameters of the message, such as the path ID, and convert them into actual runtime activations of microservice instances.

[0170] The microservice description catalog can be used for registration of services. New microservice implementations and instances can be registered with the service discovery function as they become available. The registration can include as input a description of the services provided, a description of capabilities (including such items as scaling options, resource sharing, and data type clocks), and can also include telemetry data, quality factors, and the like. The output of the registration can include a confirmation status.

[0171] The registry of microservices may include configuration of entry points, descriptions of how to enable services, descriptions of supported functionality, and SLA details as non-limiting examples. For example, when a particular package of an FPGA is loaded, it may be registered as a microservice to enable consumption by the provisioning application and be marked as preferred, while the software implementation may still receive messages as needed. New instances may also be transparently added to the calling application, which provides a path ID rather than an instance ID to access the microservice. Dynamic allocation of new instances may be supported to enable automatic scaling.

[0172] The service can also use the API for telemetry to report its usage, load, and any problems it encounters. In some cases, named spaces and contexts may be supported for isolation of VMs or functional domains. Advantageously, no changes to the device itself are required in this case.

[0173] Using Intel® Quick Assist™ as an example, instead of using SR-IOV to map devices in a VM, the architecture of this specification allows an instance of the SSL microservice to be implemented as a wrapper on a QAT instance and equipped with an access point (such as a URI). When an application needs to encrypt or decrypt data, it forms a message specifying the data to be processed and the encryption or decryption function to be used. Instead of packets being returned to the requesting application, the next destination can be an Ethernet microservice, which actually sends the encrypted content over the wire.

[0174] With the messaging service path configured, during microservice discovery, when an application requests a specific capability, the messaging service can do the following:

[0175] • Verify that the requested functionality is supported.

[0176] • Allocate a path ID for the requested functional sequence and return the path ID for later use by the application.

[0177] • Allocate resources to enable streaming processing (connect instances, shared memory, etc.). Tasks can specify synchronous or asynchronous execution. Shared memory buffers can connect microservice instances and can also be used for various platform operations such as remote calls (e.g., over Ethernet, RDMA, or the like). This can lead to the creation of a service process.

[0178] The unified mechanism for addressing services can include local software instances, local hardware implementations, or any type of remote implementation. The messaging service can take care of the established service paths, including the configuration of intermediate services for cross-domain or cross-server connections. Applications can use any implemented method for communicating with the messaging service, such as URIs, PCIe, library calls, or the like. Applications can also support sending messages to instances of microservices.

[0179] The message service process supports various features:

[0180] • Input queues can be implemented in a hardware-friendly way using shared memory buffers.

[0181] • Input queue redirection can be used to defer or dispatch processing if the current instance is unable to accept processing for any reason, thus enabling “hot potato” load balancing.

[0182] • Service implementation, which can be software or hardware.

[0183] • Optional hardware assist, which provides platform pseudo instructions, implemented as microcode, that can perform message forwarding. This can use internal tables for state, and can also perform load balancing, argument validation, etc.

[0184] This allows the service stack to delegate many well-formatted operations and responsibilities to a platform or cloud service. Therefore, infrastructure specialization and involvement can occur separately or in parallel with the progress and optimization of tasks. Concerns such as whether a switch is virtual or how it will affect scaling or latency can be moved to lower levels where they are best matched to the dynamic environment. Therefore, microservices can know where to forward messages along a specific path; for example, the message forwarding function can implement memory channels (instances on the same server), or use remote enablement through RDMA or fabric libraries on Intel® OmniPath™.

[0185] • Services can have both software and hardware implementations or a combination of both.

[0186] • Hardware-based load balancing can facilitate the use of hardware implementations of services.

[0187] • When there are bottlenecks along the service path, a pipe overflow notification mechanism can be used.

[0188] • Notification of new messages can be provided to the next service through a lightweight semaphore (especially when the receiver is on the same host) or via an interrupt. In another example, the receiving service can poll the input queue.

[0189] For application requests, the application prepares a message to be sent, which consists of four parts:

[0190] • The path ID provided by the messaging service.

[0191] • content.

[0192] • Optional token ID (used for completion notification).

[0193] • Optional prologue or epilogue.

[0194] The Path ID defines the logical path that the message should follow, and implicitly encodes the entire flow, thus allowing messages to be sent without waiting for the completion of processing of previous messages. The messaging service can provide status (if requested by the application) through the token ID to track the completion of the request.

[0195] Prologues and epilogues can be used to support polymorphic and pipelined messaging flows. The prologue adapts the processing of the message at the target so that customization is pushed closer to where the data will be manipulated, while the epilogue specifies the continuity and forwarding of data, results, events, or states. This may not necessarily be only to the enabler, but potentially to other entities as well. This broadens the concept of active messages to active flows.

[0196] Fig.10is a block diagram illustrating message forwarding according to one or more examples of the present specification. In this case, the message forwarding block receives inputs and outputs as shown.

[0197] Internally, the message forwarder may be implemented as a redirection table that includes, but is not limited to, the following types of service instance entry points:

[0198] • To a NIC or a remote address, such as a remote URI.

[0199] • To PCIe BDF.

[0200] • To software via exception or polling mode.

[0201] • Via structure.

[0202] • To memory or memory-mapped I / O (MMIO).

[0203] In case two applications are communicating, instead of application A sending data to service B (which may have both software and / or hardware implementations), application A sends a message to a message forwarding (MF) function 1000 .

[0204] The input to the MF function 1000 may include path information or a path information handle and the payload to be forwarded.

[0205] The MF function 1000 may transform the message as needed to make it suitable for the next hop. This may include encapsulating, decapsulating or otherwise transforming the message. The message forwarder 1000 then sends the transformed message along with the new path information or path information handle.

[0206] In various embodiments, the message forwarding function 1000 may participate in delivering messages directly or indirectly. In direct use, the MF 1000 receives a message from an application and forwards it to the appropriate service instance. In the indirect case, the MF 1000 is configured and requests for service endpoints go directly to the specified instance, assuming that the instance supports direct activation.

[0207] MF 1000 can provide activation and addressing / access arbitration. In other words, MF 1000 can act as an information activation broker. For example, MF 1000 can send or forward a token to a destination service function. The destination can use that token to retrieve data from MF 1000. The service function can use that token to poll MF 1000 and know if the source application is ready to deliver. This is different from, for example, the target service instance receiving data from the application and then contacting MF 1000. In other words, the destination can become an active object that does something, and higher-level code can act as a composer of these low-level actions, setting them in motion and then getting out of the way.

[0208] A forwarding device implementing MF 1000 can implement addressing, which does not need to be mapped to nodes and ports. Instead, addresses can be mapped to nameable entries and entity functions. The entity can be hardware, software, firmware, or any combination thereof, which has a receiver that can be triggered by a structural interface. The result at the receiving endpoint is similar to the activation of the function:

[0209] • If the triggered entity is software, the function enablement is λ or RPC.

[0210] • If the triggered entity is a smart disk, the function enablement can be a disk operation.

[0211] • If the triggered entity is a hardware accelerator, the function enablement can be an NQ operation.

[0212] • If the target is an FPGA, there can be an opaque handshake that organizes and links to the FPGA.

[0213] The above is provided as a non-limiting example, and many other configurations are possible. The end result is that activities become decoupled and pipelined.

[0214] In the case of process and execution management, the content of the message can include intermediate data for processing and references to the data. For example, application A can send an encrypted message to microservice F and send token T to A's peer application C. When C contacts F using token T, C automatically decrypts and gives C another token M. When C decides, it opens stream M and reads the pure data. Polling is an effective means of communication between remote entities and does not require alerts or requests for control. In turn, the remote entity can retrieve the token by polling. Other options include NIC, enqueuing or dequeuing data streams, or the like.

[0215] Message forwarding pushes messages to a pre-allocated buffer for a specific flow or process. If the pre-allocated buffer is shared with the application, a zero-copy approach can also be used. MF enables execution of hardware or software implementations. Buffering and burst handling can also be configured to minimize overhead and improve resource utilization while maintaining quality of service (QoS) or deadlines (if requested by the application). In one example, a ring buffer can be used as an implementation of the connection between the application, the message forwarder, and the service implementation.

[0216] Polymorphic behavior is also provided. This mixes the concept of active messaging in a polymorphic way, where the active part of active messaging is manipulated. This leads to a blurring of the lines between hardware, software or accelerators, local or remote, polling or non-polling, so that the framework supports the idea that intelligence can be distributed and coordinated at a high level while data and event processing happens at a low level.

[0217] Message service links can also be a method for inter-process communication (IPC). This provides additional flexibility and reduced costs for integration, and can use Function as a Service (FaaS) or microservices with bindings to multiple IPC APIs and different languages.

[0218] Fig.11 1 is a block diagram of a load balancing engine (LBE 1100) according to one or more examples of the present specification. In various embodiments, message forwarding may support multiple load balancing options. In this example, the LBE 1100 receives path information or a path information handle for an incoming message and telemetry and service quality targets from various instances of a target service function. This provides the LBE 1100 with information for deciding which instance of a microservice to route a request to or whether to spawn a new instance of a microservice. The LBE 1100 directs the incoming packet to the instance via the new path information or path information handle, and may also save logs, for example, for background analysis or retraining.

[0219] Load balancing options include, by way of non-limiting example:

[0220] • Arbitration for idle instances based on bus status.

[0221] • Cycle load balancing.

[0222] • Weighted Fair Queuing.

[0223] • Load balancing via hot potato routing or via deadline-based (including maximum balancing among time deadlines). Forwarding tables on inputs can select alternate destinations when the current instance is overloaded.

[0224] • Prioritization (e.g., preferring hardware instances with overflow over software instances).

[0225] The present disclosure also provides the following technical solutions:

[0226] 1. A computing device, comprising:

[0227] Hardware computing platform; and

[0228] The logic used to operate on the hardware computing platform is configured as follows:

[0229] Receiving a microservice instance registration for a microservice accelerator, wherein the registration includes a microservice that the microservice accelerator is configured to provide and a microservice connection capability indicating an ability of the microservice instance to communicate directly with other instances of the same or different microservices; and

[0230] The registration is recorded in a microservices registration database.

[0231] 2. A computing device as described in technical solution 1, wherein the logic is also configured to publish the microservice registration to a microservice driver.

[0232] 3. A computing device as described in Technical Solution 1, wherein the microservice registration database is an ontology database.

[0233] 4. A computing device as described in technical solution 1, wherein the connection capability includes information configured to allocate the microservice accelerator to the service chain.

[0234] 5. A computing device as described in technical solution 1, wherein the microservice registration database is also configured to include information for mapping microservice application programming interface (API) calls to native enablement for the microservice accelerator, wherein the microservice API is a general API for devices to access the microservice accelerator.

[0235] 6. A computing device as described in technical solution 1, wherein the microservice registration database is also configured to include information for generating a new instance of the microservice accelerator.

[0236] 7. A computing device as described in Technical Solution 6, wherein the information used to generate a new instance of the microservice accelerator includes information used to program the new instance.

[0237] 8. A computing device as described in technical solution 7, wherein the information used to program the new instance includes gate configuration for a field programmable gate array (FPGA).

[0238] 9. A computing device as described in technical solution 1, wherein the logic is also configured to receive and store information related to the load on the existing instance of the microservice accelerator.

[0239] 10. One or more tangible non-transitory computer-readable media having stored thereon executable instructions for providing a microservice discovery function (MDF), the MDF being configured to instruct a device to:

[0240] Receiving a microservice instance registration for a microservice accelerator, wherein the registration includes a microservice that the microservice accelerator is configured to provide and a microservice connection capability indicating an ability of the microservice instance to communicate directly with other instances of the same or different microservices; and

[0241] The registration is recorded in a microservices registration database.

[0242] 11. One or more tangible, non-transitory computer-readable media as described in technical solution 10, wherein the logic is further configured to publish the microservice registration to a microservice driver.

[0243] 12. One or more tangible, non-transitory computer-readable media as described in technical solution 10, wherein the microservice registration database is an ontology database.

[0244] 13. One or more tangible, non-transitory computer-readable media as described in technical solution 10, wherein the connection capability includes information configured to allocate the microservice accelerator to the service chain.

[0245] 14. One or more tangible, non-transitory computer-readable media as described in technical solution 10, wherein the microservice registration database is also configured to include information for mapping microservice application programming interface (API) calls to native enablement for the microservice accelerator, wherein the microservice API is a general API for a device to access the microservice accelerator.

[0246] 15. One or more tangible, non-transitory computer-readable media computing devices as described in technical solution 10, wherein the microservice registration database is also configured to include information for generating a new instance of the microservice accelerator.

[0247] 16. One or more tangible, non-transitory computer-readable media as described in technical solution 15, wherein the information used to generate a new instance of the microservice accelerator includes information used to program the new instance.

[0248] 17. One or more tangible, non-transitory computer-readable media as described in technical solution 16, wherein the information used to program the new instance includes a gate configuration for a field programmable gate array (FPGA).

[0249] 18. One or more tangible, non-transitory computer-readable media as described in technical solution 10, wherein the logic is also configured to receive and store information related to the load on the existing instance of the microservice accelerator.

[0250] 19. A computer-implemented method for providing a microservice discovery function (MDF), comprising:

[0251] Receiving a microservice instance registration for a microservice accelerator, wherein the registration includes a microservice that the microservice accelerator is configured to provide and a microservice connection capability indicating an ability of the microservice instance to communicate directly with other instances of the same or different microservices; and

[0252] The registration is recorded in a microservices registration database.

[0253] 20. The method as described in Technical Solution 19 also includes publishing the microservice registration to a microservice driver.

[0254] 21. As described in Technical Solution 19, wherein the microservice registration database is an ontology database.

[0255] 22. A method as described in Technical Solution 19, wherein the connection capability includes information configured to allocate the microservice accelerator to the service chain.

[0256] 23. A method as described in technical solution 19, wherein the microservice registration database is also configured to include information for mapping microservice application programming interface (API) calls to native devices for the microservice accelerator, wherein the microservice API is a general API for devices to access the microservice accelerator.

[0257] 24. A method as described in Technical Solution 19, wherein the microservice registration database is also configured to include information for generating a new instance of the microservice accelerator.

[0258] 25. A method as described in technical solution 24, wherein the information used to generate a new instance of the microservice accelerator includes information used to program the new instance.

[0259] The features of several embodiments are summarized above so that those skilled in the art can better understand various aspects of the present disclosure. Those skilled in the art will appreciate that they can easily use the present disclosure as a basis for designing or modifying other processes and structures for achieving the same purpose and / or achieving the same advantages of the embodiments described herein. Those skilled in the art will also find that such equivalent constructions do not deviate from the spirit and scope of the present disclosure, and they can make various changes, substitutions and modifications thereto without departing from the spirit and scope of the present disclosure.

[0260] All or part of any hardware element disclosed herein may be readily provided in a system on a chip (SoC) (including a central processing unit (CPU) package). SoC stands for an integrated circuit (IC) that integrates the components of a computer or other electronic system into a single chip. Thus, for example, a client device or a server device may be provided in whole or in part in a SoC. A SoC may include digital, analog, mixed signal, and radio frequency functions, all of which may be provided on a single chip substrate. Other embodiments may include a multi-chip module (MCM), in which multiple chips are located within a single electronic package and are configured to closely interact with each other through the electronic package.

[0261] It is also noted that in certain embodiments, some components may be omitted or combined. In a general sense, the arrangements shown in the drawings may be more logical in their representation, while the physical architecture may include various permutations, combinations, and / or hybrids of these elements. It must be noted that countless possible design configurations can be used to achieve the operational goals outlined herein. Accordingly, the associated infrastructure has countless permutations, design choices, device possibilities, hardware configurations, software implementations, and equipment options.

[0262] In a general sense, any processor that is suitably configured is capable of executing any type of instruction associated with data to achieve the operations detailed herein. Any processor disclosed herein can transform an element or product (e.g., data) from one state or thing to another state or thing. In operation, the storage device may store information in any suitable type of tangible non-transitory storage medium (e.g., random access memory (RAM), read-only memory (ROM), field programmable gate array (FPGA), erasable programmable read-only memory (EPROM), electrically erasable programmable ROM (EEPROM), etc.), software, hardware (e.g., processor instructions or microcode), or any other suitable component, device, element, or object, where appropriate and based on specific needs. In addition, the information tracked, sent, received, or stored in the processor may be provided in any database, register, table, cache, queue, control list, or storage structure based on specific needs and implementations, all of which may be referenced in any suitable time frame. Any memory or storage device disclosed herein should be understood to be appropriately included in the broad terms 'memory' and 'storage device'. The non-transitory storage media herein are expressly intended to include any non-transitory dedicated or programmable hardware configured to provide the disclosed operations or to cause a processor to perform the disclosed operations.

[0263] The computer program logic that implements all or part of the functionality described herein is implemented in various forms, including but not limited to source code form, computer executable form, machine instructions or microcode, programmable hardware, and various intermediate forms (e.g., forms generated by assemblers, compilers, linkers, or locators). In one example, the source code includes a series of computer program instructions implemented in various programming languages ​​(such as object code, assembly language, or high-level languages ​​such as OpenCL, FORTRAN, C, C++, JAVA, or HTML for use with various operating systems or operating environments) or in hardware description languages ​​(such as Spice, Verilog, and VHDL). The source code can define and use various data structures and communication messages. The source code can be in a computer executable form (e.g., via an interpreter), or the source code can be converted (e.g., via a converter, assembler, or compiler) to a computer executable form or converted into an intermediate form, such as byte code. Where appropriate, any of the above can be used to construct or describe an appropriate separation or integrated circuit, whether sequential, combined, state machine, or other.

[0264] In an example embodiment, any number of electronic circuits of the accompanying drawings can be implemented on a board of an associated electronic device. The board can be a general circuit board that can accommodate various components of the internal electronic system of the electronic device and also provide connectors for other peripherals. Any suitable processor and memory can be suitably coupled to the board based on specific configuration needs, processing requirements and computing design. It should be noted that for many examples provided herein, interactions can be described in terms of two, three, four or more electronic components. However, this is only done for the sake of clarity and example. It should be appreciated that the system can be merged or reconfigured in any suitable manner. According to similar design alternatives, any of the components, modules and elements shown in the accompanying drawings can be combined in various possible configurations, all of which are within the broad scope of this specification.

[0265] Numerous other changes, permutations, variations, alterations, and modifications will be ascertainable to those skilled in the art, and it is intended that the present disclosure encompass all such changes, permutations, variations, alterations, and modifications as fall within the scope of the appended claims. To assist the United States Patent and Trademark Office (USPTO) and any reader of any patent issued on this application in interpreting the claims appended hereto, Applicants wish to point out that Applicants: (a) do not intend that any of the appended claims invoke paragraph six (6) of 35 U.S.C. section 112 (pre-AIA) or paragraph (f) of the same section (post-AIA) as it existed on the filing date thereof unless the words “means for” or “step for” are specifically used in a particular claim; and (b) do not intend that any statement in this specification limit the present disclosure in any manner not otherwise clearly reflected in the appended claims.

[0266] Example Implementation

[0267] The following examples are provided by way of illustration.

[0268] Example 1 includes a computing device, comprising: a hardware computing platform; and logic for operating on the hardware computing platform, configured to: receive a microservice instance registration for a microservice accelerator, wherein the registration includes a microservice that the microservice accelerator is configured to provide and a microservice connection capability indicating the ability of the microservice instance to communicate directly with other instances of the same or different microservices; and record the registration in a microservice registration database.

[0269] Example 2 includes the computing device of Example 1, wherein the logic is further configured to publish the microservice registration to a microservice driver.

[0270] Example 3 includes the computing device of Example 1, wherein the microservices registration database is an ontology database.

[0271] Example 4 includes the computing device of Example 1, wherein the connection capability includes information configured to allocate the microservice accelerator to the service chain. This may include enabling a collection of microservices in sequence to perform the requested function.

[0272] Example 5 includes the computing device of Example 1, wherein the microservice registration database is further configured to include information for mapping microservice application programming interface (API) calls to native enablement for the microservice accelerator, wherein the microservice API is a common API for devices to access the microservice accelerator. The native enablement can be optimally effective based on the implementation and location of the microservice and the requester of the service.

[0273] Example 6 includes the computing device of any of Examples 1-5, wherein the microservices registration database is further configured to include information for generating a new instance of the microservices accelerator.

[0274] Example 7 includes the computing device of Example 6, wherein the information for generating a new instance of the microservices accelerator includes information for programming the new instance.

[0275] Example 8 includes the computing device of Example 7, wherein the information for programming the new instance includes a gate configuration for a field programmable gate array (FPGA). Other embodiments may include another firmware loaded onto a hardware accelerator (like a GPU) to program it for a specific function.

[0276] Example 9 includes the computing device of any one of Examples 1-5, wherein the logic is further configured to receive and store information related to the load on an existing instance of the microservice accelerator. The existing instance of the microservice accelerator can be programmed to also serve the new requester, thereby reducing the resource overhead of generating a new instance.

[0277] Example 10 includes one or more tangible, non-transitory computer-readable media having stored thereon executable instructions for providing a microservice discovery function (MDF), the MDF being configured to instruct a device to: receive a microservice instance registration for a microservice accelerator, wherein the registration includes microservices that the microservice accelerator is configured to provide and microservice connection capabilities indicating the ability of the microservice instance to communicate directly with other instances of the same or different microservices; and record the registration in a microservice registration database.

[0278] Example 11 includes the one or more tangible, non-transitory computer-readable media of Example 10, wherein the logic is further configured to publish the microservice registration to a microservice driver.

[0279] Example 12 includes the one or more tangible, non-transitory computer-readable media of Example 10, wherein the microservices registration database is an ontology database.

[0280] Example 13 includes the one or more tangible, non-transitory computer-readable media of Example 10, wherein the connection capabilities include information configured to assign the microservice accelerator to the service chain.

[0281] Example 14 includes one or more tangible non-transitory computer-readable media of Example 10, wherein the microservice registration database is further configured to include information for mapping microservice application programming interface (API) calls to native enablement for the microservice accelerator, wherein the microservice API is a general API for devices to access the microservice accelerator. Example 15 includes one or more tangible non-transitory computer-readable media computing devices of any one of Examples 10-14, wherein the microservice registration database is further configured to include information for generating a new instance of the microservice accelerator.

[0282] Example 16 includes the one or more tangible, non-transitory computer-readable media of Example 15, wherein the information for generating a new instance of the microservices accelerator includes information for programming the new instance.

[0283] Example 17 includes the one or more tangible, non-transitory computer-readable media of Example 16, wherein the information for programming the new instance includes a gate configuration for a field programmable gate array (FPGA).

[0284] Example 18 includes the one or more tangible, non-transitory computer-readable media of any of Examples 10-14, wherein the logic is further configured to receive and store information related to a load on an existing instance of the microservices accelerator.

[0285] Example 19 includes a computer-implemented method for providing a microservice discovery function (MDF), comprising: receiving a microservice instance registration for a microservice accelerator, wherein the registration includes microservices that the microservice accelerator is configured to provide and microservice connection capabilities indicating the ability of the microservice instance to communicate directly with other instances of the same or different microservices; and recording the registration in a microservice registration database.

[0286] Example 20 includes the method of Example 19, further comprising publishing the microservice registration to a microservice driver.

[0287] Example 21 includes the method of Example 19, wherein the microservice registration database is an ontology database.

[0288] Example 22 includes the method of Example 19, wherein the connection capabilities include information configured to assign the microservice accelerator to the service chain.

[0289] Example 23 includes the method of Example 19, wherein the microservice registration database is further configured to include information for mapping microservice application programming interface (API) calls to native enablement for the microservice accelerator, wherein the microservice API is a general API for devices to access the microservice accelerator. Example 24 includes the method of any one of Examples 19-23, wherein the microservice registration database is further configured to include information for generating a new instance of the microservice accelerator.

[0290] Example 25 includes the method of Example 24, wherein the information for generating a new instance of the microservices accelerator includes information for programming the new instance.

[0291] Example 26 includes the method of Example 25, wherein the information used to program the new instance includes a gate configuration for a field programmable gate array (FPGA).

[0292] Example 27 includes the method of any of Examples 19-23, wherein the logic is further configured to receive and store information related to a load on an existing instance of the microservices accelerator.

[0293] Example 28 includes an apparatus comprising means for performing the method of any of Examples 19-27.

[0294] Example 29 includes the apparatus of Example 28, wherein the means for performing the method comprises a processor and a memory.

[0295] Example 30 includes the apparatus of Example 29, wherein the memory comprises machine-readable instructions that, when executed, cause the apparatus to perform the method of any of claims 19-27.

[0296] Example 31 includes the apparatus of any of Examples 28-30, wherein the apparatus is a computing system.

[0297] Example 32 includes at least one tangible non-transitory computer readable medium including instructions that, when executed, implement a method or accomplish an apparatus as required by any of Examples 19-31.

[0298] Example 33 includes a computing device comprising: a hardware computing platform; and logic implemented on the hardware computing platform for: receiving an application programming interface (API) call to a microservice; discovering an available microservice accelerator configured to provide the microservice; converting the API call into a native enablement for the microservice accelerator; and forwarding the native enablement to the microservice accelerator.

[0299] Example 34 includes the computing device of Example 33, wherein discovering the available microservices accelerator comprises querying a microservices discovery function (MDF).

[0300] Example 35 includes the computing device of Example 34, wherein the logic is configured to receive, from the MDF, a list of available microservice accelerators configured to provide the microservice.

[0301] Example 36 includes the computing device of Example 35, wherein the logic is configured to determine that no instance of the microservice accelerator with acceptable idle bandwidth is available for the microservice, and to generate a new instance of the microservice accelerator.

[0302] Example 37 includes the computing device of Example 36, wherein generating the new instance comprises programming the new instance of the microservices accelerator.

[0303] Example 38 includes the computing device of Example 36, wherein generating the new instance comprises programming a field programmable gate array (FPGA) to provide the new instance.

[0304] Example 39 includes the computing device of any of Examples 33-38, wherein the logic is configured to provision the microservice accelerator in a microservice chain.

[0305] Example 40 includes the computing device of Example 39, wherein the API call to the microservice is from a host device, and wherein the chain of microservices is configured to operate independent of the host device.

[0306] Example 41 includes the computing device of Example 40, wherein the logic is configured to provide a message forwarder for the chain of microservices in a hub configuration.

[0307] Example 42 includes the computing device of Example 40, wherein the logic is configured to daisy-chain microservices in the chain of microservices.

[0308] Example 43 includes one or more tangible, non-transitory computer-readable media having stored thereon instructions for providing a microservice driver configured to: receive an application programming interface (API) call to a microservice; discover an available microservice accelerator configured to provide the microservice; convert the API call into a native enablement for the microservice accelerator; and forward the native enablement to the microservice accelerator.

[0309] Example 44 includes the one or more tangible, non-transitory computer-readable media of Example 43, wherein discovering the available microservices accelerators comprises querying a microservices discovery function (MDF).

[0310] Example 45 includes the one or more tangible, non-transitory computer-readable media of Example 44, wherein the logic is configured to receive, from the MDF, a list of available microservice accelerators configured to provide the microservice.

[0311] Example 46 includes the one or more tangible, non-transitory computer-readable media of Example 45, wherein the logic is configured to determine that no instance of the microservice accelerator with acceptable idle bandwidth is available for the microservice, and to generate a new instance of the microservice accelerator.

[0312] Example 47 includes the one or more tangible, non-transitory computer-readable media of Example 46, wherein generating the new instance comprises programming the new instance of the microservices accelerator.

[0313] Example 48 includes the one or more tangible, non-transitory computer-readable media of Example 46, wherein generating the new instance comprises programming a field programmable gate array (FPGA) to provide the new instance.

[0314] Example 49 includes the one or more tangible, non-transitory computer-readable media of any of Examples 43-48, wherein the logic is configured to provision the microservice accelerator in a microservice chain.

[0315] Example 50 includes the one or more tangible, non-transitory computer-readable media of Example 49, wherein the API call to the microservice is from a host device, and wherein the chain of microservices is configured to operate independent of the host device.

[0316] Example 51 includes one or more tangible, non-transitory computer-readable media of Example 50, wherein the logic is configured to provide a message forwarder for the chain of microservices in a hub configuration.

[0317] Example 52 includes the one or more tangible, non-transitory computer-readable media of Example 50, wherein the logic is configured to daisy-chain microservices in the chain of microservices.

[0318] Example 53 includes a computer-implemented method for providing a microservice driver, comprising: receiving an application programming interface (API) call to a microservice; discovering an available microservice accelerator configured to provide the microservice; converting the API call into a native enablement for the microservice accelerator; and forwarding the native enablement to the microservice accelerator.

[0319] Example 54 includes the method of Example 53, wherein discovering the available microservice accelerators comprises querying a microservice discovery function (MDF).

[0320] Example 55 includes the method of Example 54, further comprising receiving, from the MDF, a list of available microservice accelerators configured to provide the microservice.

[0321] Example 56 includes the method of Example 55, further comprising determining that no instance of the microservice accelerator with acceptable idle bandwidth is available for the microservice, and configuring to generate a new instance of the microservice accelerator.

[0322] Example 57 includes the method of Example 56, wherein generating the new instance comprises programming the new instance of the microservices accelerator.

[0323] Example 58 includes the method of Example 56, wherein generating the new instance comprises programming a field programmable gate array (FPGA) to provide the new instance.

[0324] Example 59 includes the method of any one of Examples 53-58, further comprising preparing the microservice accelerator in the microservice chain.

[0325] Example 60 includes the method of Example 59, wherein the API call to the microservice is from a host device, and wherein the chain of microservices is configured to operate independent of the host device.

[0326] Example 61 includes the method of Example 60, further comprising providing a message forwarder for the microservice chain configured according to a hub.

[0327] Example 62 includes the method of Example 60, further comprising daisy-chaining the microservices in the microservice chain.

Claims

1. A computing device, comprising: Hardware computing platform; as well as The logic for operating on the hardware computing platform is configured to: Receiving a first microservice instance registration associated with a first microservice accelerator, the first microservice instance registration indicating a first microservice that the first microservice accelerator is configured to provide; receiving a second microservice instance registration associated with a second microservice accelerator, the second microservice instance registration indicating a second microservice that the second microservice accelerator is configured to provide, wherein both the first microservice instance registration and the second microservice instance registration indicate a microservice connection capability, the first microservice is linked with the second microservice via the microservice connection capability, and both microservices are capable of being enabled via a single microservice application programming interface (API) call from a requestor of the first and second microservices; as well as The first microservice instance registration and the second microservice instance registration are recorded in a microservice registration database, the database being configured to include information mapping the single microservice application programming interface (API) call to the first and second microservices.

2. The computing device of claim 1, wherein: The logic is also configured to publish the first microservice instance registration and the second microservice instance registration to a microservice driver.

3. The computing device of claim 1, wherein: The microservice registration database is an ontology database.

4. The computing device of claim 1, wherein: The microservice connection capability further includes information configured to allocate the first microservice accelerator and the second microservice accelerator to a service chain including the first microservice and the second microservice.

5. The computing device of claim 1, wherein the first microservice accelerator comprises a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC), and the second microservice accelerator comprises a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC).

6. The computing device of any one of claims 1 to 5, wherein: The microservice registration database is also configured to include information for generating new instances of the first microservice accelerator and the second microservice accelerator.

7. The computing device of claim 6, wherein: The information for generating new instances of the first and second microservices accelerators includes information for programming the new instances.

8. The computing device of claim 7, wherein the first microservice accelerator and the second microservice accelerator are a first field programmable gate array (FPGA) and a second field programmable gate array (FPGA), and wherein the information used to program the new instance includes gate configurations for the first field programmable gate array (FPGA) and the second field programmable gate array (FPGA).

9. The computing device of any one of claims 1 to 5, wherein: The logic is also configured to receive and store information related to loads on existing instances of the first microservices accelerator and the second microservices accelerator.

10. One or more tangible non-transitory computer-readable media having stored thereon executable instructions for providing a microservice discovery function (MDF), the microservice discovery function (MDF) configured to instruct a device to: Receiving a first microservice instance registration associated with a first microservice accelerator, the first microservice instance registration indicating a first microservice that the first microservice accelerator is configured to provide; receiving a second microservice instance registration associated with a second microservice accelerator, the second microservice instance registration indicating a second microservice that the second microservice accelerator is configured to provide, wherein both the first microservice instance registration and the second microservice instance registration indicate a microservice connection capability, the first microservice is linked to the second microservice via the microservice connection capability, and both microservices can be enabled via a single microservice application programming interface (API) call from a requestor of the first microservice and the second microservice; as well as The first microservice instance registration and the second microservice instance registration are recorded in a microservice registration database, the database being configured to include information mapping the single microservice application programming interface (API) call to the first microservice and the second microservice.

11. One or more tangible, non-transitory computer-readable media as recited in claim 10, wherein: The instructions further instruct the apparatus to publish the first microservice instance registration and the second microservice instance registration to a microservice driver.

12. The one or more tangible, non-transitory computer-readable media of claim 10, wherein: The microservice registration database is an ontology database.

13. The one or more tangible, non-transitory computer-readable media of claim 10, wherein: The microservice connection capability further includes information configured to allocate the first microservice accelerator and the second microservice accelerator to a service chain including the first microservice and the second microservice.

14. One or more tangible, non-transitory computer-readable media as described in claim 10, wherein the first microservice accelerator comprises a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC), and the second microservice accelerator comprises a field programmable gate array (FPGA) or an application-specific integrated circuit (ASIC).

15. One or more tangible, non-transitory computer-readable media as recited in any one of claims 10-14, wherein: The microservice registration database is also configured to include information for generating new instances of the first microservice accelerator and the second microservice accelerator.

16. The one or more tangible, non-transitory computer-readable media of claim 15, wherein: The information for generating new instances of the first and second microservices accelerators includes information for programming the new instances.

17. The one or more tangible, non-transitory computer-readable media of claim 16, wherein the first microservice accelerator and the second microservice accelerator are a first field programmable gate array (FPGA) and a second field programmable gate array (FPGA), and wherein the information for programming the new instance includes gate configurations for the first field programmable gate array (FPGA) and the second field programmable gate array (FPGA).

18. One or more tangible, non-transitory computer-readable media as recited in any one of claims 10-14, wherein: The instructions further instruct the apparatus to receive and store information related to loads on existing instances of the first microservices accelerator and the second microservices accelerator.

19. A computer-implemented method for providing a microservice discovery function (MDF), comprising: Receiving a first microservice instance registration associated with a first microservice accelerator, the first microservice instance registration indicating a first microservice that the first microservice accelerator is configured to provide; receiving a second microservice instance registration associated with a second microservice accelerator, the second microservice instance registration indicating a second microservice that the second microservice accelerator is configured to provide, wherein both the first microservice instance registration and the second microservice instance registration indicate a microservice connection capability, the first microservice is linked to the second microservice via the microservice connection capability, and both microservices can be enabled via a single microservice application programming interface (API) call from a requestor of the first microservice and the second microservice; as well as The first microservice instance registration and the second microservice instance registration are recorded in a microservice registration database, the database being configured to include information mapping the single microservice application programming interface (API) call to the first microservice and the second microservice.

20. The method of claim 19, further comprising publishing the first microservice instance registration and the second microservice instance registration to a microservice driver.

21. The method of claim 19, wherein: The microservice registration database is an ontology database.

22. The method of claim 19, wherein: The microservice connection capability further includes information configured to allocate the first microservice accelerator and the second microservice accelerator to a service chain including the first microservice and the second microservice.

23. The method of claim 19, wherein the first microservice accelerator comprises a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), and the second microservice accelerator comprises a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).

24. The method of any one of claims 19 to 23, wherein: The microservice registration database is also configured to include information for generating new instances of the first microservice accelerator and the second microservice accelerator.

25. The method of claim 24, wherein: The information for generating new instances of the first and second microservices accelerators includes information for programming the new instances.

26. A component for providing a microservice discovery function (MDF), comprising: means for receiving a first microservice instance registration associated with a first microservice accelerator, the first microservice instance registration indicating a first microservice that the first microservice accelerator is configured to provide; means for receiving a second microservice instance registration associated with a second microservice accelerator, the second microservice instance registration indicating a second microservice that the second microservice accelerator is configured to provide, wherein both the first microservice instance registration and the second microservice instance registration indicate a microservice connection capability, the first microservice is linked with the second microservice via the microservice connection capability, and both microservices are capable of being enabled via a single microservice application programming interface (API) call from a requestor of the first and second microservices; as well as A component for recording the first microservice instance registration and the second microservice instance registration in a microservice registration database, wherein the microservice registration database is configured to include information mapping the single microservice application programming interface (API) call to the first microservice and the second microservice.

27. The component of claim 26, further comprising a component for publishing the first microservice instance registration and the second microservice instance registration to a microservice driver.

28. The component of claim 26, wherein: The microservice registration database is an ontology database.

29. The component of claim 26, wherein: The microservice connection capability further includes information configured to allocate the first microservice accelerator and the second microservice accelerator to a service chain including the first microservice and the second microservice.

30. The component of claim 26, wherein the first microservice accelerator comprises a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC), and the second microservice accelerator comprises a field programmable gate array (FPGA) or an application specific integrated circuit (ASIC).

31. A component as claimed in any one of claims 26 to 30, wherein The microservice registration database is also configured to include information for generating new instances of the first microservice accelerator and the second microservice accelerator.

32. The component of claim 31, wherein: The information for generating new instances of the first and second microservices accelerators includes information for programming the new instances.

33. A computer program product comprising program instructions which, when executed by a processor, carry out the steps of the method according to any one of claims 19 to 25.