getsentry / getsentry/sentry-java

`AsyncHttpTransport` connection reuse

Đang mở
#6,035 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Feature Java Platform: Java
Ngôn ngữ chính
Kotlin
Star
1.4k
Fork
478
Merge trung bình
2 ngày 23 giờ
Pull request đã merge (30 ngày)
67

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
kotlin
Lĩnh vực
networking
Loại issue
Tính năng
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Sôi nổi
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
55/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.