getsentry / getsentry/sentry-java
`AsyncHttpTransport` connection reuse
未關閉
Feature
Java
Platform: Java
- 主要語言
- Kotlin
- 星號
- 1.4k
- 分支
- 478
- 平均合併
- 3 天 4 小時
- 30 天內合併 PR
- 72
描述
### 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.
貢獻指南
研究方向
首先定位 AsyncHttpTransport,並追蹤傳送 envelope 後連線關閉的位置。檢視相關的 Sentry issue 6000 以及 transport 既有的錯誤處理;完成的條件是連線會在不同 envelope 之間重複使用,並且在錯誤要求關閉連線時仍會關閉連線。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- kotlin
- 領域
- networking
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 活躍
- 描述清晰度
- 基本清楚
- 新手友好度
- 55/100