可以使用哪种状态管理技术? [英] Which State management technique can be used?

查看:99
本文介绍了可以使用哪种状态管理技术?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到的情况是我无法使用哪种状态管理技术。请帮我。这是我的方案。



我在客户服务器上工作(我每天都可以使用新凭证访问)。主要问题是,我无法保证明天也能获得相同的服务器。根据带宽和用户使用的数量,软件将为我分配服务器(它就像一个Farm结构)。这件事会在后台发生。所以我不能使用Inproc会话,将值存储在特定服务器中。我们仍然可以使用SQL Server状态管理技术,其中值存储在sql server本身中。但我担心它可能会影响应用程序的性能。请给我一些建议。



谢谢和问候

Sibeesh

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

推荐答案

使用Redis的会话状态提供程序,请查看以下内容:

http://blog.devopsguys.com/2013/07/26/best-performing-asp-net-session-state-providers-2013/ [ ^ ]

就个人而言,我认为这是最好的选择!



快乐编码!
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!


仅限如果你谈论性能状态服务器是最好的选项,你有两个选项状态服务器或存储在数据库中。
Only you have two option State Server or Store in database if you talk about performance State Server is the Best option.


我的选项是状态服务器



State Server是一个进程外会话状态存储选项,适用于Web服务器场。它将会话数据存储在内存中,并提供比SQL Server更好的性能。这似乎是进程内选项和SQL服务器选项之间的良好折衷
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


这篇关于可以使用哪种状态管理技术?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆