Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-3552

[deviceauth] cache the JWT token verification and apply rate limiting to API calls

    XMLWordPrintable

    Details

      Description

      Based on the PoC (https://github.com/mendersoftware/deviceauth/pull/323) implement:

      • Cache of the JWT token verification
      • invalidation of the JWT token verification cache on JWT token invalidation
      • Rate limiting and throttling of requests based on tenant-wide and device-specific settings

      Acceptance criteria:

      • It is possible to rate limit requests from devices based on tenant-wide and device-specific (overrides) limits
      • Dependency on in-memory cache systems (e.g. redis) is optional

        Attachments

          Activity

            People

            • Assignee:
              marcin.chalczynski Marcin Chalczynski
              Reporter:
              tranchitella Fabio Tranchitella
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel