Improve mod-authtoken performance

Description

In BugFest 2.1 performance analysis, we see 2837 mod-authtoken entries out of 5817 total slow entries (see FOLIO-2039). Some of those entries are very slow (about 10s). mod-token is a key module and its performance impacts all API calls. On the other hand this module has no storage layer, so it should not be slow. It is possible the slowness is due to calls to mod-permissions. Anyway, this needs to improved. BTW, here are some of the slow entries in the log:

Implementation notes

We assume the bad performance here is due to and fixing that issue should help here as well.

Mod-authtoken acts as a filter hence there is no easy way to add an explicit perf test.

Environment

None

Potential Workaround

None

Checklist

hide

TestRail: Results

Activity

Show:
Duplicate

Details

Assignee

Reporter

Priority

Sprint

Development Team

Core: Platform

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs

Created May 31, 2019 at 3:22 PM
Updated July 1, 2019 at 12:16 PM
Resolved June 3, 2019 at 1:56 PM
TestRail: Cases
TestRail: Runs