本站首页    管理页面    写新日志    退出


«October 2025»
1234
567891011
12131415161718
19202122232425
262728293031


公告
本博客在此声明所有文章均为转摘,只做资料收集使用。并无其他商业用途。

我的分类(专题)

日志更新

最新评论

留言板

链接

Blog信息
blog名称:
日志总数:210
评论数量:205
留言数量:-19
访问次数:923395
建立时间:2007年5月10日




[内容管理框架]Jackrabbit 笔记:Session and server state
文章收藏,  网上资源,  软件技术,  电脑与网络

李小白 发表于 2008/4/8 22:07:53

I think session creation is not expensive, so #2 is perhaps simplest. I guess the session can act as a cache, but perhaps a cache targeted more specifically at an application would better serve performance then the Session itself. Thoughts? On 2/8/07, Pruitt, Steve <[EMAIL PROTECTED]> wrote: I am interested in managing server state in regards to repository sessions. Specifically, the scenario of a load balancer distributing user requests across multiple servers. There are a number of questions that come to mind and I was wondering how others have approached the problem. In no particular order... 1) To avoid recreating a new session per user request, the repository session can be cached until the user "logs off". 2) Or, if session creation is not expensive then maybe the session is committed and then destroyed per user request? 3) If the session is persisted across user requests, how can the session be serialized to sync up the other servers. 4) Or, the session cannot be serialized and server affinity must be enforced. There may be other and obvious issues, but these are forefront for me. Any comments and ideas are appreciated. -S Re: Session and server state Michael Neale


阅读全文(2004) | 回复(0) | 编辑 | 精华
 



发表评论:
昵称:
密码:
主页:
标题:
验证码:  (不区分大小写,请仔细填写,输错需重写评论内容!)



站点首页 | 联系我们 | 博客注册 | 博客登陆

Sponsored By W3CHINA
W3CHINA Blog 0.8 Processed in 0.031 second(s), page refreshed 144794945 times.
《全国人大常委会关于维护互联网安全的决定》  《计算机信息网络国际联网安全保护管理办法》
苏ICP备05006046号