Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Change from using Caddy's zstd to a CGO zstd

Đã đóng
#2,673 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

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
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
backend, performance

Hướng nghiên cứu

No repository file, test, or entry point is named. Start by locating FrankenPHP's current use of Caddy's klauspost/compress zstd implementation, then compare the referenced valyala/gozstd and DataDog/zstd packages for suitability. Done means selecting and integrating a CGO zstd package with evidence that the hotpath behavior and performance are acceptable.

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

Mô tả

in #2401 I had proposed using a go-native brotli package, but it was said that since CGO is already used here, it is preferred to just use the official brotli via CGo.

It was also said there that, in fact, perhaps frankenphp should use a CGo zstd package rather than caddy's zstd, which uses klauspost/compress

Ive found a couple CGo zstd packages. Both seem maintained and reputable. No idea which would be better though.

Presumably this would result in faster zstd compression in the hotpath

Ngôn ngữ chính
Go
Star
11.3k
Fork
488
Merge trung bình
1 ngày 18 giờ
Pull request đã merge (30 ngày)
12

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php/frankenphp

Tất cả issue của php/frankenphp

Issue tương tự

Thêm issue về Go

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.