Chunked transfer encoding
To better control large result sets, JSON and RDF/XML response payloads can be streamed back to the client as chunks using chunked transfer encoding.
You can enable or disable chunking in a chunking section
of the server configuration JSON file
$OMNIHOME/etc/restos/servercfg.json.
You can also define the chunk size and how many rows identify the
result set to be large enough to use chunking. The default values
are as follows:{
"chunking" : {
"enabled" : true,
"rowSetSize" : 50,
"size" : 52428
}
}The following are the available chunking
values:- enabled: Enable or disable the chunking capabilities.
The default is
True. - rowSetSize: The number of rows in the result
set before chunking is considered. The default is
50. - size: The size of chunk to use. The default
is
50K base 2.