mkvalor
-Interested User-
Posts: 26
Joined: Oct 6, 2020
Keep your tools sharp.
|
Posted: Oct 22, 2022 08:19 PM
Msg. 1 of 4
I'm on the latest stable 6.2 IQFeed client release and I'm very pleased with the software. Yet I'm also a server software engineer and I know that eventually, with heap memory fragmentation, etc, it's usually best to restart a network server such as IQConnect.exe at some reasonable interval (usually measured in days). I currently close all connections and allow it to exit automatically each night. But, for all I know, perhaps some of my fellow developers keep it running with clients connected for weeks/months at a time with no issues.
Supposing I had sufficient data subscriptions to keep IQConnect.exe L1/L2, derivative data, and streaming bars busy (but not with overloaded network, RAM, or CPU) during all available US and globex trading hours each week, is there a max recommeded uptime (in days) for keeping it running before a restart? Additional context: I do have scheduled custom clients that wake up before market hours each trading day to grab historical data, so there is definitely a certain level of TCP connection thrashing to IQConnect each day.
Thanks in advance for both IQFeed and other developer answers!
-Mark D. Valor Edited by mkvalor on Oct 22, 2022 at 08:30 PM Edited by mkvalor on Oct 22, 2022 at 11:45 PM
|
aQuant
-Interested User-
Posts: 49
Joined: Jul 20, 2012
|
Posted: Oct 23, 2022 03:52 PM
Msg. 2 of 4
I have been running it for years from Sunday night to Friday night, i.e. a full trading week. No issues. The client has a very small memory footprint.
|
mkvalor
-Interested User-
Posts: 26
Joined: Oct 6, 2020
Keep your tools sharp.
|
Posted: Oct 24, 2022 07:28 PM
Msg. 3 of 4
Quote: I have been running it for years from Sunday night to Friday night, i.e. a full trading week. No issues. The client has a very small memory footprint. Great qQuant, just the type of reply I was looking for, thanks! I noticed this recent reply from DTN_Steve_S in another forum thread mentioning that Saturdays are considered maintenance days [1]: Quote: Hello all, Saturdays are our routine maintenance days. This involves server reboots and software restarts and, on occasion, can cause requests to fail. We typically try to keep it limited to the morning on Saturdays but sometimes it runs longer. Trying to avoid Saturday mornings for data downloads would be recommended if possible and keeping in mind that request failures should be expected during this time if you are working with our API. So putting it all together, it seems that allowing IQConnect to shut down Fridays at the close of US trading hours and restarting it on Sundays (to grab historical data and begin off-hours quotes) may be ideal. [1] http://forums.dtn.com/index.cfm?page=topic&topicID=5776 -Mark D. Valor
|
DTN_Gary_Stephen
-DTN Guru-
Posts: 403
Joined: Jul 3, 2019
|
Posted: Oct 26, 2022 11:28 AM
Msg. 4 of 4
I'm not aware of any official recommendations for this, but I'll see what I can find out. What DTN_Steve_S is correct, though: if we need to do maintenance, it's on Saturdays, to be as unintrusive as possible with market activity.
Sincerely, Gary Stephen DTN IQFeed Implementation Support Specialist
|
|
|
|