getsentry / getsentry/sentry-java

`AsyncHttpTransport` connection reuse

未关闭
#6,035 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature Java Platform: Java
主要语言
Kotlin
星标
1.4k
派生
478
平均合并
2 天 23 小时
30 天内合并 PR
67

描述

### 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.

贡献指南

打开贡献指南

调研方向

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.

由索引模型根据 Issue 内容生成。

评估

技术栈
kotlin
领域
networking
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。