15. Web Web Web Load-Balancer Web Container Auto-Scaling A new machine is started when the requests-per-second threshold is breached
16. Increase Load – Auto-scale-out Click View Stocks twice A total of 3 “View Stocks” pages are open. Note that the gauge is above threshold.
17. Increase Load – Auto-scale-out Wait for a machine to start automatically.
18. Increase Load – Auto-scale-out When the machine starts, the number of web Processing Units (PUs) increases from 2 to 3
19. Decrease Load – Auto-scale-in Close 2 “View Stocks” pages (leave only 1 open) Note the gauge is below threshold
20. Decrease Load – Auto-scale-in Wait until a Web_Container machine is automatically terminated (scaling in back to 2 machines). This might take a few minutes
21.
22.
23. Automatic Failover of Data Grid Stock updates are replicated to backup Partition 1 Active Partition 2 Backup Partition 2 Active Partition 1 Backup Write Data Replication
24. Automatic Failover of Data Grid When a machine fails, backup becomes primary Partition 1 Active Partition 2 Active Partition 1 Backup Partition 2 Active Write Data
25. Automatic Recovery of Data Grid A new machine is started, backups are deployed Partition 2 Backup Partition 1 Backup Partition 1 Active Partition 2 Active Write Data Replication
26. Automatic Recovery of Data Grid Number of active instances is re-balanced Replication Partition 1 Active Partition 2 Backup Partition 2 Active Partition 1 Backup Write Data