[Hawkular-dev] Hawkular Inventory 0.6.0.Final released
Jiri Kremser
jkremser at redhat.com
Thu Oct 15 10:07:32 EDT 2015
> what is streaming serialization
It's not probably officially called like that, but it means that instead of firstly serializing the objects into JSON and then returning the string as a response to the REST request, we return the InputStream so that clients start receiving the response sooner and it streams the content. Internally there is a thread pool executor that feeds the input stream in parallel using the Piped{Input|Output}Streams. It makes sense for longer responses, try
curl -u jdoe:password http://localhost:8080/hawkular/inventory/graph
..for instance
More information about the hawkular-dev
mailing list