fleet/orbit/changes
Victor Lyuboslavsky 2520fc2179
Reduce server load for fleetd upgrade (#15606)
📺 Loom:
https://www.loom.com/share/9e17848963574af3aa10d426b450bcd0?sid=f8078293-c7e1-4864-a8a3-4cec996971f5

#15476 
#15540 
#15542

After upgrading fleetd, customer-blanco saw a spike in traffic and a
spike in DB connections. These fixes attempt to reduce the traffic and
DB load when fleetd is upgraded.

On the server, added fleet/device/{token}/ping endpoint to be used by
agents to check their token.

On the agent:
- Removed call to fleet/orbit/device_token unless token needs to be
updated.
- Changed call to fleet/device/{token}/desktop with a less resource
intensive call to fleet/device/{token}/ping
- Removed call to fleet/orbit/ping

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/` or
`orbit/changes/`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [x] Manual QA for all new/changed functionality
  - For Orbit and Fleet Desktop changes:
- [x] Manual QA must be performed in the three main OSs, macOS, Windows
and Linux.
- [x] Auto-update manual QA, from released version of component to new
version (see [tools/tuf/test](../tools/tuf/test/README.md)).
2023-12-13 14:31:48 -06:00
..
.keep Add 'orbit/' from commit 'ab3047bb39f1e2be331d1ff18b4eb768619033c4' 2021-08-04 16:58:25 -03:00
11958-remove-glibc-requirements Switching systray dependency to one without glibc requirements (#14197) 2023-11-02 14:40:21 -05:00
12842-orbit-bitlocker-management Merging Bitlocker feature branch (#14350) 2023-10-06 19:04:33 -03:00
14176-orbit-retries Add backoff functionality for fleetd updates (#15489) 2023-12-08 19:43:56 -03:00
14380-rpm-graceful-upgrade Handle RPM upgrade in %postun script (#14379) 2023-10-27 12:29:09 -04:00
14546-orbit-not-reporting-bitlocker-errors Fixing issue with Orbit not sending bitlocker error (#14547) 2023-10-16 11:07:40 -03:00
14633-bump-go Update Go to v1.21.3 (#14634) 2023-10-19 10:01:05 -03:00
14657-log-flag allow to set an orbit destination via env variable (#14658) 2023-10-26 18:19:59 -03:00
15539-removing-duplicate-device_token-calls Fixing fleetd to NOT make unnecessary duplicate call to orbit/device_token endpoint. (#15543) 2023-12-10 17:00:24 -06:00
15540-reduce-server-load-from-fleetd-upgrade Reduce server load for fleetd upgrade (#15606) 2023-12-13 14:31:48 -06:00
15541-reduce-agent-calls-to-orbit-config-endpoint Reducing the number of fleetd calls to fleet/orbit/config endpoint. (#15545) 2023-12-11 07:04:24 -06:00
go-update update Go to 1.21.5 (#15592) 2023-12-13 13:57:12 -03:00