Iterative Models and Stateless Environments
I have an iterative simulation model that does X per timestep. What's the best way to simulate that ite开发者_StackOverflowrative model in a stateless environment like ASP.NET?
Simulation data is in the 10 to 15 MB range.
Use the Session State, or if using WebForms, you can also use ViewState.
Or just design for statelessness. Serve each "timestep" with all of the information necessary to advance to the next state. Instead of thinking of the problem as one of managing state, think of it as a large form that gets passed between multiple parties and is gradually filled in by each one.
精彩评论