Closed Bug 1915396 Opened 1 year ago Closed 1 year ago

Glean Database Flush time-based experiment on Fenix

Categories

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

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: janerik, Assigned: janerik)

References

Details

Attachments

(1 file)

Hypothesis: We are potentially losing some metrics, because we never reach the required number of writes and thus never flush them to disk.
By flushing at least every few seconds we should be able to reliably persist these metrics, while not causing high disk IO or CPU usage.

Experiment: https://experimenter.services.mozilla.com/nimbus/glean-database-flush-time-based/summary
3 branches:

  1. control - no change
  2. treatment-a - 2s flush time
  3. treatment-b - 10s flush time

Travis, please take a look at the final analysis.

Flags: needinfo?(tlong)

I agree with your analysis and outcome. Adding a 2s flush timer will increase the quality of the data significantly at the cost of slightly more time spent writing to disk.

r+ from me

Flags: needinfo?(tlong)
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Blocks: 1923110
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: