Click here to Skip to main content
15,891,789 members
Please Sign up or sign in to vote.
3.00/5 (2 votes)
I have a situation that i am unable to use which state management technique to use. Please help me. Here is my scenario.

I am working in a client server(where i will get access everyday with new credentials). And the main problem is, there is no guarantee that i will get the same server tomorrow also. According to the bandwidth and how many users are using , a software will be assigning the server to me(It is like a Farm structure). This thing will happen in the background. So i can not use the Inproc session right where the values are stored in the perticular server.And still we can use SQL Server state management technique where the values are stored in sql server itself. But i am worrying that it may affect the application performance. Please give me some suggestions.

Thanks And Regards
Sibeesh
Posted
Comments
[no name] 2-Oct-14 10:46am    
Is there any way that i can delete this question? Why i am unable to see the delete button? I see this question is down voted twice,so i think this question is not up to the CP standard. Please suggest me a way for it!

Use Session State Providers for Redis, check below:
http://blog.devopsguys.com/2013/07/26/best-performing-asp-net-session-state-providers-2013/[^]
Personally, I think it is the best choice!

Happy coding!
 
Share this answer
 
Comments
[no name] 3-Oct-14 0:06am    
Hmmm that was very useful. But it is paid versions right? I really wanna go with Redis, but i still dont know whether my management will be ok with that. Thank you.
Trung Nguyen Son 3-Oct-14 0:36am    
It's totally free!
Big system uses it, I will show you some evidence. Check it out:
http://nickcraver.com/blog/2013/11/22/what-it-takes-to-run-stack-overflow/
[no name] 3-Oct-14 1:06am    
Yeah that was helpful. Thanks mate. Cheers.
[no name] 3-Oct-14 1:06am    
I accepted your answer :)
Only you have two option State Server or Store in database if you talk about performance State Server is the Best option.
 
Share this answer
 
My Option is State Server .

State Server is an out of process session state storage option that works with web server farms. It stores session data in memory and delivers better performance than SQL Server. This seems like a good compromise between the in-process option and the SQL server option
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900