- 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.
推薦閱讀
- Instant Apache Stanbol
- 單片機(jī)C語言程序設(shè)計(jì)實(shí)訓(xùn)100例:基于STC8051+Proteus仿真與實(shí)戰(zhàn)
- 編程珠璣(續(xù))
- 用Python實(shí)現(xiàn)深度學(xué)習(xí)框架
- Visual FoxPro程序設(shè)計(jì)
- Webpack實(shí)戰(zhàn):入門、進(jìn)階與調(diào)優(yōu)
- Creating Stunning Dashboards with QlikView
- Learning Unreal Engine Game Development
- jQuery從入門到精通(微課精編版)
- 計(jì)算機(jī)程序的構(gòu)造和解釋(JavaScript版)
- Learning Perforce SCM
- Learning Swift
- Python Natural Language Processing
- Mathematica Data Visualization
- JavaWeb入門經(jīng)典