- 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.
推薦閱讀
- 工程軟件開發技術基礎
- .NET 4.0面向對象編程漫談:基礎篇
- 機械工程師Python編程:入門、實戰與進階
- Visual Basic程序設計實驗指導(第4版)
- 深度學習:算法入門與Keras編程實踐
- Serverless架構
- .NET 3.5編程
- 快人一步:系統性能提高之道
- Java Web開發詳解
- C++從入門到精通(第6版)
- Python Programming for Arduino
- Ext JS 4 Plugin and Extension Development
- Java Web開發基礎與案例教程
- Keil Cx51 V7.0單片機高級語言編程與μVision2應用實踐
- Python滲透測試編程技術:方法與實踐(第2版)