Just my QA folks have noticed the battery usage "seems to be unusually 
high". A very subjective statement to be sure. 

Would you recommend, the disposal / re-creation of the service object for 
each invocation to keep the network only open during calls?

On Wednesday, April 18, 2018 at 2:29:53 PM UTC-4, Muxi Yan wrote:
>
> Yes. By the design of gRPC, channel to an endpoint remains open after a 
> call and the next call reuses this channel. We would love to know how bad 
> battery drain you are seeing.
>
> On Wednesday, April 11, 2018 at 11:17:43 AM UTC-7, Rob Cecil wrote:
>>
>> Does the GRPCProtoService keep the network open between service calls? In 
>> our testing the iOS app that uses grpc seems to use a bit of battery and my 
>> first thought was the service object seems to managing connections.
>> Is there a way to monitor or measure it?
>>
>> Thanks
>>
>

-- 
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/c208a5f6-0e33-46ae-b07d-0b8e9c365428%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to