well-typed / grapesy

Native Haskell gRPC client and server based on `http2`
Other
31 stars 4 forks source link

Update http2, http2-tls, time-manager #141

Closed FinleyMcIlwaine closed 1 month ago

FinleyMcIlwaine commented 1 month ago

This updates the http2 and time-manager dependencies to include the latest eager handle deletion changes in time-manager. I also migrated grapesy to use http-semantics, since http2 ≥ 5.2 had some types extracted from it.

FinleyMcIlwaine commented 1 month ago

Charts

Many non-streaming calls on a single connection

Client:

Screenshot 2024-04-30 at 4 43 02 PM

Server:

Screenshot 2024-04-30 at 4 42 45 PM

Many connections with a single non-streaming call

Client:

Screenshot 2024-04-30 at 4 47 04 PM

Server:

Screenshot 2024-04-30 at 4 46 32 PM

KV Store benchmark results

$ cabal run grapesy-kvstore -- --benchmark --no-work-simulation                                       
Did 3092.100 RPCs/s
Totals:
  46409 CREATE
  46511 UPDATE
  46450 RETRIEVE
  46156 DELETE