I am using http post method to send request to a Http Server URL.
Time difference between request and response is around 60 seconds but as per Server team they are sending response withing 7 seconds once request reached at their end.
I don't think network is taking remaining 53 seconds of time to reach packet at server end, so what can be the issue.
In this application we are using synchronous communication in between client and server. Kindly provide me following details also.
- Is it due to server is sending request at more speed than server is able to handle. In this case many times client is getting request at interval of 3 seconds whereas server is taking 7 seconds to handle this.
- What is network buffer. Whether there are two buffers at network level one at client place and other at server place.
- If server is unable to handle request at same speed what client is sending is all request get buffered at client buffer and what will happen if more request are pending to be processed than maximum size of that buffer.
- What are alternative way to improve performance if we are at client end and no control on server
EDIT : When I used wireshark in my network to capture network logs I found that it is appearning in wireshark 20 seconds after actually my application is send to Server. What is reason behind this delay. what can be the possible reason in which request is appearing in network 20 seconds delay from actually it has been sent.