Is it possible to use Tradeoff Analytics service in such a way to query objective criteria only and have dataset hosted within service? Right now JSON should be posted with all data (options) and columns. If data is large that may increase network traffic. We can update dataset on IBM backend from time to time and use search function with different objective criteria. What is the best way to do that?
hi @krasninja, Tradeoff Analytics service is stateless. That is, it does not save a state between service calls. In each call, you (the application) have to pass the relevant data as input.
There are two strategies to reduce the network traffic:
1) in your application, filter out options' values for columns that are not marked as objectives.
2) If your application support it, in your HTTP request, be sure to pass
Accept-Encoding:gzip header. this will shrink the response payload (to about 10% in big json payloads).
Hope that helps you, David