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

[deviceauth] add index to list/count devices by status

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Done
    • Priority: (None)
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      Add an index to mongodb to avoid collection scans when listing or counting the devices by status.

      We discovered the lack of index when load testing Mender with 100k devices: accepting devices slows down significantly with a large number of devices.

        Attachments

          Activity

            People

            • Assignee:
              tranchitella Fabio Tranchitella
              Reporter:
              tranchitella Fabio Tranchitella
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel