What language are you using?

On Thursday, September 20, 2018 at 3:40:53 PM UTC-7, [email protected] 
wrote:
>
> I'm working on a project where I have a client that needs to send the same 
> data to multiple servers.  I encountered a situation where one of the 
> servers was slow in responding.  It seemed like the slow server caused us 
> to block until its message had been sent which slowed down the sending of 
> data to the other servers.  This led me down the road of exploring the 
> async call.  
>
> I took the helloworld async client and server samples and spun up three 
> instances of the servers (each on a separate port, but same machine).  The 
> second instance had a 1-second sleep.  I then created a client that sends 
> the same message to all three servers and I was expecting the servers to 
> reply out of order 1, 3, then 2 since I put a sleep in the second one.  I 
> get the replies in order, which seems to defeat the purpose of the async 
> call.  
>
> Am I misunderstanding how the async calls should behave?  Is there maybe 
> another way to solve this issue?
>

-- 
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/29d24deb-5c36-4539-aaf8-d2870cf9c3f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to