rmp-rpc
tarpc
rmp-rpc | tarpc | |
---|---|---|
1 | 6 | |
45 | 3,036 | |
- | 1.3% | |
0.0 | 7.9 | |
about 3 years ago | 20 days ago | |
Rust | Rust | |
GNU General Public License v3.0 or later | MIT License |
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.
rmp-rpc
-
Any suggestion to build a long-lived connection with dual-rpc capability
RMP-RPC (https://github.com/little-dude/rmp-rpc) is based on message pack, it will reduce bandwidth cost but might be hard to trace compared to JSON-RPC which is purely text.
tarpc
-
A high performance Remote Procedure Call (RPC) system for rust
You can think its better version of tarpc
- Typesafe client generation for servers? (similar to trpc)
-
Anyone have experience with tarpc?
tarpc is a Rust RPC crate by google (not official)
-
Any suggestion to build a long-lived connection with dual-rpc capability
gRPC (https://github.com/google/tarpc) is the first thought here, but it is bounded to http2 and the client has to initiate the connection, I haven't used stream request before so not sure if it fits my situation.
-
Hey Rustaceans! Got an easy question? Ask here (2/2022)!
For generating server and client code from an interface description, you may try tonic for gRPC with protobuf as your interface language, or tarpc if you want to describe the API in Rust.
What are some alternatives?
ormsgpack - Msgpack serialization/deserialization library for Python, written in Rust using PyO3 and rust-msgpack. Reboot of orjson. msgpack.org[Python]
tonic - A native gRPC client & server implementation with async/await support.
capnproto-rust - Cap'n Proto for Rust
remoc - Remoc 🦑 — Remote multiplexed objects, channels and RPC for Rust
jsonrpc - Rust JSON-RPC implementation
srpc - Simple RPC system based on top of Canary
lust - A fast, auto-optimizing image server designed for high throughput and caching; Now that is hot.
rust-multiplayer-physics - A multiplayer physics playground, written in rust.
retainer - Minimal async cache in Rust with support for key expirations
delay-timer - Time-manager of delayed tasks. Like crontab, but synchronous asynchronous tasks are possible scheduling, and dynamic add/cancel/remove is supported.