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)




"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
"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
"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"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
"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
"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
"Thanks for all of your help. Great customer service deserves to be recognized which one the reasons I've been a customer of DTN for over 10 years!" - Comment from Stuart
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
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) »DTN.IQ Client Software Support »Performance with multiple socket clients to IQconnect.exe
Author Topic: Performance with multiple socket clients to IQconnect.exe (2 messages, Page 1 of 1)

mvo
-Interested User-
Posts: 8
Joined: Apr 8, 2009


Posted: Aug 4, 2011 08:19 PM          Msg. 1 of 2
Hi,
How much extra CPU and network traffic overhead is added when I connect two (as opposed to one) instances of my socket-based application to IQconnect? Both instances are requesting the identical data in terms of the ticker list and dynamic fields.
I tried that a couple days ago and didn't see any noticeable increase in CPU utilization - just want to confirm my observation. CPU stayed at around 15% for 1300 tickers.

What happens if second app is requesting the same fields as the first app plus some more? Will IQconnect be delivering just a single superset of two requested subsets and then distribute whatever is requested by each or will it stream over the Internet two separate sub-feeds for two clients?

Thanks

DTN Brian Wood
-Interested User-
Posts: 17
Joined: Jun 2, 2004


Posted: Aug 5, 2011 10:38 AM          Msg. 2 of 2
You should be able to make multiple socket connections to IQFeed, as long as they are all on the same machine. IQFeed is designed to have multiple socket connections and applications connected to it.

In IQFeed, the minimal number of connections needed is made to the DTN servers. The communications to the server is compressed binary to minimize traffic over the internet. IQFeed maintains its own internal symbol, data, and client lists, and then sends out the data as needed by the clients to minimize duplication of data.

Adding a second client watching the same data just adds a little overhead of sending out an update to two or more socket connections instead of one, which shouldn't affect IQFeed an extra lot. The data is received once from the servers and then just sent out as much as needed by the client applications.

The more symbols you watch and the more clients you have running or additional socket connections you maintain to IQFeed, the more efficient your application code might need to be to run well.

Visit our new online forums! DTN employees actively monitor the forums to provide you the highest level of support in the industry. Our forums also has an announcements area where you can learn about new features or changes within DTN. You can even use the forums to exchange trading ideas or tips and tricks on how you use your DTN data to be more profitable.

Go to http://forums.dtniq.com now to start sharing information with fellow DTN subscribers!
 

 

Time: Sun May 5, 2024 4:50 PM CFBB v1.2.0 12 ms.
© AderSoftware 2002-2003