Title of Invention

A BENCHMARK REQUEST INJECTOR DEVICE FOR USE IN NETWORK SYSTEM

Abstract A bench mark request injector device for network system comprising a request file generator, a request manager and injector process(es), the said request file generator consists of a means to generate requests (request file) based on predefined conditions that simulate real life scenarios, means to read the request file and sort requests based on user identifiers; the said request manager consists of means for injecting requests to the system under test and each of the said injector process consists of means of controlling request injection rates to monitor system response under different loads, means for capturing the responses to the injected requests and means for viewing/reporting the response times for requests.
Full Text FORM-2 THE PATENTS ACT, 1970
(39 of 1970)
COMPLETE
Specification
(Section 10; rule 13)
A BENCHMARK REQUEST INJECTOR

TATA CONSULTANCY SERVICES LIMITED
of Bombay House, 24, Sir Homi Mody Street, Mumbai 400 001,
an Indian Company
THE FOLLOWING SPECIFICATION PARTICULARLY DESCRIBES THE NATURE OF THIS INVENTION AND THE MANNER IN WHICH IT IS TO BE PERFORMED:-

This invention relates to a Benchmark Request Injector/
More particularly, this invention relates to a Benchmark Request Injector capable of simulating high request load scenarios such as used in Stock Exchange and other high performance on-line transaction processing systems.
In order to ensure that critical systerns, applications and websites can handle large number of concurrent users and sustained peak loads it is necessary to have a benchmarking tool that is able to inject thousands of requests per second into the system under test. The injector must also be able to generate requests that simulate real-life situations/not only in terms of transactions per second but also the type of transaction and -typical user behavioral patterns.
Online transaction processing applications typically require to be tested for thousands of concurrent users. The performance of an application is very sensitive to its input workload. Typically, workload will include number of concurrent users, rate of transactions, transaction mix and data access patterns.
Given the high performance requirements of today"s online transaction processing systems, it is imperative that every application be thoroughly tested for performance and scalability. This is achieved by having an external component to the application that simulates its workload. Such a simulator is referred to as Request Injector in this specification.

We Claim:


1. A bench mark request injector "comprising a request file generator, a request manager and injector process(es), the said request file generator consists of a means to generate requests (request file) based on predefined conditions that simulate real life scenarios, means to read the request file and sort requests based on user identifiers; the said request manager consists of means for injecting requests to the system under test and each of the said injector process consists of means of controlling request injection rates to monitor system response under different loads, means for capturing the responses to the injected requests and means for viewing/reporting the response times for requests.
2. The benchmark request injector as claimed in claim 1, wherein the said user identifiers are user id, seat id and the like.
3. The benchmark request injector as claimed in claim 1, which includes means for simulating user connections (sign-on) to the system under test.
4. The benchmark request injector, as claimed in claim 1, wherein the said request file generator takes as input, ranges for access point id, security id, order price and quantity, percentage of buy orders, for generating a pre-specified number of requests, into/an as input

5. The benchmark request injector, as claimed in claim 1, wherein the said request file stores the requests generated by the request file generatori for injecting into the system under test by the request manager in a controlled manner.
6. The benchmark request injector as claimed in claim 1, wherein request file consists of requests from a real life scenario, for playing back real life data and monitoring the system performance.
7. The benchmark request injector, as claimed in claim 1, wherein each of the injector process simulates a certain number of users and establishes as many TCP/IP connections to a system under test.
8. The benchmark request injector, as claimed in claim 1 or 7, wherein each of the said injector process contains two threads, a forward thread for sending the specified requests and a reverse thread for receiving the requests and trade confirmation responses.
9. The benchmark request injector, as claimed in claim 1, wherein each injector process contains a highland a low water mark.
10.The benchmark request injector, as claimed in claim 1 or 4, wherein the parameter file

contains number of orders to be generated, the minimum and maximum buy prices, the minimum and maximum sell prices, the allowable lot size for the securities, minimum and maximum buy volume, minimum and maximum sell volume, distribution of buy and sell orders, security activity distribution and seat No/user ID activity distribution.
11. The benchmark request injector, as claimed in claim 1 or 10, wherein, a reader is provided, for reading the parameters based on which the requests are created by the request generator and for creating the required distribution arrays based on the parameters, that are used to generate the request rapidly.
12.The benchmark request injector, as claimed in claim 1 or 10, wherein a randomiser is provided for generating random numbers based on a varying seat number and random parameters of the requests, such as security number, user number, order side, order price and order volumes.
13.The benchmark request injector as claimed in claim 1 or 10, wherein, a request generator is provided for creating random requests^fusing the randomiser and creates the required request header, other static parameters of the request and ensures the correctness of the request format.
14.The benchmark request injector, as claimed in claim 1 or 10, wherein a request file writer is provided for writing the requests generated by the request creator to a storage means

15.The benchmark request injector as claimed in claim 1 or 10 wherein a request file reader is provided for reading the requests from the request store and converting the requests to a binary format.
16.The benchmark request injector as claimed in claim 1 or 10, wherein, a request router is provided for reading the routing information from the information store and setting up routing tables and determining the number of memory locations for writing the request data and the number of users for servicing by each memory location.
17.The benchmark request injector, as claimed in claim 1 or 10, wherein request routing parameter file is provided for containing information about the total number of users being simulated and number of request injector processors being used in the test.
18.The benchmark request injector, as claimed is claim 1 or 10, wherein a request writer is provided for writing the request information received from the request router, to the correct memory location.
19.The benchmark request injector, as claimed in claim 1 or 8, wherein the said forward thread is a request sender provided on the request injector, for opening multiple TCP/IP connections to the system under test.
20.The benchmark request injector as claimed in claim 1 or 8, wherein the said reverse thread is a response receiver provided on the

request injector for sharing the multiple TCP/IP connections to the system under test, with the request sender.
2l.The benchmark request injector as claimed in claim 1, wherein log files are provided for writing an entry of request information and the current time stamp by the request sender on injecting each requestj into the test system and for making entry of the response information and the current time stamp on each response received by the response receiver, and enabling an anaylzer tool to generate reports about the performance of the test system, by using the request and response information and corresponding time stamps.
22.The benchmark request injector, substantially as herein described and illustrated in the figures of the accompanying drawings.
Dated this 10th day of September 2004.
Mohan Dewan Of R. K. Dewan & Co. Applicants" Patent Attorney

Documents:

1011-mum-2003-abstract(10-9-2004).doc

1011-mum-2003-abstract(10-9-2004).pdf

1011-mum-2003-cancelled pages(10-9-2004).pdf

1011-mum-2003-claims(canelled).pdf

1011-mum-2003-claims(granted)-(10-9-2004).doc

1011-mum-2003-claims(granted)-(10-9-2004).pdf

1011-mum-2003-claims.doc

1011-mum-2003-claims.pdf

1011-mum-2003-correspondence(3-11-2006).pdf

1011-mum-2003-correspondence(ipo)-(22-5-2007).pdf

1011-mum-2003-correspondence(ipo).pdf

1011-mum-2003-correspondence.pdf

1011-mum-2003-description(granted).doc

1011-mum-2003-description(granted).pdf

1011-mum-2003-drawing(10-9-2004).pdf

1011-mum-2003-drawing.pdf

1011-mum-2003-form 1(21-11-2005).pdf

1011-mum-2003-form 1.pdf

1011-mum-2003-form 18(8-8-2005).pdf

1011-mum-2003-form 2(granted)-(10-9-2004).doc

1011-mum-2003-form 2(granted)-(10-9-2004).pdf

1011-mum-2003-form 2(granted).doc

1011-mum-2003-form 2(granted).pdf

1011-mum-2003-form 2(title page).pdf

1011-mum-2003-form 26.pdf

1011-mum-2003-form 3.pdf

1011-mum-2003-form 5(25-9-2003).pdf

1011-mum-2003-form 5.pdf

1011-mum-2003-form 6(8-9-2004).pdf

1011-mum-2003-form 6.pdf

1011-mum-2003-petition under rule 137(21-11-2005).pdf

1011-mum-2003-petition under rule 137.pdf

1011-mum-2003-power of attorney.pdf

abstract1.jpg


Patent Number 207342
Indian Patent Application Number 1011/MUM/2003
PG Journal Number 31/2008
Publication Date 01-Aug-2008
Grant Date 06-Jun-2007
Date of Filing 25-Sep-2003
Name of Patentee TATA CONSULTANCY SERVICES LIMITED
Applicant Address BOMBAY HOUSE, 24, SIR HOMI MODY STREET, MUMBAI 400 001., MAHARASHTRA
Inventors:
# Inventor's Name Inventor's Address
1 ESMAIL MUZAMMAL TATA CONSULTANCY SERVICES LTD., PARK WEST, RAHEJA ESTATE, KULUPWADI ROAD, BORIVALI (E), MUMBAI 400 066.
2 SHASTRI KJRAN Tata Consultancy Services Ltd., Park West, Raheja Estate, Kulupwadi Road, Borivali (E), Mumbai 400066
3 MANSHARAMANl RAJESH of Tata Consultancy Services Ltd., Park West, Raheja Estate, Kulupwadi Road, Borivali (E), Mumbai 400066
PCT International Classification Number G06F 11/34
PCT International Application Number N/A
PCT International Filing date
PCT Conventions:
# PCT Application Number Date of Convention Priority Country
1 NA