uudruid74 / shellinabox_fork

Comprehensive update including all known patches, plus my own
Other
6 stars 0 forks source link

Performance #6

Open uudruid74 opened 7 years ago

uudruid74 commented 7 years ago

Websockets ... https://github.com/shellinabox/shellinabox/issues/111

Mosh on WebRTC? ... https://github.com/shellinabox/shellinabox/issues/277

We may want to leverage session management as part of WebRTC, possibly out-of-order transport mechanisms for ^C and maybe other features of mosh directly. The multiple stream options of webrtc could allow for file transport (drag-n-drop file uploads!) and direct support for tabs in the browser rather than relying on a backend such as tmux. This would greatly extend compatibility since swipe gestures to switch tabs can be done without sending data to the client and only opening/closing of tabs would send data, and then it would be OOB. There are a lot of possibilities here!!

Xterm.js uses Websockets. The performance is definitely superior. I think an option for WebRTC (with a fallback to current methods when unavailable) would give us a best of all worlds moving forward.