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)




"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
"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
"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
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"I ran your IQFeed DDE vs. my broker vs. a level II window for some slow-moving options. I would see the level II quote change, then your feed update instantaneously. My broker's DDE, however, would take as much as 30 seconds to update. I am not chasing milliseconds, but half a minute is unacceptable." - Comment from Rob
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
"Everything is working great ! Very impressive client. The news refreshes better and is more pertinent than the ******* feed I paid $ 100/month for. I Also like the charts a lot." - Comment from Leon
"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
"IQFeed version 4 is a real screamer compared to anything else I have seen." - Comment from Tom
"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
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: Wed May 1, 2024 11:12 PM CFBB v1.2.0 11 ms.
© AderSoftware 2002-2003