kubernetes-sigs / kubernetes-sigs/knftables
Evaluate new json v2 for performance
Open
lifecycle/rotten
- Dominant language
- Go
- Stars
- 38
- Forks
- 13
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 1
Description
We do a lot of json parsing that is well known to be very resource hungry in golang, to the point the language released a new experimental v2 version in https://pkg.go.dev/encoding/json/v2#Unmarshal
Once it reaches stability we should evaluate it
@liggitt has more insights on this work
Contributor guide
Research direction
Start with the linked encoding/json/v2 Unmarshal documentation and inspect how knftables currently handles JSON parsing. Once the experimental implementation is stable, compare its performance with the current approach and document whether the results justify changing it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100