Skip to content
This repository has been archived by the owner on Aug 29, 2023. It is now read-only.

WebSockets for ECT WebAPI

Norman Fomferra edited this page Oct 9, 2016 · 2 revisions

Why do we consider WebSockets for WebAPI - GUI communication? Here are a few reasons:

  • With WebSockets, the GUI is notified by any state changes, it doesn't need to poll for it using REST
  • A highly responsive GUI requires numerous requests for polling state ** Progress changes from parallel tasks ** Data (workflow step) changes to multiple views
  • This multiplies by number of users which we'll later have when using the WebAPI in the cloud

But: By using Cesium and/or OpenLayers for the GUI, we may still be forced to implement a local, RESTful tiled image service so we can display tiled image layers such as Web Map Tile Service and similar.

WebSockets Intro

WebSockets vs. REST

Getting Started