@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:

https://github.com/xrootd/xrootd/blob/f00acdc7559b5189583945b4c27e06dc2637df3e/src/XrdCl/XrdClURL.cc#L496

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.Message ID: <xrootd/xrootd/pull/1824/c1321879048@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1824#issuecomment-1321879048", "url": "https://github.com/xrootd/xrootd/pull/1824#issuecomment-1321879048", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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