Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ISILON slow authentication with large container #114

Open
rlMaica opened this issue Aug 18, 2016 · 1 comment
Open

ISILON slow authentication with large container #114

rlMaica opened this issue Aug 18, 2016 · 1 comment

Comments

@rlMaica
Copy link

rlMaica commented Aug 18, 2016

Hello, I have an application accessing the ISILON with JOSS, my folder structure is quite extensive and end up having only 5 files per folder.

My problem is due to the large volume of files in the ISILON, the greater the number of files, the slower your login.

This is because, after the GET request to get the token, it performs a HEAD request to get the container metadata.

Currently, 2 million hosted files, the response time of the HEAD request is 50 minutes.

Would disabling such a request?

Below the log:

DEBUG main - >> GET /auth/v1.0/myroot/0001 HTTP/1.1
DEBUG main - >> X-Storage-User: myuser:myuser
DEBUG main - >> X-Storage-Pass: mypass
DEBUG main - >> Host: 10.0.0.0:28080
DEBUG main - >> Connection: Keep-Alive
DEBUG main - >> User-Agent: Apache-HttpClient/4.2.1 (java 1.5)
DEBUG main - << "HTTP/1.1 200 OK[\r][\n]"
DEBUG main - << "Content-Length: 99[\r][\n]"
DEBUG main - << "Content-Type: application/json; charset=utf-8[\r][\n]"
DEBUG main - << "Date: Thu, 18 Aug 2016 16:15:03 BRT[\r][\n]"
DEBUG main - << "X-Auth-Token: AUTH_tk711953cd2cb1023c1b90dba84519d92e[\r][\n]"
DEBUG main - << "X-Storage-Token: AUTH_tk711953cd2cb1023c1b90dba84519d92e[\r][\n]"
DEBUG main - << "X-Storage-Url: http://10.0.0.0:28080/v1/AUTH_myuser[\r][\n]"
DEBUG main - << "X-Trans-Id: txd653627813ba4365a6d33-0057b60937[\r][\n]"
DEBUG main - << "[\r][\n]"
DEBUG main - Receiving response: HTTP/1.1 200 OK
DEBUG main - << HTTP/1.1 200 OK
DEBUG main - << Content-Length: 99
DEBUG main - << Content-Type: application/json; charset=utf-8
DEBUG main - << Date: Thu, 18 Aug 2016 16:15:03 BRT
DEBUG main - << X-Auth-Token: AUTH_tk711953cd2cb1023c1b90dba84519d92e
DEBUG main - << X-Storage-Token: AUTH_tk711953cd2cb1023c1b90dba84519d92e
DEBUG main - << X-Storage-Url: http://10.0.0.0:28080/v1/AUTH_myuser
DEBUG main - << X-Trans-Id: txd653627813ba4365a6d33-0057b60937
DEBUG main - Connection can be kept alive indefinitely
DEBUG main - << "{"storage": {"cluster_name": "http://10.00.0.0:28080/v1/AUTH_myuser", "default": "cluster_name"}}"
DEBUG main - Connection [id: 0][route: {}->http://10.0.0.0:28080] can be kept alive indefinitely
DEBUG main - Connection released: [id: 0][route: {}->http://10.0.0.0:28080][total kept alive: 1; route allocated: 1 of 25; total allocated: 1 of 50]
INFO main - JOSS / Successfully authenticated

This is HEAD request:

DEBUG main - >> HEAD /v1/AUTH_myuser HTTP/1.1
DEBUG main - >> X-Auth-Token: AUTH_tk711953cd2cb1023c1b90dba84519d92e
DEBUG main - >> CONNECTION: Keep-Alive
DEBUG main - >> Host: 10.0.0.0:28080
DEBUG main - >> User-Agent: Apache-HttpClient/4.2.1 (java 1.5)

@mehmetzahid
Copy link

Same thing here, have you ever found a way to solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants