Skip to content

waitReply and rawUnary credit the connection#46

Open
abizjak wants to merge 15 commits into
haskell-grpc-native:masterfrom
Concordium:conn-window-updates
Open

waitReply and rawUnary credit the connection#46
abizjak wants to merge 15 commits into
haskell-grpc-native:masterfrom
Concordium:conn-window-updates

Conversation

@abizjak

@abizjak abizjak commented Jan 12, 2021

Copy link
Copy Markdown

This depends on haskell-grpc-native/http2-client#75

The change in the functionality of waitStream means that rawUnary queries do not rely on the background thread sending WINDOW_UPDATE frames to progress. This makes them perform with much lower latency in some scenarious.

@lucasdicioccio

lucasdicioccio commented Jan 13, 2021

Copy link
Copy Markdown
Member

Thanks, I think Travis needs to wait for a release on Hackage for the patched http2-client. Will do that tomorrow and retry here.

Longer term I think I'll revamp the gRPC client helper to have a bit more "configurable" behaviors. Hopefully in 2021 I'll get some time to work on this.

pcapriotti added a commit to wireapp/wire-server that referenced this pull request Sep 24, 2021
We now depend on a fork of http2-grpc-haskell containing fixes for:

haskell-grpc-native/http2-grpc-haskell#46
haskell-grpc-native/http2-grpc-haskell#48

as well as the master of http2-client:

https://github.com/lucasdicioccio/http2-client
pcapriotti added a commit to wireapp/wire-server that referenced this pull request Sep 28, 2021
* Merge http2 grpc fixes

We now depend on a fork of http2-grpc-haskell containing fixes for:

haskell-grpc-native/http2-grpc-haskell#46
haskell-grpc-native/http2-grpc-haskell#48

as well as the master of http2-client:

https://github.com/lucasdicioccio/http2-client

* Clarify comment about http2-client fixes

Co-authored-by: jschaul <jschaul@users.noreply.github.com>
Cem Eliguzel and others added 6 commits May 9, 2022 15:57
…encies

Updates ghc version to `9.0.2` and stackage version to `lts-19.6`.
* Support  and ghc version .

* Bump version of dependencies in constraints.

* Rebuild protocol buffer schemas, fix compiler warnings.
abizjak and others added 6 commits February 14, 2023 13:01
Credit the connection as well when streaming.
* Bump stackage snapshot to lts-20.16.
Co-authored-by: Emil Lai <39825288+EmilLa1@users.noreply.github.com>
Terminate when encountering end of stream.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants