datawave icon indicating copy to clipboard operation
datawave copied to clipboard

Design new websocket interface

Open klucar opened this issue 5 years ago • 3 comments
trafficstars

The current websocket interface has the server close the websocket after the query results are sent to the client. By doing that, the websocket is not adding any functionality over the REST api. It is actually just slowing down communications by having to promote the http connection to websocket before a query can be made.

A websocket interface with a two-way asynchronous message design would enable a modern user interface for datawave.

klucar avatar Jun 19 '20 11:06 klucar

Good to hear from you! Thank you for your observations. Are you working this ticket?

ivakegg avatar Jun 23 '20 13:06 ivakegg

Hey there! I'm not working it yet.

klucar avatar Jun 26 '20 14:06 klucar

I have also noticed that no results are sent until we have an entire page of results. This implementation will send the results as they are available and the client may make the decision to store and batch them in pages, or to display them right away as they are received.

cmitchell avatar May 11 '22 17:05 cmitchell