Skip to content
This repository was archived by the owner on Jul 3, 2019. It is now read-only.
This repository was archived by the owner on Jul 3, 2019. It is now read-only.

Websocket Extension for control inputs to the WebServer #84

@ausshir

Description

@ausshir

As a result of the previous testing session in Drumheller, I noticed that the WebServer process is extremely sensitive to routing+DNS because of the HTTP protocol we are using to send data.

The current system requires a new socket to be opened for every message, and the tcp exchange to be successful (meaning it also will retry until getting delivered). If some part of this long process is delayed, the current HTTP protocol will also delay any future messages so they don't arrive out of order.

For something like joysticks, we need a more streamlined data flow. The current websocket protocol looks promising, but it is still TCP (not fixing out delay problem). However, once the connection does establish, it should be a lot more reliable.

https://www.tutorialspoint.com/html5/html5_websocket.htm on the webpage side
https://github.com/zeekay/bottle-websocket on the webserver side (maybe?)

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions