No luck with IP also, it is same timings, it was already tried missed to mention
On Wednesday, August 11, 2021 at 10:02:23 AM UTC+5:30 chrjo...@gmail.com wrote: > What happens if you use the IP instead of the hostname? > > Cheers > Chris > > > Am 11. August 2021 03:31:07 MESZ schrieb Jeff Steger <be2...@gmail.com>: >> >> Sounds like network delays. try doing a traceroute to see the paths >> packets are taking from client to server and their associated delays. >> >> https://en.m.wikipedia.org/wiki/Traceroute >> >> >> On Sun, Aug 8, 2021 at 12:34 PM Sureshbabu Seshadri <sureshb...@gmail.com> >> wrote: >> >>> *Environment* >>> >>> 1. Both client and server are C++ >>> 2. Server might be running either locally or in different system >>> 3. In case of remote server, it is in same network. >>> 4. Using SYNC C++ server >>> 5. Unary RPC >>> >>> Our performance numbers are very low for running 1000 RPC calls >>> (continuous calls through loop for testing) it takes about 10 seconds when >>> server running in different PC. >>> >>> The client creates channel using *hostname:portnumber *method and using >>> this approach the local server were also taking similar 10 seconds for 1000 >>> calls. Later we modified channel creation for local server by using >>> *localhost:port >>> *then it was much improved performance, all the 1000 calls completed >>> within 300 ms. >>> >>> Based on the above test, we strongly believe DNS resolution seems to >>> cause slow performance as change hostname to localhost results in huge >>> performance gain, however that is not possible for servers running on >>> different PC. >>> >>> Can someone help with this? Is DNS the real culprit or what else can be >>> changed to get good performance throughput in this case. >>> >>> Please let me know if there any other input required for this. >>> >>> -- >>> 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. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/grpc-io/02e772e3-5f78-4133-b7b2-5fd6cb1d2ab8n%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/grpc-io/02e772e3-5f78-4133-b7b2-5fd6cb1d2ab8n%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/2ea711f8-d5b4-4814-957a-f23e747f9506n%40googlegroups.com.