On Tue, Jan 15, 2019 at 11:35 AM jisooh via grpc.io <
grpc-io@googlegroups.com> wrote:

> Hello,
>
> We want to start using PHP gRPC clients but have a question regarding
> php-fpm and the grpc channel connections.
>
> When we send a request with PHP, php-fpm maintains a pool of workers to
> deal with the request. When using gRPC channels, does the php process bring
> up and down the gRPC channel with the worker lifecycle?
>

Within a lifetime of a php-fpm worker, the grpc channel is reused.


>
> When create a channel, I see that you can create it with the following
> option: grpc_target_persist_bound. Will php-fpm create and destroy a
> channel on every request, or will the php channel be shared when sending
> the same target is specified?
>

The underlying grpc channel will be re-used.


>
> Has anyone seen this issue, or had similar encounters when using PHP gRPC
> with php-fpm? Thanks for any help.
>
> --
> You received this message because you are subscribed to the Google Groups "
> grpc.io" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to grpc-io+unsubscr...@googlegroups.com.
> To post to this group, send email to grpc-io@googlegroups.com.
> Visit this group at https://groups.google.com/group/grpc-io.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/grpc-io/47aa16ba-9866-4b50-9ccb-2109c2d86815%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/47aa16ba-9866-4b50-9ccb-2109c2d86815%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CAEteGX0Rt2NUJi%2BHxhtOv5KKrHsZ3ckwgwvX2BBF%2BWw6nbq7Rg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to