[Improvement] Authorization performance: the list users API response time has increased by 3 times compared to the September 11 version.
- Dominant language
- Java
- Stars
- 3.2k
- Forks
- 935
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 339
Description
### What would you like to be improved?
We observed a 3x performance regression in the list users API compared to the September 11th version.
9/11 version
11/18 version, commit ID:af79aef70d0ab53d231f39029f19746216e3edec
```
ubuntu@ip-10-0-1-34:~$ curl -X GET \
-H "Content-Type: application/json" \
-H "Authorization: Basic dXNlcjE6dGVzdAo=" \
-w "\n\nResponse Time:\n- Time namelookup: %{time_namelookup}s\n- Time connect: %{time_connect}s\n- Time appconnect: %{time_appconnect}s\n- Time pretransfer: %{time_pretransfer}s\n- Time starttransfer: %{time_starttransfer}s\n- Time total: %{time_total}s\n" \
-o /dev/null \
-s \
http://10.0.4.218:8090/api/metalakes/pm/users
Response Time:
- Time namelookup: 0.000033s
- Time connect: 0.001270s
- Time appconnect: 0.000000s
- Time pretransfer: 0.001328s
- Time starttransfer: 2.505710s
- Time total: 2.505867s
```
### How should we improve?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.