Add Buffer Management to SnappyInput Stream
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 42/100
Hướng nghiên cứu
Start by comparing buffer management in SnappyOutputStream with the allocation paths in SnappyInputStream, for both chunked and raw input. The issue does not name specific files or tests; locate the relevant implementations and tests, then check that the input stream uses the BufferAllocator and that both variants still work while reducing buffer allocation.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
SnappyOutputStream uses a buffer management system to reduce memory pressure and GC overhead. The same mechanism would be helpful in SnappyInputStream as well.
We want to use Snappy for protocol compression in a high volume system. Currently we can see a significant increase in GC overhead due to the massive amount of buffers being allocated in SnappyInputStream. Adding the same BufferAllocator as in SnappyOutputStream would help to significantly reduce the amount of allocated memory.
Btw: we use both variants, the chunked one generated by SnappyOutputStream and the raw one used by a native Snappy implementation.
- Ngôn ngữ chính
- Java
- Star
- 1.1k
- Fork
- 261
- Merge trung bình
- 2 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của xerial/snappy-java
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
xerial/snappy-java#658 · 3 bình luận · 1 reaction ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 56/100
xerial/snappy-java#607 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
xerial/snappy-java#604 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 45/100
xerial/snappy-java#603 · 3 bình luận ·
-
Snappy error on Mac OS Ventura: "no native library is found for os.name=Mac and os.arch=aarch64"Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
xerial/snappy-java#573 · 1 reaction ·
Tất cả issue của xerial/snappy-java
Issue tương tự
-
hermes-queue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#403 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
xerial/sqlite-jdbc#1515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Area/Configuration Type/Improvement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ballerina-platform/static-code-analysis-tool#217 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
SequenceEncoder: a value ending with a backslash swallows the tokens after it (“No state for trait”)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
vassalengine/vassal#15337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
eclipse-dirigible/dirigible#8636 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày