Hey Guys, I want to do a micro benchmark, and I have one master machine and 
one worker machine. The master machine sends out rpcs concurrently to the 
worker, and after the worker receive the rpc, it starts to do some commands 
using exec.Command. Here are parts of my code. master code 
<https://play.golang.org/p/lN3WxPfkqyw> and, worker code 
<https://play.golang.org/p/WxhPoztrWOn>. I use a channel of size 12 to 
simulate there are only 12 threads in worker machine. But the whole 
procedure stuck at the point of 
cmd.Run() and I don't know why because the command is just simply echo a 
hello. I did some experiments on rpc and exec.Command, they worked out 
perfectly without each other. But when I combined them, it stuck. I don't 
know, does anyone know what happen?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2ca6c57c-43b4-42dd-a8b8-3afdc46902a9n%40googlegroups.com.

Reply via email to