Skip to content

Frontend is too eager when searching for identities #5370

Description

@khvn26

When searching for identities, frontend requests to /api/v1/environments/{environment_api_key}/identities/?q={search_term} are too aggressive.

We should consider:

  1. Lowering the request rate in the frontend somehow.
  2. Rate limiting the endpoint in the backend to avoid excess queries blowing up the database.

PR remediating the problem in the backend by adding an index: #5369

Metadata

Metadata

Assignees

Labels

apiIssue related to the REST APIfront-endIssue related to the React Front End Dashboardgood first issueGood for newcomersimprovementImprovement to the existing platform

Fields

No fields configured for Enhancement.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions