Hello,
I have a RFID reader, which posts the request to IIS server (http://avea.cc/web08s.html) using GET method. Both the reader and server are placed in the same network and connected using a router.
The reader posts the couple of paramaters using key/value pair and ASP.Net page will send the response using couple of tags (http://avea.cc/spec/web08s-sp01.pdf).
I see a constant delay of 3.5 seconds to get the response on the reader. I see 3.5 seconds under the "time-taken" column in IIS logs.
I have enabled tracing and see "0" as processing time.
There is no much code in ASP.Net page except sending hard-coded "<HTML><BODY><AVEA>GRNT=01</AVEA></BODY></HTML>" tags.
I tried to send the same tags using PHP page, Classic ASP page on the same IIS server. But, still see the same 3.5 seconds delay.
Below are the headers posted by reader:
Then, I installed Ubuntu on the same Windows server using Hyper-V and pointed the reader to post to this new server. I got the response in fraction of a second. I used the same PHP file, which I used on IIS server. After that, I tried on couple of servers and I always got the delay on IIS and not on Non-IIS servers.
No other roles are running on IIS server. Its a fresh installation with Web role.
The delay is the same on Windows 7, Windows 8, Windows 2008 R2 and Windows 2012.
I do not see any delay, when I post the same request through browser or Fiddler.
Please let me know if you have any suggestions to reduce the delay.
Thank you for your time!