Closed Bug 1764549 Opened 3 years ago Closed 3 years ago

RLB's dispatcher's preinit queue size is too small for FOG

Categories

(Data Platform and Tools :: Glean: SDK, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chutten, Assigned: chutten)

References

Details

Attachments

(3 files)

The preinit buffer in the Glean SDKs' dispatchers is 100. I believe I remember this is to limit the max RAM impact of the SDK not being init until later in startup.

In FOG's case, Glean's operating in the same environment where Legacy Firefox Telemetry keeps everything in RAM, so a low limit isn't necessary. We might not even want any limit.

This recently came to a head where a lot of metrics tasks were being queued in a test situation, causing data loss. And there's plenty of evidence that the limit's too low in the real world, too.

Ideally we'd make this limit configurable with an option to make it limitless, but for now this bug is about bumping GLOBAL_DISPATCHER_LIMIT from 100 to 1000.

Not closing this off as we still need

  1. A Glean SDK release
  2. To vendor in the updated Glean SDK release

Shouldn't be too long.

Pushed by chutten@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a53c3c4105b7 Update Glean SDK to v44.1.1 r=TravisLong https://hg.mozilla.org/integration/autoland/rev/63bd3eac0849 Don't forget to update glean-ffi's version r=TravisLong
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: