jow- / luci-ng

LuCI on Angular
84 stars 26 forks source link

(feat) Switch to websockets based transport for Ubus #43

Open ianchi opened 7 years ago

ianchi commented 7 years ago

In some talks we have agreed on the benefits of using websockets instead of HttpRequests as transport for ubus calls. While being more performant for many small calls, it will enable the possibility to use UBUS subscriptions and server-push notifications. ( Some background on #42) As this requires as a precondition to add websocktes support to uHttpd, we are leaving this issue open till that moment, to track any related discussion. In the meantime, the approach in Luci-ng will be to implement a Ubus service as an abstraction layer, so when later changing transport it is mostly transparent for the rest of the application, and only new possibilities should be build.

nicopace commented 7 years ago

@jow- do you have a roadmap for this? also... felix was involved in that conversation