Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Enhancement] Remove blocking queries in some UI pages #1948

Closed
12 tasks done
nadouani opened this issue Apr 8, 2021 · 0 comments
Closed
12 tasks done

[Enhancement] Remove blocking queries in some UI pages #1948

nadouani opened this issue Apr 8, 2021 · 0 comments
Assignees
Labels
Milestone

Comments

@nadouani
Copy link
Contributor

nadouani commented Apr 8, 2021

Request Type

Enhancement

Feature Description

Case details page loads after some API queries returns their results, like the case links API. this AP can require some time for big cases with a big number of observables, as TheHive will try to find similarities for each observable.

The idea here is to make the case links query not blocking so the case details page case be displayed and the links loaded asynchronously

  • Make case links non-blocking
  • Remove extra case count query
  • Remove extra alert count query
  • Remove case stats count query used to display number of open and closed cases in the quick menu filter (expensive with small interest as the count is available above the toolbar).
  • Use count queries that rely on index backend queries for better performance
    • In case list
    • In alert list
    • In case observables
    • In case related alert
    • In case tasks
    • In custom tags admin
    • Fix psearch component to take into account limited counts
@nadouani nadouani added this to the 4.1.3 milestone Apr 8, 2021
@nadouani nadouani self-assigned this Apr 8, 2021
@nadouani nadouani changed the title [Enhancement] Remove blocking queries in case details page [Enhancement] Remove blocking queries in some UI pages Apr 9, 2021
nadouani added a commit that referenced this issue Apr 10, 2021
nadouani added a commit that referenced this issue Apr 10, 2021
nadouani added a commit that referenced this issue Apr 11, 2021
nadouani added a commit that referenced this issue Apr 11, 2021
nadouani added a commit that referenced this issue Apr 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant