Within my application, there is a map feature that sends a request to the server whenever a user interacts with it, such as zooming in or panning. The issue arises when users perform rapid actions, leading to multiple requests being sent to the server and overwhelming the client with responses.
I am seeking a more streamlined approach to handling this situation at both the server and client sides. While I have ideas for improving the client's response, I am looking for solutions to avoid processing unnecessary requests on the server's end. I want to prevent any stale requests from being processed and prevent sending responses that the client no longer requires.
Currently, my application is based on the MVC architecture within the .NET Framework.
Thank you for any assistance provided.
P.S. These queries are all handled through ajax requests.