Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Change from using Caddy's zstd to a CGO zstd

Chiusa
#2,673 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Attiva
Stack tecnologico
go

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Go
Stelle
11.4k
Fork
487
Merge medio
1g 18h
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di php/frankenphp

Tutte le issue di php/frankenphp

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.