- JBoss:Developer's Guide
- Elvadas Nono Woguia
- 149字
- 2021-07-02 18:37:29
Session distribution on limited nodes and passivation
Client: Hi doctor, if 10,000 concurrent users are connected on the money transfer application, does this mean all the 10,000 sessions are replicated on all the nodes?
DoctorJBoss: User sessions are replicated on one or more nodes; with the JBoss EAP, there are two replication strategies:
- Full replication mode, where user sessions are replicated on all the cluster nodes; this configuration is suitable for small clusters with less than six nodes
- In the distribution mode, user sessions are replicated on a limited number of nodes in the cluster (two nodes by default), but this value can be customized depending on your application requirements
To reduce memory footprint, developers can also customize session passivation processes: this includes the max active session for an application, the max idle time after which a session should be destroyed by the JBoss Application Server.
推薦閱讀
- PWA入門與實踐
- Monkey Game Development:Beginner's Guide
- Three.js開發(fā)指南:基于WebGL和HTML5在網(wǎng)頁上渲染3D圖形和動畫(原書第3版)
- PHP+MySQL網(wǎng)站開發(fā)技術(shù)項目式教程(第2版)
- Hands-On JavaScript High Performance
- Haxe Game Development Essentials
- 組態(tài)軟件技術(shù)與應(yīng)用
- R語言與網(wǎng)絡(luò)輿情處理
- Visual Basic程序設(shè)計習(xí)題與上機實踐
- Unity 2018 Augmented Reality Projects
- INSTANT JQuery Flot Visual Data Analysis
- Visual Basic語言程序設(shè)計上機指導(dǎo)與練習(xí)(第3版)
- Slick2D Game Development
- Isomorphic JavaScript Web Development
- 可信軟件基礎(chǔ)研究