Thanks for the reply Stanley. This information is helpful to us.

On Tuesday, January 15, 2019 at 5:33:33 PM UTC-8, Stanley Cheung wrote:
>
>
>
> On Tue, Jan 15, 2019 at 11:35 AM jisooh via grpc.io <
> [email protected] <javascript:>> 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 [email protected] <javascript:>.
>> To post to this group, send email to [email protected] 
>> <javascript:>.
>> 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 [email protected].
To post to this group, send email to [email protected].
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/878b4da7-6438-4ff6-95b0-37e6f3ce03d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to