2 ms·
I wanted to query 100 remote ports each second. Since it takes less than 0.01s to make a successful call and get the 2-3 bytes of data from each server, I thoug
by chime 14y ago
I wanted to query 100 remote ports each second. Since it takes less than 0.01s to make a successful call and get the 2-3 bytes of data from each server, I thought doing 100 calls in parallel wouldn't be an issue via goroutines. But if 100 x 180 goroutines are waiting to die any given second when there are prolonged connectivity issues (which are possible in my environment), I don't know how stable the app would be overall.