Monday, April 4, 2016

HTML5/Web Socket Realtime trading App feasible ?


1. WebSocket is bi-directional, full-duplex, single tcp conn, lean
2. Keypad support --- how web gui knows keypad, vendor javascript?
3. javascript development framework? DI, MVVM, Formatter (Augular2)
4. Browser vs store app on Win8/10  --- if wait a few years, no need for OpenFin
5. Testing and Perf/diag tools.  (Karma, Protractor)
6. Java WS-Server =Model/Service WS-Duplex =DataProvider Augular=VM/Xaml/DataBinding
7. Performance:  WS-Dup > Rx ? Angular >Xaml ? javascript databinding > C# databinding ?


Possible issues
(1) Floating window out of range in multi-monitor
(2) how do you resize windows from OpenFin? infinitely small ?
(3) How could two network traffics not reduce performance? (WS and Streambase)
    in WPF WS is replaced by Rx in memory.
(4) WebSocket Play!Framework vs. raw Tcp comparison 10x slower
     http://eng.kifi.com/websockets-vs-regular-sockets/

intranet: use Tcp Socket
internet WebSocket init using Http then negotiate WS protocol to be Tcp like



No comments:

Post a Comment