Datadog

Making fetch happen: Building a general-purpose query and render scheduler | Datadog

Apr 17, 2023Cormac Flynn
Making fetch happen: Building a general-purpose query and render scheduler | Datadog
SummaryAI, from the source post

This post describes the development of a new, generalized query and render scheduler for Datadog applications. The new scheduler simplifies the logic of the previous system by separating query and render scheduling into discrete modules. The query scheduler uses a new algorithm that prioritizes visible widgets and limits concurrent tasks within fixed time windows (2000ms, 10 task limit). The render scheduler leverages the Browser Scheduling API to schedule any sufficiently costly task, improving browser performance and reducing main thread load.

More from the Husky Query Engine trail