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

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

4/17/2023 · Cormac Flynn

What this post added

This post details the development of a new, general-purpose query and render scheduler for Datadog's frontend applications, initially to optimize Dashboard performance. The new scheduler simplifies logic by separating query and render scheduling, discarding unnecessary heuristics from the legacy system. The query scheduler uses a fixed time window (2000ms), a task limit (10), and prioritizes visible widgets, while offscreen tasks are ranked by enqueue time. The render scheduler leverages the Browser Scheduling API for efficient task scheduling.

Read the original post ↗