paengski13 Posted July 11, 2012 Share Posted July 11, 2012 Hi, I have this auction website, where sometimes (happen once or twice a day) the client request is delay for 2-3 seconds before the server received that request. take a look at this scenario: - auction time 00:00:01 - someone make a bid Normally the system detects that someone make a bid, so the auction time will extend up to 20 seconds. However, at a random time, the bid request was received 2 seconds after the auction closed. I have this condition when the auction closed no one can bid anymore, so I am sure that this bid was a valid bid. I have created a log from the start of the process so that I know what time the request from the server was received. user auction id time when server received the request (PHP) ABCDE 1887 2012-07-10 22:35:52 auction id auction closed 1887 2012-07-10 22:35:50 As you can see the auction closed at 22:35:50 but the request was received at 22:35:52. My question is, what are the reasons why sometimes the request is delayed? Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/ Share on other sites More sharing options...
requinix Posted July 11, 2012 Share Posted July 11, 2012 Is the server receiving enough connections that it has to queue some up? Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360693 Share on other sites More sharing options...
paengski13 Posted July 11, 2012 Author Share Posted July 11, 2012 Is the server receiving enough connections that it has to queue some up? Hi, I am not familiar with our server configuration, we are using Windows, and I think our server is high enough to handle all the process. But I am not sure what configuration needed. May I know what to look at so I can check the server setting I think there are less thank 30 users in every auction, since this was launch last May only. Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360697 Share on other sites More sharing options...
requinix Posted July 11, 2012 Share Posted July 11, 2012 If it's not on your end then it's somewhere between you and the user, and (unless it has to do with the page slowing down the browser or something) that means there's nothing you can do about it. Meanwhile (a) do you have somebody who manages the server configuration and (b) how many users do you think you have active per, say, minute? Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360710 Share on other sites More sharing options...
paengski13 Posted July 11, 2012 Author Share Posted July 11, 2012 If it's not on your end then it's somewhere between you and the user, and (unless it has to do with the page slowing down the browser or something) that means there's nothing you can do about it. Meanwhile (a) do you have somebody who manages the server configuration and (b) how many users do you think you have active per, say, minute? Yes we do have a staff who manage our server, but normally I or him does not have enough knowledge on this issues. I think less than 5 - 10 minutes per minute? What I am thinking is to add a 1-2 seconds delay before the auction close, so just in case the this scenario happen. But I still want to know how to solve this if it is really possible to solve. Thank you! Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360712 Share on other sites More sharing options...
requinix Posted July 11, 2012 Share Posted July 11, 2012 It could be something you can address but first you have to find out what the problem is. If you just want to throw out some random fix and forget about it then that's your decision, not mine. Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360715 Share on other sites More sharing options...
paengski13 Posted July 12, 2012 Author Share Posted July 12, 2012 Anyone knows how to solve this? This problem happen again, the request was received 1 seconds after the auction closed, and 2 users bid at the last 1 second (00:00:01) . So the delay is around 2-3 seconds before the system received the request. Does anyone know what to configure or to check for this kind of problem? This only happen once or twice a day, I am not sure what can trigger this event. Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/265499-late-request-received-from-the-server/#findComment-1360975 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.