Open Bug 1866541 Opened 1 year ago Updated 1 year ago

Sending tabs can cause backoff errors

Categories

(Application Services :: Fxa Client, defect, P3)

Tracking

(Not tracked)

People

(Reporter: markh, Unassigned)

References

Details

From github: https://github.com/mozilla/application-services/issues/5918.

We currently have a decent amount of HTTP backoff errors reporting in Sentry.

I looked through a handful of these errors and it seems like most of them are caused by clients trying to send too many tabs to other devices. Is there a way to avoid backoff errors in this case?

  • We could rate limit it in the firefox UI. If a user tries to send too many tabs, they get an error message. This doesn't seem great, but it's probably better than silently failing, which I believe is what's currently happening.
  • Could we batch these somehow?
    • Giving the user a checklist of tabs could be nice.
    • We could also batch things behind the scenes, like after you send 5 tabs in a short period of time, we assume you're bulk sending your tabs. At that point we start delaying the push notifications so that we can queue up multiple requests and send them all at once.

┆Issue is synchronized with this Jira Task

Change performed by the Move to Bugzilla add-on.

See Also: → 1817329
You need to log in before you can comment on or make changes to this bug.