Handling multiple requests
807603Nov 5 2007 — edited Nov 5 2007Hello Everybody.
I have developed an application which purpose is to shorten a lenghty url entered by the user.
You can check it at http://vividurl.com
This is what my client concluded after the development of the website.
*************************************************************************************
We were using this as a way to simulate concurrent requests for alias
generation. Because all HTTP requests are "stateless", it doesn't matter
where they come from, one IP or multiple IPs. Web application (your code)
treat each as just another request. It didn't pass this test.
One even bigger problem was that this application is not capable of
correctly handling multiple requests. i.e. while the system is handling one
alias-generation request, before the result is returned to user, if another
user request comes in during this period, the system will return two
IDENTICAL alias to both users -- this is unacceptable for any web
application.
*************************************************************************************
Please advice me how to overcome these problems.
Thanks a loads.