fleet/frontend/components/forms/fields/SelectTargetsDropdown
Zachary Wasserman 96fc090723 Improve server performance for host operations
- Debounce frontend to reduce number of target searches in live query.
- More efficiently calculate label counts in live query and hosts
  dashboard. Instead of using the (slow) CountHostsInTargets function,
  retrieve the host counts while looking up the labels.
- Optimize targets search query. Removing the nested query retrieves the
  same logical result set, but substantially optimizes MySQL CPU usage.
  Testing indicates about a 50% reduction in MySQL CPU usage for the
  frontend targets search API call after applying this change.
2020-07-21 14:05:46 -07:00
..
SelectTargetsInput Improve server performance for host operations 2020-07-21 14:05:46 -07:00
SelectTargetsMenu Upgrade eslint and dependencies (#2255) 2020-07-06 19:31:48 -07:00
TargetDetails Store only primary IP and MAC for hosts 2020-07-21 14:05:46 -07:00
TargetOption Store only primary IP and MAC for hosts 2020-07-21 14:05:46 -07:00
_styles.scss Upgrade Bourbon to 5.1.0 and fix deprecation warnings (#1973) 2019-01-03 12:46:55 -08:00
index.js Improves re-usability of the SelectTargetsDropdown (#518) 2016-11-21 10:38:23 -05:00
SelectTargetsDropdown.jsx Fix React deprecation warnings (#1976) 2019-01-06 17:25:33 -08:00
SelectTargetsDropdown.tests.jsx Upgrade React to version 16 (#1983) 2019-01-14 13:45:28 -08:00