- Apache Ignite Quick Start Guide
- Sujoy Acharya
- 277字
- 2021-06-10 18:52:28
Addressing High Availability and Resiliency
Load balancers are used to distribute user loads across the JVMs/nodes of an enterprise application. Load balancers use sticky sessions to route all the requests for a user to a particular server, which reduces session replication overhead. Session data is kept in the server; in the case of server failures, the user data is lost. It impacts the availability of the system. Web session clustering is a mechanism to move session data out of application servers, to the Apache Ignite data grid. It increases system scalability and availability; if we add more servers, the system can handle more users. Even if a server goes down, the user data will still be intact.
The following diagram depicts web session clustering with the Apache Ignite in-memory data grid:
A Load Balancer can route user requests to any server based on the load on the server; it doesn't have to remember the server-session affinity mapping as the user sessions are kept in the Ignite grid. Suppose a user's requests were being processed by App server 3, and his session is kept in the Apache Ignite session grid Session 3 in the previous diagram. Now, if App server 3 is busy or down, then the load balancer can route the user request to App Server N. App Server N can still process the user request as the user session is present in the Ignite grid.
You don't have to change code to share user sessions between servers through the Apache Ignite grid. We will configure web session clustering in Chapter 3, Working with Data Grids.
- Word 2003、Excel 2003、PowerPoint 2003上機(jī)指導(dǎo)與練習(xí)
- 大數(shù)據(jù)技術(shù)基礎(chǔ)
- Seven NoSQL Databases in a Week
- Natural Language Processing Fundamentals
- 永磁同步電動機(jī)變頻調(diào)速系統(tǒng)及其控制(第2版)
- Moodle Course Design Best Practices
- CompTIA Linux+ Certification Guide
- 完全掌握AutoCAD 2008中文版:機(jī)械篇
- Word 2007,Excel 2007辦公應(yīng)用融會貫通
- 嵌入式GUI開發(fā)設(shè)計
- PowerMill 2020五軸數(shù)控加工編程應(yīng)用實例
- Creating ELearning Games with Unity
- Learning Cassandra for Administrators
- 電氣控制及Micro800 PLC程序設(shè)計
- Flash CS5二維動畫設(shè)計與制作