- 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.
推薦閱讀
- Node.js 10實(shí)戰(zhàn)
- Visual Basic程序開(kāi)發(fā)(學(xué)習(xí)筆記)
- 無(wú)代碼編程:用云表搭建企業(yè)數(shù)字化管理平臺(tái)
- Twilio Best Practices
- Java從入門到精通(第5版)
- Scratch真好玩:教小孩學(xué)編程
- Visual C++應(yīng)用開(kāi)發(fā)
- Python編程與幾何圖形
- Gradle for Android
- RabbitMQ Cookbook
- Java面向?qū)ο蟪绦蛟O(shè)計(jì)
- Domain-Driven Design in PHP
- Kubernetes進(jìn)階實(shí)戰(zhàn)
- Xcode 6 Essentials
- ActionScript 3.0從入門到精通(視頻實(shí)戰(zhàn)版)