pedohorse / lifeblood

task management system
https://pedohorse.github.io/lifeblood/
GNU General Public License v3.0
19 stars 1 forks source link

TcpMessageStreamPooledFactory should not ALWAYS ping pooled connection #101

Open pedohorse opened 1 month ago

pedohorse commented 1 month ago

cached entries are check for validity with ping command. but this check happens EVERY time send_message is called on client, which, considering bottleneck may be accumulated latency between message servers, may double small message delivery time (and all we have are small messages).

potential solution:

potential problems: