Ah.. ok.  that sort of defeats the whole point. There's now way to make it 
threaded?  

I was reading in the documentation about ThreadManager and how it uses a 
thread pool. I was just planning on configuring this for 1 

On Friday, September 7, 2018 at 11:35:48 AM UTC-7, Michael Lumish wrote:
>
> gRPC on Node uses the Node event loop, and it does all of its work on the 
> main thread.
>
> On Fri, Sep 7, 2018 at 11:32 AM Kevin Burton <burto...@gmail.com 
> <javascript:>> wrote:
>
>>
>>> Given that information, gRPC does not seem to solve most of those 
>>> problems. You could use it to offload computationally expensive work to 
>>> somewhere else, like with any other client/server setup.
>>>
>>>>
>>>>
>> I will have to look into the gRPC internals but I assumed that starting 
>> it would yield its own thread and event loop.  
>>
>> I would probably want to have one thread per IO subsystem though. 
>>
>> also, this way I can rationalize about IO since I'm just in a single 
>> thread.   
>>
>> -- 
>> 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+u...@googlegroups.com <javascript:>.
>> To post to this group, send email to grp...@googlegroups.com 
>> <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/01d70444-44e2-40a5-a49d-c58b30bf671e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/01d70444-44e2-40a5-a49d-c58b30bf671e%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/1b4c8c3d-3ceb-4f49-84f3-caa3d577c605%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to