For higher performance, especially with large data sets, it would be useful to provide a web socket connection to stream binary data from. This would be faster than a JSON request/response not only because binary data would be more compact, but also if a streaming binary format is used clients could begin to render / work with data incrementally instead of waiting for the entire data set to transfer over the network before starting to work with it.
For higher performance, especially with large data sets, it would be useful to provide a web socket connection to stream binary data from. This would be faster than a JSON request/response not only because binary data would be more compact, but also if a streaming binary format is used clients could begin to render / work with data incrementally instead of waiting for the entire data set to transfer over the network before starting to work with it.