My web service uses a different API to retrieve data. I cache the data, clear it and return when the user makes a request. Right now I have a lot of requests, and since I can only access the data API 2 times per second, I get errors, which means that some users do not receive data, while others do.
What I want to do is add each request to the queue and process them 1 on one with 0.4 second sleep between them. it will have to work all the time to make sure all requests are processed.
How to do this in ASP.NET 3.5?
source
share