System and method for management of requests
First Claim
Patent Images
1. A method performed by a server computer for facilitating management of a request from a user computer, said method comprising:
- receiving, by said server computer, said request from said user computer;
storing said request into a first queue;
generating a trigger message in response to said request;
storing said trigger message in a second queue;
retrieving business logic corresponding at least in part to said request;
storing a message corresponding to said request into a thread count queue, a number of messages stored in said thread count queue corresponding to a number of threads that have begun executing;
determining a number of executing threads using said thread count queue;
retrieving said request from said first queue;
determining a number of threads to execute said request;
spawning new threads to process said request based upon said number of executing threads and said number of threads to execute said request;
tracking said number of executing threads with respect to said thread count queue to prevent over spawning;
formatting a reply message corresponding to said request, wherein said formatting is based upon said business logic; and
storing said reply message into a third queue.
5 Assignments
0 Petitions
Accused Products
Abstract
The present invention provides an online messaging architecture configured to process incoming request messages and provide reply messages in an efficient manner. The invention reduces processing overhead within a mainframe computing environment were individual requests are treated as individual transactions by instead storing requests within a queue, spawning necessary processes according to the queue and processing multiple transactions in a pseudo batch manner.
-
Citations
6 Claims
-
1. A method performed by a server computer for facilitating management of a request from a user computer, said method comprising:
-
receiving, by said server computer, said request from said user computer; storing said request into a first queue; generating a trigger message in response to said request; storing said trigger message in a second queue; retrieving business logic corresponding at least in part to said request; storing a message corresponding to said request into a thread count queue, a number of messages stored in said thread count queue corresponding to a number of threads that have begun executing; determining a number of executing threads using said thread count queue; retrieving said request from said first queue; determining a number of threads to execute said request; spawning new threads to process said request based upon said number of executing threads and said number of threads to execute said request; tracking said number of executing threads with respect to said thread count queue to prevent over spawning; formatting a reply message corresponding to said request, wherein said formatting is based upon said business logic; and storing said reply message into a third queue. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer-readable storage medium storing thereon a set of instructions executable by a general purpose computer configured to perform a method for facilitating management of a request from a user computer, said method comprising:
-
receiving a request from said user computer; storing said request into a first queue; generating a trigger message in response to said request; storing said trigger message in a second queue; retrieving business logic corresponding at least in part to said request; storing a message corresponding to said request into a thread count queue, a number of messages stored in said thread count queue corresponding to a number of threads that have begun executing; determining a number of executing threads using said thread count queue; retrieving said request from said first queue; determining a number of threads to execute said request; spawning new threads to process said request based upon said number of executing threads and said number of threads to execute said request; tracking said number of executing threads with respect to said thread count queue to prevent over spawning; formatting a reply message corresponding to said request, wherein said formatting is based upon said business logic; and storing said reply message into a third queue.
-
Specification