test-infra
protobag
Our great sponsors
test-infra | protobag | |
---|---|---|
5 | 1 | |
3,776 | 8 | |
1.2% | - | |
10.0 | 0.0 | |
7 days ago | about 2 years ago | |
Go | C++ | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
test-infra
-
Block YouTube Ads on AppleTV by Decrypting and Stripping Ads from Profobuf
The trickiest part of decoding protobufs blind is how embedded messages and strings have the same tag type, but that's pretty easy to handle.
You can write a simple protobuf decoder in a couple hundred lines of code if you don't want to pull in the full protoc dependency: https://github.com/kubernetes/test-infra/blob/master/guberna... https://github.com/kubernetes/test-infra/blob/master/guberna...
-
Don't Use Protobuf for Telemetry
Here's a minimal Python protobuf parser that can extract basic information in about 50 LOC.
https://github.com/kubernetes/test-infra/blob/master/guberna...
protobag
-
Don't Use Protobuf for Telemetry
In many cases you do indeed want or need to use Protobuf for telemetry or other time-series data. The Protobuf RecordIO / TFRecord formats are very unhelpful for this use case.
Enter Protobag: https://github.com/StandardCyborg/protobag
Protobag is a library that helps you write and read time-series and other collections of Protobuf data using the standard Tar and Zip archives as containers. Protobag also includes code for leveraging self-describing messages to embed schemas in archives so that you never have data on disk that you can't read. Hope somebody finds Protobag helpful.
What are some alternatives?
Protobuf.NET - Protocol Buffers library for idiomatic .NET
kubetest2 - Kubetest2 is the framework for launching and running end-to-end tests on Kubernetes.
protozero - Minimalist protocol buffer decoder and encoder in C++
upb - a small protobuf implementation in C
urlfilter - AdGuard content blocking library in golang
bloaty - Bloaty: a size profiler for binaries
privaxy - Privaxy is the next generation tracker and advertisement blocker. It blocks ads and trackers by MITMing HTTP(s) traffic.
webui-privaxy
protodump - A utility to dump all Protobuf file descriptors from a given binary as *.proto files
Protobuf - Protocol Buffers - Google's data interchange format