Web场中的并发登录 [英] Concurrent logins in a web farm
问题描述
我真的委派代表问这个,另外一个团队在工作不得不从我们的客户变更请求。
I'm really asking this by proxy, another team at work has had a change request from our customer.
问题是,我们的客户不希望自己的员工能够与一个用户比一次更为登录。 ,他们所得到锁定,共享登录。
The problem is that our customer doesn't want their employees to login with one user more than one at a time. That they are getting locked out and sharing logins.
由于这是在一个Web场,这将是解决这一问题的最佳方式?
Since this is on a web farm, what would be the best way to tackle this issue?
会不会缓存到数据库中会导致性能问题?
Wouldn't caching to the database cause performance issues?
推荐答案
您可以看看使用分布式缓存系统如的memcached
You could look at using a distributed cache system like memcached
这将解决这个问题pretty好(这是远远超过一个数据库快),同时也是优秀的缓存pretty太多别的太
It would solve this problem pretty well (it's MUCH faster than a database), and is also excellent for caching pretty much anything else too
这篇关于Web场中的并发登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!