Print

Print


@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 or view it on GitHub:
https://github.com/xrootd/xrootd/pull/1824#issuecomment-1321879048
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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