Forget to add my config. It looks like this one (http/2 end to end, no ssl,
random balanced):

frontend grpc.service:8080
  bind ipv6@xxx:8080 proto h2

  mode http
  option http-use-htx
  timeout client  30s

  default_backend be1:grpc.service:8080

backend be1:grpc.service:8080
  mode http
  balance random

  retries 1
  timeout connect 25
  timeout server  30s
  timeout queue   1s

  # Set other options
  option  http-use-htx
  option  redispatch

  default-server weight 50

  server server1:17355 xxx:17355 proto h2
  server server2:17355 yyy:17355 proto h2
  server server3:17355 zzz:17355 proto h2


чт, 21 янв. 2021 г. в 21:27, Максим Куприянов <maxim.kupriya...@gmail.com>:

> Hi!
>
> Can anyone please explain or point out in the documentation how streams in
> HTTP/2 connection are balanced?
>
> Right now I have haproxy=2.1.4 with http/2 balancer configured and it
> seems to me that gRPC-requests over a single connection from a client are
> always forwarded to the same backend server.
>
> Am I right or not? Are there any configuration options for this?
>
> --
> Best regards,
> Maksim Kupriianov
>

Reply via email to