Quote from speculatus:
Java based TWS can easily spend 50-100ms processing your order before submitting it into IB OMS. FIX is the best (and the most complex though) approach.
While FIX is undoubtedly a better approach, I'd like to see some evidence that TWS can take 100 msec to transmit an order. Quite frankly I think that is untrue.
I have have developed a real time charting and screening app in Java. Running on Linux on Intel C2D with 20 charts open and complex screens (such as recalculating market profile and VWAP on every tick for 100 or more stocks), CPU ulilization just about never goes over 25% and is more typically 5%. Coming from a C development background, I have been amazed at Java performance.