linkerd2-proxy
prost
Our great sponsors
linkerd2-proxy | prost | |
---|---|---|
13 | 14 | |
1,925 | 3,496 | |
1.6% | 4.1% | |
9.6 | 7.9 | |
6 days ago | 7 days ago | |
Rust | Rust | |
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.
linkerd2-proxy
- Rust Cryptography Should Be Written in Rust
-
Migrating from warp to axum
Oh, there are many - https://lib.rs/crates/sfz is a simple one. If you're looking to proxy to something else, there's https://github.com/linkerd/linkerd2-proxy, etc.
-
Rust-based reverse proxy?
Linkerd: Meant to be used in a kubernetes deploy, but the readme mentions possibilities of using it elsewhere.
- Hot take: cert-manager is a top 3 most valuable k8s add-on
-
From Pythonista to Rustacean
I am really curious about Rust after looking for API proxies (in particular Linkerd2 - https://github.com/linkerd/linkerd2-proxy). Can anyone share her/his experience on going from Python to Rust? (bonus point if related to API :lol:)
-
New Tokio blog post: What's new in axum 0.5
Here is production ready service mesh using pre-1.0 crates: https://github.com/linkerd/linkerd2-proxy/blob/main/linkerd2-proxy/Cargo.toml
-
How do I get this job?
I know linkerd proxy is written in rust. You could look at that project to help get you started. Be aware that their use case is for very lightweight proxies inside of clusters so it might not fit your goals exactly.
-
Linkerd 2.11 now includes a Kubernetes controller written in Rust
Linkerd--a service mesh for Kubernetes--has featured a proxy written in Rust (since ~2017), but its control plane has been implemented entirely in Go... until now!
-
New Tokio blog post: Inventing the Service trait
Its also heavily in linkerd-proxy https://github.com/linkerd/linkerd2-proxy which is a service mesh for kubernetes.
-
How to share .proto messages across multiple microservices?
A build.rs file is used to generate Rust bindings at build-time.
prost
-
Fivefold Slower Compared to Go? Optimizing Rust's Protobuf Decoding Performance
The benchmark is not comparing apples to apples.
prost is the most widely used Protobuf implementation in Rust, maintained by the Tokio organization. prost generates structs and serialization/deserialization code for you.
easyproto according to GitHib Search is used only by two projects. easyproto provides primitives for serializing and deserializing Protobuf, and requires hand writing code to do both.
A fair comparison would be prost vs google.golang.org/protobuf, or easyproto vs parts of quick-protobuf.
In most cases you can make Go as fast as Rust, but from my experience writing performance-sensitive code in Go requires significantly larger time investment and overall requires deeper language expertise. Pebble (RocksDB replacement in Go by CockroachDB) is a good example of this, the codebase is littered with hand-inlined[1] functions, hand-unrolled loops and it's not[2] even using Go memory management for performance critical parts, it's using the C memory allocator and manual memory management.
[prost]: https://github.com/tokio-rs/prost
- How Turborepo is porting from Go to Rust
-
Hey Rustaceans! Got a question? Ask here! (49/2022)!
You could use Protocol buffers to define a message type, then use prost to generate encoding/decoding code for that type.
- Adding #derive to a struct defined in another place
-
grpc gateway
Thanks but that doesn't seems to support `json_mapping` , there is a draft available but not sure when it will get merged https://github.com/tokio-rs/prost/pull/558
-
[help] Tonic-build: how to generate generic service definition?
Hi r/rust, I have a question regarding tonic-build (or prost-build).
-
Unwrapping inner values from the enum more easily?
Currently, I'm making some stuff by using protobuf via prost. Maybe you know, protobuf v3 treats all fields as optional, so it is pain to unwrap every nested field.
- Best way to communicate between Rust and Go?
-
Past, present and future of rust-protobuf
Note: one additional key feature currently missing from Prost is Proto2 extensions.
- Does prost [protocol buffers for rust] use tokio runtime to implement GRPC service?
What are some alternatives?
tikv - Distributed transactional key-value database, originally created to complement TiDB
rust-protobuf - Rust implementation of Google protocol buffers
linkerd - Old repo for Linkerd 1.x. See the linkerd2 repo for Linkerd 2.x.
tonic - A native gRPC client & server implementation with async/await support.
conduit - Ultralight, security-first service mesh for Kubernetes. Main repo for Linkerd 2.x.
cargo-raze - Generate Bazel BUILD from Cargo dependencies!
pisanix - A Database Mesh Project Sponsored by SphereEx
varint-simd - Decoding and encoding gigabytes of LEB128 variable-length integers per second in Rust with SIMD
talent-plan - open source training courses about distributed database and distributed systems
ts-proto - An idiomatic protobuf generator for TypeScript
deno - A modern runtime for JavaScript and TypeScript.
prost - PROST! a Protocol Buffers implementation for the Rust Language