Login Page - Create Account

Support Board


Date/Time: Tue, 14 May 2024 04:47:55 +0000



Post From: Multiple HISTORICAL_PRICE_DATA_TICK_RECORD_RESPONSE messages agregated

[2016-08-15 14:19:08]
Guilherme - Posts: 66
Is there an optimal number of HISTORICAL_PRICE_DATA_TICK_RECORD_RESPONSE messages to be agregated in a single tcp socket write? I'm trying to "tune" my DTC server, experimenting lots of values for it, but do not find a right one. For now, I'm sending 2500 agregated messages in a single write that I make each second. But client waits too long for the complete historical feed. When I try to increase the number of messages or decrease the time interval of sending them, Sierra gets lost and closes the connection. By the way, I'm using Protocol Buffers encoding.

Ps. I also inceased my server (Linux) tcp buffer size so it could get more data than usual at once.
Date Time Of Last Edit: 2016-08-15 14:19:40