![]() ![]() The problems with long requests run directly off a Web application are many: At first blush, you may think, “What's the big deal here? After all, Web Servers are multi-threaded and can run multiple requests simultaneously.” Well, in many cases this arrangement is still problematic, because of the resource use involved on the Web server. Almost any Web application will have at least one or two backend or administrative tasks that take a fair amount of time to run. When designing a Web application, the issue of how to handle long-running requests invariably comes up. ![]() A polling mechanism and an Event manager class can be used to pass messages between a Web application and a processing server running the actual long task. In this article, Rick describes one approach that can be used to handle lengthy requests. Long-running requests can tie up valuable Web server connections and resources. Web Applications tend to be stateless, and running long requests can be problematic for Web backends.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |