Patentable/Patents/US-10891176
US-10891176

Optimizing messaging flows in a microservice architecture

PublishedJanuary 12, 2021
Assigneenot available in USPTO data we have
Inventorsnot available in USPTO data we have
Technical Abstract

In a distributed system with a microservice architecture having a plurality of services and a messaging layer for communication therebetween, systems and methods include receiving messages from a first service to a second service in the messaging layer; queuing responses from the messages; and utilizing one or more bulk messaging techniques to send the responses back to the first service from the second service. The systems and methods can also include maintaining statistics related to the one or more bulk messaging techniques; and automatically determining which of the one or more bulk messaging techniques based on the statistics, to minimize latency of the messaging layer.

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A non-transitory computer-readable medium comprising instructions that, when executed, cause a processor to perform the steps of: in a distributed system with a microservice architecture having a plurality of services and a messaging layer between an application layer and a transport layer for communication between the plurality of services, receiving messages from a first service to a second service in the messaging layer; queuing responses from the messages; and utilizing one or more bulk messaging techniques to send the responses back to the first service from the second service, wherein the messaging layer is configured to perform the queuing the responses and the utilizing the one or more bulk messaging techniques independent of the first service, the second service, and the transport protocol of the transport layer.

2

2. The non-transitory computer-readable medium of claim 1 , wherein the instructions that, when executed, further cause the processor to perform the steps of maintaining statistics related to the one or more bulk messaging techniques; and automatically determining which of the one or more bulk messaging techniques based on the statistics, to minimize latency of the messaging layer.

3

3. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include any of time window-based bulking, counter-based bulking, size-based bulking, and transaction-based bulking.

4

4. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include multiple bulk messaging techniques, selected to minimize latency of the messaging layer.

5

5. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include time window-based bulking where the queuing is over a predetermined time window.

6

6. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include counter-based bulking where the queuing is based on a counter.

7

7. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include size-based bulking where the queuing is based on a size of each response.

8

8. The non-transitory computer-readable medium of claim 1 , wherein the one or more bulk messaging techniques include transaction-based bulking where the queuing is based on a transaction tag.

9

9. The non-transitory computer-readable medium of claim 1 , wherein the first service is configured to provide information in one or more of the messages related to the one or more bulk messaging techniques.

10

10. An apparatus comprising: a processor and memory comprising instructions that, when executed, cause the processor to execute a messaging layer, between an application layer and a transport layer, for communication between a plurality of services in a distributed system with a microservice architecture, wherein the messaging layer is configured to receive messages from a first service to a second service in the messaging layer, queue responses from the messages, and utilize one or more bulk messaging techniques to send the responses back to the first service from the second service, wherein the messaging layer is configured to perform the queuing the responses and the utilizing the one or more bulk messaging techniques independent of the first service, the second service, and the transport protocol of the transport layer.

11

11. The apparatus of claim 10 , wherein the messaging layer is further configured to maintain statistics related to the one or more bulk messaging techniques, and automatically determine which of the one or more bulk messaging techniques based on the statistics, to minimize latency of the messaging layer.

12

12. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include any of time window-based bulking, counter-based bulking, size-based bulking, and transaction-based bulking.

13

13. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include multiple bulk messaging techniques, selected to minimize latency of the messaging layer.

14

14. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include time window-based bulking where the queue is over a predetermined time window.

15

15. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include counter-based bulking where the queue is based on a counter.

16

16. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include size-based bulking where the queue is based on a size of each response.

17

17. The apparatus of claim 10 , wherein the one or more bulk messaging techniques include transaction-based bulking where the queue is based on a transaction tag.

18

18. The apparatus of claim 10 , wherein the first service is configured to provide information in one or more of the messages related to the one or more bulk messaging techniques.

19

19. A computer-implemented method comprising: in a distributed system with a microservice architecture having a plurality of services and a messaging layer between an application layer and a transport layer for communication between the plurality of services, receiving messages from a first service to a second service in the messaging layer; queuing responses from the messages; and utilizing one or more bulk messaging techniques to send the responses back to the first service from the second service, wherein the messaging layer is configured to perform the queuing the responses and the utilizing the one or more bulk messaging techniques independent of the first service, the second service, and transport protocol of the transport layer.

20

20. The computer-implemented method of claim 19 , further comprising maintaining statistics related to the one or more bulk messaging techniques; and automatically determining which of the one or more bulk messaging techniques based on the statistics, to minimize latency of the messaging layer.

Classification Codes (CPC)

Cooperative Patent Classification codes for this invention. Click any code to explore related patents in that topic.

Patent Metadata

Filing Date

August 9, 2019

Publication Date

January 12, 2021

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “Optimizing messaging flows in a microservice architecture” (US-10891176). https://patentable.app/patents/US-10891176

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.