On Wed, Jul 20, 2016 at 11:49 AM, ran.bi via grpc.io <
[email protected]> wrote:

> I have 2 questions after reading through solution posted in
> https://groups.google.com/forum/#!topic/grpc-io/LTFpelGTdtw
>
>    1. Is it possible to queue-up requests instead of dropping them?
>
>
If you know the upper bound you want on concurrent calls you can size the
executor passed to ServerBuilder appropriately which will cause queuing to
occur naturally.

>
>    1. When Listener.onComplete is called, can I assume all resources used
>    for handling the request has been released ( buffers are flushed, workers
>    are released)?
>
> Yes

>
> Best
>
> --
> 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/4acd365d-b693-440a-ab8d-500c1ffd2f3c%40googlegroups.com
> <https://groups.google.com/d/msgid/grpc-io/4acd365d-b693-440a-ab8d-500c1ffd2f3c%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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/CADQ0XY011G0R5Avh92FXaNZBsJz4mnhWtbCXWjv5aNzqfczoUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to