getsentry / getsentry/sentry-java

`AsyncHttpTransport` connection reuse

Offen
#6,035 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Feature Java Platform: Java
Vorherrschende Sprache
Kotlin
Sterne
1.4k
Forks
478
Ø Merge
2 T. 23 Std.
Gemergte PRs (30 T.)
67

Beschreibung

### Problem Statement

Sentry `AsyncHttpTransport` closes the connection after each envelope sent.
This may cause problems on high traffic servers / cloud environments.

Came up in https://github.com/getsentry/sentry-java/issues/6000

### Solution Brainstorm

We could reuse the connection / not close unless there's an error.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating AsyncHttpTransport and tracing where the connection is closed after an envelope is sent. Review the related Sentry issue 6000 and the transport's existing error handling; done means connections are reused between envelopes and still close when an error requires it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
kotlin
Bereich
networking
Issue-Typ
Feature
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Aktiv
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
55/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.