ttrpc icon indicating copy to clipboard operation
ttrpc copied to clipboard

GRPC for low-memory environments

Results 24 ttrpc issues
Sort by recently updated
recently updated
newest added

I'd like to be able to have rpc's that can pass file descriptors over transports which support it. Today there is some support for an interceptor with a custom handshaker...

enhancement

Support for timing out method calls and other operation on the connection isn't really present. We'll need to add this to be more production ready. This includes the following: -...

A number of missing items: - [ ] Basic type documentation - [ ] Package level description and usage example - [ ] Move request/response types out of main package...

The ttrpc server somtimes receives `ECONNRESET` rather than `EOF` when the client is exited. Such as reading from a closed connection. Handle it properly to avoid goroutine and connection leak....

It is currently possible to [get metadata from a request](https://pkg.go.dev/github.com/containerd/ttrpc#Request.GetMetadata), but there doesn't seem to be a way to set metadata on a response.

The unary calls for adding interceptors already exist: [`WithUnaryServerInterceptor`](https://pkg.go.dev/github.com/containerd/ttrpc#WithUnaryServerInterceptor) [`WithUnaryClientInterceptor`](https://pkg.go.dev/github.com/containerd/ttrpc#WithUnaryServerInterceptor) Interfaces for stream interceptors exists as well: [`StreamServerInterceptor`](https://pkg.go.dev/github.com/containerd/ttrpc#StreamServerInterceptor) [`StreamClientInterceptor`](https://pkg.go.dev/github.com/containerd/ttrpc#StreamClientInterceptor) But there is no `WithStream..Interceptor` option to add them to a...

Implement open-telemetry instrumentation support, modelling it after the corresponding [gRPC instrumentation package](https://github.com/open-telemetry/opentelemetry-go-contrib/tree/main/instrumentation/google.golang.org/grpc/otelgrpc). - [ ] implement basic instrumentation support (interceptors for unary server and unary client): PR #145 - [...

A flaky test was observed in containerd in the 1.1 branch after updating to 1.1.1 ``` === Failed === FAIL: . TestClientTTRPC_Close (0.00s) client_ttrpc_test.go:85: assertion failed: context canceled (err *errors.errorString)...

`TestServerRequestTimeout` has been intermittently failing in PRs due to differences in deadline comparisons. Example output from a PR run ``` 🇩 coverage --- FAIL: TestServerRequestTimeout (0.01s) server_test.go:406: expected deadline 2023-02-25...