Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92775

Write microbenchmarks for the AuthSessionTokenManager

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • Security 2024-08-05, Security 2024-08-19

      We will want to understand the overhead of validating and signing tokens through a microbenchmark. There should be three microbenchmarks:

      • Test the generation of tokens on the happy path, when a _signer already exists
      • Test the generation of tokens when we need to create a new _signer object.
      • Test the validation of tokens.

      We will use the `MockAuthSessionTokenManager` to isolate out the cost of token validation/generation, rather that measuring the cost of reading/writing to the db.

            Assignee:
            Unassigned Unassigned
            Reporter:
            erin.mcnulty@mongodb.com Erin McNulty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: