Is there a performance advantage to using the IB Gateway rather than TWS for IB API orders? I see a lot of order latency at the open using IB. Normally I get order acks within a 100 - 200ms, but at the open, it may take 5-10 seconds before I get order messages for NSDQ equity orders. Not sure if this is because the IB network is very busy at the open or if there is delay while my system is stuck doing "just in time" compiliations of the pile of TWS java code, swapping in or other navel gazing. I dont think it is network delay. My other trading system running on the same computer using TS doesnt have this delay, nor is the CPU or network pegging during the opening bell. One clue is that I sometimes get a handful of orders to process quickly within a 100 or so ms, then there is a several second pause before further orders are processed, but not always. Sometimes the delay is right from the very first order. I might issue 50 or so orders for different symbols based on the opening print from a IQfeed data feed. Network is FIOS. 5-10 second order latency is a problem! Any suggestions?