IP Library Granted Patent US 11,954,539
Granted Patent B1
US 11,954,539 · App. 18/315,688 · Granted Apr 9, 2024

Webhooks use for a microservice architecture application

Inventors: Lluís Esquerda Gras (Barcelona, ES); Rob Serafini (San Francisco, CA); Shane Connelly (San Rafael, CA)
Assignee: KONG INC.
G06F9/542H04L67/02H04L67/288
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,954,539
App. No.
18/315,688
Granted
Apr 9, 2024
Kind
B1
Abstract

Disclosed embodiments are directed at systems, methods, and architecture for configuring event hooks in a microservice architecture-based system. The control plane links a plurality of APIs for a microservice architecture application. Each API includes a data plane proxy that serves traffic for the API from the control plane. The control plane receives an event hook including an event, a source, and a handler. The control plane configures a component of the microservice-architecture-based system to run the handler when the event occurs at the source. When the event occurred at the source, the component runs the handler.

Claims (38)

1. A method comprising:

receiving a request to select and configure a service of a plurality of services of a microservice architecture application, wherein the request includes selection criteria and an event hook including an event, a source, and a handler; and

selecting a first service from the plurality of services to configure based on the selection criteria; and

configuring the first service with the event hook, wherein the configuration causes the first service to run the handler responsive to receiving the event from the source.

2. The method of claim 1 , wherein the selection criteria includes one or more of a geographic region, time zone, time range, and amount of available storage of the first service.

3. The method of claim 1 , further comprising:

receiving, from an external application, a notification that the event occurred at the source, wherein the external application is a messaging program.

4. The method of claim 1 , further comprising:

responsive to receiving a notification that the event occurred at the source, building a second request using a verb, a header, and a payload.

5. The method of claim 4 , wherein the request is a custom HTTP request.

6. The method of claim 1 , further comprising:

responsive to receiving a notification that the event occurred at the source, logging the event and a payload at a database of an application control plane that receives reports of operation of the first service.

7. The method of claim 1 , wherein the first service is compliant with web assembly.

8. A system comprising:

a computer processor; and

a non-transitory computer-readable storage medium storing instructions that when executed cause the computer processor to perform actions comprising:

receiving, at a data plane proxy of a first service, an event hook that configures the first service of a plurality of services of a microservice architecture application, wherein the event hook includes an event, a source, and a handler;

parsing, by the data plane proxy, the event hook based on documentation associated with a structure of the event hook; and

configuring the first service of the plurality of services with the event hook, wherein the configuration causes the first service to run the handler responsive to receiving the event from the source.

9. The system of claim 8 , further comprising:

receiving, from an external application, a notification that the event occurred at the source.

10. The system of claim 9 , wherein the external application is a messaging program.

11. The system of claim 8 , further comprising:

responsive receiving a notification that the event occurred at the source, sending a request to a third party system.

12. The system of claim 11 , wherein the request is a preformatted POST request.

13. The system of claim 8 , further comprising:

responsive to receiving a notification that the event occurred at the source, building a request using a verb, a header, and a payload.

14. The system of claim 13 , wherein the request is a custom HTTP request.

15. The system of claim 8 , further comprising:

responsive to receiving a notification that the event occurred at the source, logging the event and a payload at a database of an application control plane that receives reports of operation of the first service.

16. The system of claim 8 , wherein the data plane proxy is compliant with web assembly.

17. A method comprising:

designating, by an application control plane, a first service of a plurality of services connected via a microservice architecture application to monitor for an event at a second service of the plurality of services, wherein the event and the second service are included in an event hook, the event hook further including a handler;

receiving, from the first service, an indication that the event occurred at the second service; and

running the handler at the second service.

18. The method of claim 17 , wherein the event occurs when the second service runs a function.

19. The method of claim 17 , wherein the application selects the second service for designation based on processing ability and computing resource availability of the plurality of services.

20. The method of claim 17 , wherein the application control plane uses the event hook to determine when the second service is unreachable.

Assignments (2)
SECURITY INTEREST Recorded Feb 28, 2025
From: KONG INC.
To: HSBC VENTURES USA INC.
Reel/Frame 070372/0963 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 11, 2023
From: GRAS, LLUÍS ESQUERDA; SERAFINI, ROB; CONNELLY, SHANE
To: KONG INC.
Reel/Frame 063612/0194 →
Continuity (1)
Continuation 17935531 · Sep 26, 2022