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 used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"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 am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
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: Tue May 7, 2024 1:18 PM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003