Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!

(Move your cursor to this area to pause scrolling)




"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I use IQ Feed, Great stuff as far as data analysis information, storage and retrieval is concerned." - Comment from Public Forum
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"I've been using IQFeed 4 in a multi-threaded situation for the last week or two on 2600 symbols or so with 100 simultaneous daily charts, and I have had 100% responsiveness." - Comment from Scott
"The service is great, I see a noticeable improvement in my volume profiles over [broker]'s data feed" - Comment from Larry
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »IQFeed Developer Support »Experiencing major latency (up to 45secs+) - please advise
Author Topic: Experiencing major latency (up to 45secs+) - please advise (4 messages, Page 1 of 1)

jonnyb
-DTN Evangelist-
Posts: 122
Joined: Aug 15, 2012


Posted: Jan 1, 2013 12:24 PM          Msg. 1 of 4
Hello,

I'm regularly seeing large delays when comparing T timestamp messages to my local clock, which is frequently synced. By "large" delay I mean anything over 10 secs, but I've seen as large as > 45 secs. I had my ATS set to restart if lag was > 10 secs, but that occurred 3 times just in the first 1.5 hours of trading on Monday so I've had to shut that off. I have two IQFeed accounts that I run concurrently on two different machines and they both experience the same issue simultaneously.

My internet connection is 150 down / 65 up Mbps and I have i7-950 / i7-3930 in the two machines. My accounts watch 500 / 1000 symbols respectively, but I think that should be plenty of hardware to keep up with the feed. That is, unless of course I'm doing something silly in my code, but my thread that reads the live socket doesn't do any work other than offloading "Q" messages to tick queues and updating a timestamp variable with "T" messages.

Could someone please help me troubleshoot this in order to pinpoint the bottleneck? Or is this type of delay not atypical during high volume periods?

Thanks

DTN_Nathan_Bartsch
-IQ Developer-
Posts: 33
Joined: May 3, 2004

Telvent DTN


Posted: Jan 2, 2013 01:38 PM          Msg. 2 of 4
You shouldn't be seeing any delay. Please right-click on the IQFeed connection manager in the system tray and select 'Support' and then click on 'Launch Diagnostics'; the tab labeled 'Client Stats' in the diagnostics application can tell you how much data is currently queued up. If the 'KB Queued' column for your connection is greater than zero that indicates that data has arrived and has been processed by IQFeed but is waiting for your application to have space available in the socket buffer to receive it.

Hopefully that will help you pinpoint the problem. Please let me know either way so that we can quickly resolve any issues that you may have with IQFeed.

Thanks,

Nathan W. Bartsch - Senior Software Engineer - Telvent DTN

jonnyb
-DTN Evangelist-
Posts: 122
Joined: Aug 15, 2012


Posted: Jan 2, 2013 03:39 PM          Msg. 3 of 4
Nathan,

Appreciate the response. This afternoon I closely monitored my latency and 'KB Queued'. Despite many periods with latency in excess of 10 seconds (a couple of which were sustained at > 30s), my 'KB Queued' stat did not budge from 0.00 a single time. Also, my CPU and network utilization never threatens to go above 1%. Finally, for whatever this is worth, I am using the same methodology to measure latency against timestamp requests from Interactive Brokers and I'm not having any issues there. What do we try next?

Thanks again for getting back.

DTN_Nathan_Bartsch
-IQ Developer-
Posts: 33
Joined: May 3, 2004

Telvent DTN


Posted: Jan 3, 2013 06:53 AM          Msg. 4 of 4
Please send me a private message with your login ID so that I can monitor your connection. None of our quote servers had any latency exceeding one second yesterday so we'll need to troubleshoot where the problem is occurring with your connection.

Thanks,

Nathan W. Bartsch - Senior Software Engineer - Telvent DTN
 

 

Time: Fri April 26, 2024 3:46 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003