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 am very happy I changed. I love the product, but more so I am thrilled with Tech Support. You are knowledgeable, polite, pleasant and professional." - Comment from Pat
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"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
"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
"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
"I had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"Very impressed with the quality of your feed - ******* is a real donkey in comparison." - Comment from A.C. via Email
"Just a thank you for the very helpful and prompt assistance and services. You provided me with noticeably superior service in my setup compared to a couple of other options I had looked at." - Comment from John
"I'm very glad I switched to IQFeed. It's working perfectly with no lag, even during fast market conditions." - Comment from Andy via Email
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 »Garbage data on port 9100 ?!?
Author Topic: Garbage data on port 9100 ?!? (10 messages, Page 1 of 1)

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Oct 22, 2004 02:15 PM          Msg. 1 of 10
Hi,

I'm doing stress tests on my app (and IQFeed) and "hammer in" requests on news and historical data on port 9100.

Now for the third time I experienced, that there are some garbage bytes in the data read from port 9100:
20:56:41:883 (0) Dtn.DtnSocket.Write9100: msg='NH:US:10:0;'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='h-Dl version='1.0'?>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='<news_headlines>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg='</news_headlines>'
20:56:41:923 (0) Dtn.DtnSocket.Read9100: msg=''
20:56:41:933 (0) Dtn.DtnSocket.Read9100: msg=''
20:56:41:973 (0) Dtn.DtnSocket.Read9100: msg='!ENDMSG!'

There have many successful requests on this testing session before, but out of sudden, this problem occured. (the wrong data should read "<?xml...")

Any idea what could be going wrong ?

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

DTN_Steve_G
-DTN IQFeed-
Posts: 28
Joined: Oct 1, 2004


Posted: Oct 22, 2004 02:39 PM          Msg. 2 of 10
Dierk,

I'm not sure what caused this problem. I'll forward it on to the software engineering staff to investigate.

Steve Grunberg
IQFeed Developer Support
DTN Market Access

sasha
-Interested User-
Posts: 54
Joined: Jul 21, 2004


Posted: Oct 22, 2004 05:57 PM          Msg. 3 of 10
Steve,

I think its a general problem "hammering" requests into DTN.

I'd like to refer you to http://forums.dtniq.com/index.cfm?page=topic&topicID=243 so you can do some more analysis.

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Oct 23, 2004 04:59 AM          Msg. 4 of 10
Steve,

Hmm, this scares me.

Has any of you DTN guys tried to reproduce the problem by using the sample code as suggested ? What are the results ?

I don't know if the issues are related, but as for "my" problem: As soon as the beta of next version of TM is out, there will be a public test driver to (hopefully) reproduce this problem. Please contact me on PM, if you need more information.

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

DTN_Steve_G
-DTN IQFeed-
Posts: 28
Joined: Oct 1, 2004


Posted: Oct 25, 2004 08:46 AM          Msg. 5 of 10
Dierk,

Are you referring to the sample code that frankzhou provided within another forum discussion thread ("IQLinkLauncher error report")? If so, it has been sent to our software engineering staff. We'll publish an update on what they find as soon as I get the results.

Steve Grunberg
IQFeed Developer Support
DTN Market Access

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 08:44 AM          Msg. 6 of 10
Here is more garbage data on port 9100:

(x lversion='1.0'?><news_headlines></news_headlines>

I experienced that problem on tracking 100 NASDAQ stocks as the market opened some minutes ago. I have 3 threads running on all 3 ports at the same time.

At this very moment that PC had a processor load of ~10%. Thus, I can't be related to processor load.

Is this issue related to: http://forums.iqfeed.net/index.cfm?page=topic&topicID=304 ?

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 08:49 AM          Msg. 7 of 10
After that event, my app crashed a minute later or so.

A Windows runtime box came up and indicated me, that the problem was not in my pure .NET code (which did run in debugger) but in native Win32 code. At this very moment, the only Win32 code loaded was "IQ32.dll".

There really is some issue, you should take care of. Please let me know what's going wrong there.

Regards


Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Edited by Dierk Droth on Nov 10, 2004 at 10:18 AM

DTN_Natalie_H
-DTN Evangelist-
Posts: 175
Joined: May 10, 2004

DTN Market Access, LLC.


Posted: Nov 10, 2004 10:09 AM          Msg. 8 of 10
Dierk,

I think this issue is the same as the post titled "How can I ever get a message "Pt4" at port 9100 ?" because we are dealing with garbage and port 9100 in both posts.

You mentioned have 3 threads running on 3 ports...are the ports 5009, 9100 and 9200?

Also, in an earlier post on Oct 23, 2004 04:59 AM you asked if "Has any of you DTN guys tried to reproduce the problem by using the sample code as suggested ? What are the results ?"

We have tested history requests on port 9100 with our example apps. Were you referring to sample code other than IQFeed's example apps? Also, if you can give me more information on how you are "hammering" requests, I can try to reproduce it here. Thanks!

Natalie Hannan DTN Market Access, LLC.

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 10, 2004 10:27 AM          Msg. 9 of 10
Natalie,

Yep, these threads are running on ports 5009, 9100 and 9200.

Today I did run 2 kind of tests:
- A market data grid to retrieve the market data for the 100 stocks. I modified my app code a bit to eliminate performance impact on my app's end.
- A test suite which basically hammers in requests for historical data.

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best

Dierk Droth
-Interested User-
Posts: 67
Joined: Aug 11, 2004


Posted: Nov 11, 2004 10:09 AM          Msg. 10 of 10
I just had this problem again:
- I did run tests on hammering in requests on historical data
- and had a skype voice chat session on the same internet connection

Regards

Dierk Droth
www.trademagic.net
TradeMagic - Trading at its best
 

 

Time: Wed April 24, 2024 8:13 PM CFBB v1.2.0 10 ms.
© AderSoftware 2002-2003