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 just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"I was with ******* for 4 years at $230 a month, this is a huge savings for me, GOD BLESS YOU PEOPLE," - Comment from T.S. via Email
"Everything is working great with the API. I love it." - Comment from Calvin
"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
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"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 just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"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
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: Fri May 3, 2024 3:15 AM CFBB v1.2.0 13 ms.
© AderSoftware 2002-2003