Controller, program, and optical direct path switch
The controller and optical direct path switch system addresses processing efficiency issues in serverless computing by optically connecting servers hosting chained services, bypassing the broker and utilizing ASIC/FPGA for efficient packet routing, thereby enhancing efficiency and reducing costs.
Patent Information
- Application Number
- PCT/JP2023/012869
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
Serverless computing systems face processing efficiency deterioration due to overhead from context switching in multi-threaded processing, particularly in server management and data transmission between chained services.
A controller and optical direct path switch system that detects service deployments across multiple server computers and optically connects servers hosting consecutive services in a chain, bypassing the need for a broker to manage data transmission, using an optical direct path switch and a programmable switch with an ASIC or FPGA for efficient packet routing.
This solution suppresses context switching overhead, improves processing efficiency, reduces latency, increases throughput, and enhances power efficiency by eliminating the need for multi-threaded CPU processing, while also reducing operational and procurement costs.
Smart Images

Figure JP2023012869_03102024_PF_FP_ABST
Abstract
Description
Controller, program, and optical direct path switch
[0001] The present invention relates to a controller, a program, and an optical direct path switch.
[0002] Serverless services are known in which a provider manages multiple server computers in a data center and deploys each of multiple services (functions, code, etc.) created by a user to one of the multiple server computers (see Non-Patent Document 1). The multiple services are chained together. Chained services are also called service chains (also called function chains). An ingress gateway and a broker are attached to the service chain (see Non-Patent Document 1). The ingress gateway serves as the gateway for the chained services, and the broker manages the sending and receiving of data between each service.
[0003] Qi, Shixiong & Monis, Leslie & Zeng, Ziteng & Wang, Ian-chin & Ramakrishnan, K.. "SPRIGHT: extracting the server from serverless computing! high-performance eBPF-based event-driven, shared-memory processing." SIGCOMM '22: Proceedings of the ACM SIGCOMM 2022 Conference pp.780-794. 10.1145 / 3544216.3544259.
[0004] Because the broker is a general-purpose server computer, multi-threaded processing occurs, which generates overhead such as context and reduces processing efficiency.
[0005] The present invention has been made in view of the above points, and an object of the present invention is to suppress the occurrence of overhead and suppress the deterioration of processing efficiency.
[0006] In order to solve the above problem, the controller of the present invention is a controller configured to control an optical direct path switch to which a plurality of server computers are connected, and includes a detection unit configured to detect a chain structure of a plurality of chained services and on which of the plurality of server computers each of the plurality of services is deployed, and an optical path control unit configured to control the optical direct path switch to optically connect a first server computer and a second server computer among the plurality of server computers on which a first service and a subsequent second service among the plurality of services are deployed, based on the detection result of the detection unit.
[0007] Furthermore, a program according to the present invention causes a computer to function as the controller.
[0008] In addition, the optical direct path switch of the present invention is an optical direct path switch to which a plurality of server computers are connected, and is provided with an optical path that optically connects a first server computer and a second server computer among the plurality of server computers, on which a first service and a second service next to the first service among a plurality of chained services are respectively deployed.
[0009] According to the present invention, the occurrence of overhead is suppressed, and the deterioration of processing efficiency is suppressed.
[0010] FIG. 1 is a configuration diagram of a system including a controller according to an embodiment of the present invention. FIG. 2 shows an example of a service chain constructed in the system of FIG. 1. FIG. 3 is a hardware configuration diagram of the network switch of FIG. 1. FIG. 4 is a diagram for explaining the structure (initial state) of an optical direct path switch. FIG. 5 is a diagram showing an example of the structure of the event database of FIG. 3. FIG. 6 is a configuration diagram of the switching circuit of FIG. 4. FIG. 7 is a hardware configuration diagram of a controller according to an embodiment of the present invention. FIG. 8 is a configuration diagram showing the internal structure of a controller according to an embodiment of the present invention. FIG. 9 is a schematic diagram of the chain structure of the service chain of FIG. 2. FIG. 10 is a diagram for explaining the structure of the optical direct path switch after control by the controller. FIG. 11 is a diagram for explaining the structure of the optical direct path switch after control by the controller.
[0011] Hereinafter, an embodiment of the present invention and its modifications will be described with reference to the drawings.
[0012] 1, in an embodiment of the present invention, a controller 100 is connected to a network switch (hereinafter simply referred to as a switch) 10. An ingress gateway server 52, function servers 53 to 56, and a database server 57 are connected to the switch 10. The switch 10 and the function servers 53 to 56 are connected so as to be capable of optical communication, with an optical direct path switch 150 interposed between them.
[0013] In this embodiment, the switch 10, servers 51 to 57, controller 100, and optical direct path switch 150 constitute a FaaS (Function as a Service) system 1 of a data center.
[0014] The switch 10 is connected via a network NW such as the Internet to an administrator terminal T1 operated by a system administrator who manages the entire system 1. The network switch 10 is further connected via the network NW to a registrant terminal T2 operated by a service registrant who is a user of the system 1 who builds and operates a service chain 90 (described later) in the system 1, and a customer terminal T3 operated by a customer who uses the service chain 90 (FIG. 2) (described later).
[0015] 2 is established in the system 1. Here, an example will be described in which the service chain 90 is established as a pizza delivery system, but the service chain 90 may be configured as any system.
[0016] The service chain 90 includes three chained services: a user profile service 91, a food delivery service 92, and a restaurant partner service 93. Each service is defined by a function, code, or the like.
[0017] The service chain 90 is provided with an ingress gateway 95 and a broker 96. The ingress gateway 95 constitutes the gateway of the service chain 90. The ingress gateway 95 has known functions. For example, the ingress gateway 95 checks the source address (e.g., IP address) stored in the header of a packet sent to the system 1. If the source address is not a registered address, the ingress gateway 95 discards the packet, and if the source address is a registered address, the ingress gateway 95 supplies the packet to the broker 96. The operation of the broker 96 will be described later.
[0018] Here, the conceptual operation of the service chain 90 will be explained. The user profile service 91 performs a predetermined process when an order is input from the customer terminal T3 (FIG. 1) via the ingress gateway 95 and the broker 96. When the process is complete, the user profile service 91 notifies the food delivery service 92 of the occurrence of an event "Pizza Order" indicating the completion of the process, along with the processing result. The food delivery service 92 receives this notification, performs a predetermined process, and when the process is complete, notifies the restaurant partner service 93 of the occurrence of an event "Take Pizza Order" indicating the completion of the process, along with the processing result.
[0019] Upon receiving the notification, the restaurant partner service 93 begins processing to prepare the pizza. When the processing is complete, the restaurant partner service 93 notifies the food delivery service 92 of the occurrence of the event "Pizza Order Ready," indicating that the processing has been completed, along with the processing result. Upon receiving the notification, the food delivery service 92 generates the events "Schedule Delivery Time" and "Allocate Nearest Deliveryman," which lead to the processing for pizza delivery, and returns the order result to the customer terminal T3. In this way, the operation of the service chain 90 consists of a series of service processing and the occurrence of events indicating the completion of processing.
[0020] The occurrence of an event and the processing result are indicated by one packet or a whole set of multiple packets. This one packet or multiple packets are sent to the notification destination service, thereby notifying the occurrence of the event (i.e., the end of processing) and the processing result. The packet used for this notification is also called a notification packet. The broker 96 manages the destination of this notification packet. The broker 96 also performs load balancing for the destination of the packets. Various packets used in this embodiment, including the notification packet, are sent and received using TCP / IP.
[0021] Returning to FIG. 1, the controller 100 and the servers 52 to 57 are configured as server computers having different housings.
[0022] The controller 100 is configured to monitor and manage the servers 52 to 55 , manage events, deploy services such as the user profile service 91 , and control the optical direct path switch 150 .
[0023] The ingress gateway server 52 is configured to operate as an ingress gateway 95 .
[0024] Services 91 to 93 that make up a service chain 90 are distributed and deployed to the function servers 53 to 56. Here, it is assumed that the services 91 to 93 are deployed to the servers 53 to 55, respectively.
[0025] The database server 57 holds various databases, which are referenced by the controller 100 and the other servers 52 to 57 (including the service 91).
[0026] The switch 10 is a programmable switch. Packets transmitted and received between the system 1 and the terminals T1 to T3, and packets transmitted and received between the controller 100 and the servers 52 to 57, pass through the switch 10. These packets include the notification packets transmitted and received between the services 91 to 93.
[0027] The switch 10 and the function servers 53 to 56 are optically connected via an optical direct path switch 150. The optical direct path switch 150 is configured to be able to change the connection relationships between the switch 10 and each of the function servers 53 to 56 under the control of the controller 100.
[0028] 2 is constructed in the system 1 by a service registrant. The service registrant operates the registrant terminal T2, logs in to the control server 51 via the switch 10, and constructs the service chain 90 via the control server 51. This construction includes deploying the services 91 to 93 to the function servers 53 to 55, and constructing databases and tables held by the database server 57 that are referenced when the services 91 to 93 perform processing.
[0029] As shown in FIG. 3, the switch 10 includes a plurality of ports 21 to 28, a switching circuit 30, and a storage unit 40.
[0030] The controller 100 and servers 52 to 57 are connected to ports 21 to 27, respectively, and port 28 is connected to the network NW via a router (not shown) or the like. Ports 23 to 26 and function servers 53 to 56 are connected via an optical direct path switch 150 (FIG. 1). Ports 23 to 26 include optical signal / electrical signal converters (as do the ports of servers 53 to 56).
[0031] 4, ports 23 to 26 of the switch 10 are wired to ports 151 to 154 of the optical direct path switch 150. Ports 155 to 158 of the optical direct path switch 150 are wired to function servers 53 to 56, respectively.
[0032] The optical direct path switch 150 also includes eight circulators 159A provided near the ports 151 to 158, which change the optical path for transmission and reception, and a plurality of movable mirrors 159B which reflect the optical signals whose optical paths have been changed by the circulators 159A. In Fig. 4, in the initial state, optical paths connecting the ports 151 to 154 and the ports 155 to 158 are provided, respectively. Therefore, for example, packets are transmitted and received between the port 23 and the function server 53. The orientation of each of the plurality of mirrors 159B is controlled by the controller 100. By controlling this orientation, it is possible to determine which of the ports 151 to 158 are optically connected to which other ports, i.e., the optical direct path switch 150 is controlled.
[0033] 3, the switching circuit 30 is configured to transmit a packet input to the switch 10 from one of the ports 21 to 28 to a port among the ports 21 to 28 that is associated with the destination of the packet. In addition to functioning as a normal switch, the switching circuit 30 also operates as a broker 96.
[0034] Here, the switching circuit 30 is configured as either an ASIC (Application Specific Integrated Circuit) or an FPGA (Field-Programmable Gate Array), or as both.
[0035] When the notification packet is input to the network switch 10, the switching circuit 30 outputs the notification packet (e.g., a notification packet related to the event "Pizza Order") to a port (e.g., port 23) associated with a server (e.g., server 53) on which a service (e.g., service 92) that receives and processes the notification packet is deployed, with this service as the destination. In this way, the switching circuit 30 operates as a broker 96 (FIG. 2).
[0036] The notification packet handled by the switching circuit 30 stores an event ID in a free area in the header or at the beginning of the payload. The beginning area of the payload where the event ID is stored is also referred to as the header. The payload also stores the processing results of the process that generated the event. For example, when the service 91 sends a notification packet notifying the occurrence of the event "Pizza Order" indicating the end of processing by the service 91 and the processing results, the service 91 generates a notification packet that includes the event ID of "Pizza Order" in the header and the processing results of the service 91 (such as the order details extracted from the order) in the payload and sends the notification packet to the service 92. The destination MAC address stored in the header of the notification packet may be, for example, the MAC address of the switch 10. The notification packet may include a service ID that identifies the service that sent it, along with the event ID.
[0037] If a packet is not a notification packet, the packet does not include an event ID. Therefore, the presence or absence of an event ID determines whether the packet is a notification packet, that is, whether it is to be processed by the broker 96. Packets other than notification packets include packets supplied to the service chain 90. The header of the packet stores, as the destination address, the IP address of one of the servers 53 to 57 on which the first service 91 in the service chain 90 is deployed, and the packet includes specification information specifying the service 91, data to be processed (e.g., a pizza order), and the like. This allows the packet to be processed by the service 91. These addresses and specification information may be set by the switching circuit 30 or on the customer terminal T3 side.
[0038] The switching circuit 30 references the event database, server address table, and MAC address table. These are stored in the storage unit 40 of the switch 10 in FIG. 3, but may be stored in and referenced by the database server 57.
[0039] As shown in Fig. 5, the event database is a correspondence table that associates event IDs, sender service IDs, sender service addresses, receiver service IDs, and receiver service addresses with each other. In Fig. 5, the event and service names are used as the event IDs and service IDs, but each ID may be a number or the like.
[0040] The event ID is information for identifying an event, and the same event ID as that included in the notification packet is used.
[0041] The sender's service ID and service address are an ID and address (such as a virtual address) that identify the service that sent the notification packet containing the corresponding event ID.
[0042] The service ID and service address of the receiver are an ID and an address (such as a virtual address) that identify the service to which the notification packet containing the corresponding event ID is sent.
[0043] The server address table is a correspondence table that associates a service address with the MAC address of one of the servers 53 to 56 on which the service of the service address is deployed.
[0044] The MAC address table is a correspondence table that associates each port ID of the ports 21 to 28 with the MAC address of a device such as a server or router connected to the port.
[0045] The event database, server address table, and MAC address table may be constructed by any method. The MAC address table may be automatically updated by the switch 10 using a known method. The event database and server address table are constructed, for example, by a service registrant via the registrant terminal T2.
[0046] As shown in FIG. 6, the switching circuit 30 includes a packet analysis unit 31, an attachment unit 32, a queue 33, and a transmission unit .
[0047] Packets input to the switch 10 are input to the packet analysis unit 31. The packet analysis unit 31 analyzes the input packet and determines whether the packet contains an event ID. For example, the packet analysis unit 31 determines whether the packet contains any of the event IDs registered in an event database. If the packet header does not contain an event ID, the packet analysis unit 31 sends the packet to the queue 33. In this case, the packet is not a notification packet transmitted and received in the service chain. If the packet contains an event ID, the packet analysis unit 31 sends the packet to the assignment unit 32. In this case, the packet is a notification packet transmitted and received in the service chain 90.
[0048] The assigning unit 32 refers to the event database using the event ID included in the packet as a key, and acquires the service ID and service address of the sender that correspond to the event ID.
[0049] The assigning unit 32 then refers to the server address table using the acquired service address as a key to acquire the MAC address corresponding to the service address, thereby identifying the MAC address of one of the servers 53 to 56 on which the service of the service address is deployed.
[0050] The adding unit 32 rewrites the destination address in the header of the notification packet to be processed this time with the MAC address obtained above, and stores the pair of the sender's service ID and service address in any free space in the notification packet. In this way, the adding unit 32 adds information necessary for forwarding the notification packet to the next service to the notification packet. Thereafter, the adding unit 32 sends the notification packet to the queue 33.
[0051] The queue 33 is made up of a predetermined buffer circuit or the like, and stores packets sent sequentially from the packet analysis unit 31 or the attachment unit 32 .
[0052] The transmitter 34 sequentially retrieves packets from the queue 33 and, using the destination MAC address included in the header of the retrieved packet as a key, retrieves the port ID corresponding to the MAC address. The transmitter 34 transmits the currently retrieved packet to the port identified by the retrieved port ID. As a result, the packet is transmitted to the device having the destination MAC address, either the controller 100 or the servers 52 to 57. Furthermore, if the packet is the notification packet, the destination server 53 to 56 of the notification packet causes the service having the service address included in the notification packet to perform processing. This processing uses the processing result of the previous service included in the payload of the notification packet. When the processing is completed, the service generates a new notification packet and returns it to the switch 10. In the above processing, of the service ID and service address, only the service address may be used.
[0053] With the above configuration, the broker 96 functionality is added to the switching circuit 30 on the ASIC and / or FPGA, eliminating the need for multi-threaded processing using CPU resources for broker 96 processing. This reduces overhead such as context switching due to multi-threading, and prevents a deterioration in processing efficiency. Furthermore, reduced latency, reduced tail latency, and increased throughput are expected. Furthermore, the use of an ASIC or FPGA improves power efficiency compared to implementing a broker using a conventional CPU. Furthermore, the reduced number of modules required reduces operational and procurement costs.
[0054] As shown in FIG. 7 , the controller 100 includes a processor 110, a main memory device 120, an auxiliary memory device 130, and an interface 140. The processor 110 includes a CPU (Central Processing Unit) and the like. The main memory device 120 includes RAM (Random Access Memory) and functions as the main memory of the processor 110. The auxiliary memory device 130 includes an SSD (Solid State Drive) and the like, and stores various data in addition to programs. The interface 140 is connected by wire to port 21 of the switch 10 in FIG. 3 .
[0055] The processor 110 executes the programs in the auxiliary storage device 130 to operate as a detector 111, an optical path controller 112, and a deployer 113 shown in FIG. 8.
[0056] The detection unit 111 detects the chain structure of the chained services 91 to 93 and to which of the function servers 53 to 56 each of the services 91 to 93 is deployed. For example, the detection unit 111 monitors the event database and server address table at a predetermined cycle, and identifies the chain structure of the services 91 to 93, that is, the service chain 90, and the server to which each service is deployed (here, MAC address). The chain structure is identified, for example, by linking records where the service address on the receiving side and the service address on the sending side are the same. In the case of the event database of FIG. 5, the chain structure and the deployment destination of each service are as shown in FIG. 9.
[0057] Based on the detection result of the detection unit 111, the optical path control unit 112 rotates the mirror 159B so as to optically connect the function servers 53 and 54, on which the user profile service 91 and the next food delivery service 92, among the services 91 to 93, are deployed. This controls the optical path within the optical direct path switch 150. Similarly, the optical path control unit 112 also controls the optical path within the optical direct path switch 150 so as to optically connect the function servers 54 and 55, on which the food delivery service 92 and the restaurant partner service 93 are deployed, to each other. The state controlled up to this point is shown in FIG. 10.
[0058] As shown in FIG. 9, after the restaurant partner service 93, the food delivery service 92 performs processing again, but as shown in FIG. 10, the function servers 55 and 54 on which the services 93 and 92 are deployed respectively cannot be optically connected.
[0059] In such a case, the deployment unit 113 deploys the food delivery service 92 to the function server 56 that can be optically connected to the function server 55 via the optical direct path switch 150. Then, the optical path control unit 112 controls the optical path within the optical direct path switch 150 so as to optically connect the function server 55 and the function server 56. The state of control is shown in FIG.
[0060] As shown in Figure 11, the above-mentioned units 111 to 113 enable direct optical connection between each of the services 91, 92, 93, and 94 that make up the service chain 90 using the optical direct path switch 150, without going through the switch 10, other servers, etc.
[0061] If the above optical connection is made, the switch 10 will not be able to operate as a broker 96. For this reason, for example, when making the optical connection as shown in Figure 11, the optical path control unit 112 may set a target server among the function servers 53 to 56 so that, when it receives a notification packet containing a specific event ID from the function server on which the service immediately before the service deployed on that server is deployed, the target server will have the service process based on the notification packet. If the optical connection as shown in Figure 11 is made, the switch 10 and the function servers 53 to 56 will not be able to communicate with each other for other services, so it is preferable that a communication path separate from the communication path via the optical direct path switch 150 be secured between them.
[0062] The method of determining the optical connection mode by the optical path control unit 112 (whether optical connection is possible and identifying a server to which optical connection is possible) as described above may be performed using any algorithm prepared in advance in consideration of the structure of the optical direct path switch 150, etc. The optical path control unit 112 and the deployment unit 113 may repeatedly control the optical direct path switch 150 with different contents and deploy services, and each time they are performed, check whether there are any problems with signal transmission. The optical path control unit 112 may control the optical direct path switch 150 by adopting an optical connection that does not cause any problems with signal transmission.
[0063] As described above, in this embodiment, based on the detection result of the detector 111, the optical direct path switch 150 is controlled to optically connect the first server and the second server among the servers 53 to 56, on which the first service and the second service next to the first service among the services 91 to 93 are deployed, respectively. As a result, a broker is not intervened between the first service and the second service among the services 91 to 93, so that the overhead of context switching caused by a conventional broker can be suppressed at least for this portion, and a deterioration in optical processing efficiency can be suppressed. Furthermore, reduced latency, reduced tail latency, and increased throughput can be expected. Furthermore, the optical direct path switch achieves lower latency than when the switch 10 is operated as a broker, and congestion can be avoided.
[0064] Furthermore, when the optical connection is not possible, the second service is deployed to a third server among the function servers 53 to 56 that can be optically connected to the first server by the optical direct path switch 150, and the optical path in the optical direct path switch is controlled so as to optically connect the first server and the third server. This increases the frequency with which optical connection is possible, suppresses the occurrence of overhead due to context switching, and suppresses deterioration of processing efficiency.
[0065] Furthermore, the deployment unit 113 deploys the second service to the third server in addition to the second service deployed to the second server. This allows optical connection to be achieved even when the multiple chained services described above include, for example, the same service. Even when the same service is not included, optical connection using the optical direct path switch 150 may be difficult depending on the deployment location of the service (specifically, the server on which it is deployed). For example, among the services 91 to 93 in FIG. 10 , service 91 is deployed to server 53, service 92 is deployed to server 55, service 93 is deployed to server 56, and no service is deployed to server 54. In such a case, the deployment locations of services 92 and 93 may be changed. That is, the deployment unit 113 may delete the current services 92 and 93, newly deploy services 92 and 93 to servers 54 and 55, respectively, and newly deploy service 92 to server 56, thereby changing the state to that shown in FIG. 11 . In this way, when the first server and the second server on which two consecutive services are respectively deployed cannot be optically connected by the optical direct path switch, the deployment unit 113 may deploy the second service to the third server that can be optically connected to the first server by the optical direct path switch, and may delete the second service deployed to the second server. This also allows the optical connection to be realized by the subsequent control of the optical path control unit 112.
[0066] When the first server and the second server cannot be optically connected by the optical direct path switch 150, the optical path control unit 112 may optically connect the first server and the second server to the network switch (including a switch operating as a broker) 10. This ensures that the first server and the second server have a communication partner.
[0067] The optical direct path switch 150 may have any configuration as long as it has an optical path that optically connects a first server computer and a second server computer among a plurality of server computers on which a first service and a second service among a plurality of chained services are deployed, respectively. The optical direct path switch 150 may also be configured to intervene between the switch 10 and an ingress gateway server 52 or the like.
[0068] The number of function servers, the number of service chains to be deployed, the number of services that make up the service chains, etc. are arbitrary. The functions of the servers 51 to 55 may be assigned to one server computer, or may be distributed and assigned to two or more server computers.
[0069] The hardware configuration of each of the units 111 to 113 of the controller 100 is arbitrary, and at least a part of each of the units 111 to 113 may be configured by an ASIC and / or FPGA. For example, a part or all of the detection unit 111 may be configured by an ASIC.
[0070] A plurality of switches 10 may be provided. For example, a switch 10, a controller 100, servers 52 and 57, etc. may be provided for some of the function servers 53 to 56, and other switches 10, controllers 100, servers 52 and 57, etc. may be provided for the remaining function servers.
[0071] The present invention is not limited to the above-described embodiments and modifications. For example, the present invention includes various modifications to the above-described embodiments and modifications that can be understood by a person skilled in the art within the scope of the technical concept of the present invention. The configurations listed in the above-described embodiments and modifications can be combined as appropriate within a range that does not cause contradictions. In addition, any of the above-described configurations can be deleted.
[0072] (Supplementary Note) Configurations that are examples of the above-mentioned embodiments and modifications are described below. (Supplementary Note 1) A controller configured to control an optical direct path switch to which a plurality of server computers are connected, comprising: a detection unit configured to detect a chain structure of a plurality of chained services and on which of the plurality of server computers each of the plurality of services is deployed; and an optical path control unit configured to control the optical direct path switch to optically connect a first server computer and a second server computer among the plurality of server computers, on which a first service and a second service next to the first service are deployed, based on a detection result of the detection unit. (Supplementary Note 2) The controller according to Supplementary Note 1 further comprises a deployment unit configured to deploy the second service to a third server computer among the plurality of server computers that can be optically connected to the first server computer via the optical direct path switch when the first server computer and the second server computer cannot be optically connected via the optical direct path switch, and the optical path control unit is configured to control the optical direct path switch to optically connect the first server computer and the third server computer. (Supplementary Note 3) The controller according to Supplementary Note 2, wherein the deployer is configured to delete the second service deployed on the second computer. (Supplementary Note 4) The controller according to Supplementary Note 2 or 3, wherein the deployer is configured to deploy the second service on the third server computer in addition to the second service deployed on the second server computer. (Supplementary Note 5) The controller according to any of Supplements 1 to 4, wherein the optical path control unit optically connects the first server computer and the second server computer to a network switch when the first server computer and the second server computer cannot be optically connected by the optical direct path switch. (Supplementary Note 6) A program that causes a computer to function as the controller according to Supplementary Note 1.(Supplementary Note 7) An optical direct path switch to which a plurality of server computers are connected, comprising an optical path that optically connects a first server computer and a second server computer among the plurality of server computers, on which a first service and a second service next to the first service among a plurality of chained services are respectively deployed.
[0073] 1...system, 10...network switch, 21-28...ports, 30...switching circuit, 31...packet analysis unit, 32...addition unit, 33...queue, 34...transmission unit, 40...storage unit, 51...control server, 52...ingress gateway server, 53-56...function servers, 57...database server, 90...service chain, 91...user profile service, 92...food delivery service, 93...restaurant partner service, 95...ingress gateway, 96...broker, 100...controller, 110...processor, 111...detection unit, 112...optical path control unit, 113...deployment unit, 120...main memory device, 130...auxiliary memory device, 140...interface, 150...optical direct path switch, 151-158...ports, 159A...circulator, 159B...mirror, NW...network, T1...administrator terminal, T2...registrant terminal, T3...customer terminal.
Claims
1. A controller configured to control an optical direct path switch connected to a plurality of server computers, comprising: a detection unit configured to detect a chain structure of a plurality of chained services and which of the plurality of server computers each of the plurality of services is deployed on; and an optical path control unit configured to control the optical direct path switch to optically connect a first server computer and a second server computer among the plurality of server computers on which a first service and a subsequent second service among the plurality of services are respectively deployed based on a detection result of the detection unit.
2. The controller of claim 1, further comprising a deployment unit configured to deploy the second service to a third server computer among the plurality of server computers that can be optically connected to the first server computer via the optical direct path switch when the first server computer and the second server computer cannot be optically connected via the optical direct path switch, and the optical path control unit is configured to control the optical direct path switch to optically connect the first server computer and the third server computer.
3. The controller according to claim 2, wherein the deployment unit is configured to delete the second service deployed to the second server computer.
4. The controller of claim 2, wherein the deployer is configured to deploy the second service to the third server computer in addition to the second service being deployed to the second server computer.
5. The controller according to claim 1, wherein the optical path control unit optically connects the first server computer and the second server computer to a network switch when the first server computer and the second server computer cannot be optically connected by the optical direct path switch.
6. A program for causing a computer to function as the controller according to claim 1.
7. An optical direct path switch to which a plurality of server computers are connected, comprising an optical path that optically connects a first server computer and a second server computer among the plurality of server computers, on which a first service and a second service next to the first service among a plurality of chained services are respectively deployed.
Citation Information
Patent Citations
Service placement for inline service changes with multiple instances
JP2016533689A
Optical circuit switch
US20170251285A1
