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)




"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"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 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
"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
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"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
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 17, 2024 7:07 AM CFBB v1.2.0 9 ms.
© AderSoftware 2002-2003