Not currently, assuming you are talking about running out of memory.  Our 
servers/ services tend to have hard memory limits that are preallocated on 
start up and are never broken.  If a server is running out of memory, the 
solution is to just spin up more servers.  

That said, grpc Java tries to avoid memory allocation and usage, so the 
overhead for the library is pretty small.  You can implement your own 
marshaller using SoftReferences if you would like.  There is an advanced 
example showing how to write your own marshaller here 
<https://github.com/grpc/grpc-java/blob/d9d4d8b70f68dce0a0ee4e3d93acee82f5153d54/protobuf/src/main/java/io/grpc/protobuf/ProtoUtils.java#L80>.
 
 Be warned that this is pretty advanced and you shouldn't use it until you 
really need to.  

On Monday, June 20, 2016 at 2:36:53 AM UTC-7, Lasantha wrote:
>
> Hi,
>
> Is there any in-build feature in gRPC java client to handle circuit 
> breaking ? 
>
> Best Regards,
> Pamb
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/bccc97bf-83c6-4a56-b94c-9fceb19a6075%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to