@smithdh : thanks a lot for the PR. Your observation is absolutely correct, that said if you use the whole URL as the key it will make the client open a new connection for every single file, which would kill the performance.
Instead of using the full url as the key, I would change the GetChannelID
method and replace:
with
std::string ret = pProtocol + "://" + pHostId + "/";
I think this should work, maybe you could give it a try?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1