Claims
- 1. A computer-implemented method of responding to a batch of requests from a client, the method comprising:
a) traversing the requests and generating responses until the size of the responses are less than a desired amount, the responses comprising a first set of responses; b) appending a header to the first set of responses; c) compressing the first set of responses; d) traversing the remaining requests and generating additional responses in response to traversing each request until the size of the additional responses and other contents of the buffer are less than the desired amount, the additional responses comprising an additional set of responses; e) appending an additional header to the additional set of responses; and f) sending the headers and sets of responses to the client.
- 2. The method of claim 1, further comprising, prior to sending the buffer:
g) compressing the additional set of responses; and h) repeating steps d), e) and g) until the headers and the sets of responses have reached a size that is the desired amount or until the requests have all been traversed.
- 3. The method of claim 1, wherein the desired amount corresponds to a size of a set of responses that the client is configured to process.
- 4. The method of claim 1, wherein the desired amount is related to buffer that is established for holding the sets of responses and the headers.
- 5. The method of claim 1, further comprising, prior to step d), generating an inbound request for processing of requests.
- 6. The method of claim 5, wherein the inbound request is a pseudo remote procedure call.
- 7. A computer-readable medium having computer-executable instructions for performing the method recited in claim 1.
- 8. A computer-implemented method of responding to a batch of requests from a client, the method comprising:
a) traversing the requests and generating responses in response to traversing each request until the size of the responses fills a desired amount of a first frame within a buffer at the server, the responses comprising a first set of responses, the size of the first frame being related to a size of a set of responses that the client is configured to process, and the size of the first frame being less than the size of the buffer; b) appending a header to the first set of responses; c) traversing the remaining requests and generating additional responses in response to traversing each request until the size of the responses fills a desired amount of an additional frame within the buffer, the additional responses comprising an additional set of responses, the size of the additional frame being related to a size of a set of responses that the client is configured to process or the remainder of the buffer, whichever is smaller, and the size of the additional frame being less than the size of the buffer; d) appending an additional header to the additional set of responses; and e) sending the contents of the buffer to the client.
- 9. The method of claim 8, further comprising:
f) prior to step c), compressing the first set of responses.
- 10. The method of claim 9, further comprising:
g) prior to step e), compressing the additional set of responses.
- 11. The method of claim 10, further comprising, repeating steps c), d), and g) until the buffer is filled a desired amount.
- 12. The method of claim 8, further comprising, repeating steps c) and d) until the buffer is filled a desired amount.
- 13. The method of claim 8, further comprising, prior to step c), generating an inbound request for processing of requests.
- 14. The method of claim 13, wherein the inbound request is a pseudo remote procedure call.
- 15. A computer-readable medium having computer-executable instructions for performing the method recited in claim 8.
- 16. A computer-readable medium having stored thereon a data structure, comprising:
a plurality of requests for operations; and an indication that responses to the requests should be returned via chaining.
- 17. The data structure of claim 16, wherein chained comprises:
a) assembling a first set of responses; b) appending a header to the first set of responses; and c) repeating a) and b) for one or more additional sets of responses.
- 18. The data structure of claim 17, further comprising an indication that sets of responses should be compressed.
- 19. The data structure of claim 18, further comprising an indication of the size limit of the sets of responses before compression.
- 20. The data structure of claim 17, further comprising an indication of the size limit of the sets of responses.
- 21. A method for transferring data between a server and a client, the method comprising:
a) receiving a plurality of requests from a client, including a request for a chaining of responses to the requests; b) assembling a first set of responses to the client; c) compressing the first set of responses; d) appending a header to the first set of responses; e) repeating (b) through (d) for one or more additional sets of responses; and f) sending the compressed sets of responses and headers together to the client.
- 22. The method of claim 21, further comprising, prior to step e), generating an inbound request for processing of requests.
- 23. The method of claim 22, wherein the inbound request is a pseudo remote procedure call.
- 24. A computer-readable medium having computer-executable instructions for performing the method recited in claim 21.
REFERENCE TO RELATED APPLICATION
[0001] This application claims the benefit of the filing date of U.S. provisional application serial No. 60/428153, filed Nov. 20, 2002, and incorporated herein by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60428153 |
Nov 2002 |
US |