
This video provides a sneak peek into final output - a clustered application on 2 nodes in AWS.
In this lecture,
We learn about what is INFINISPAN,
And how and when should you use it
In this lecture,
We will setup a java application, which we will use all along the course to try and test the concepts we learn.
Attached are the pom.xml and jboss-web.xml
In this lecture
We are going to make our application - process and return a list of messages to be shown on a UI, from a sluggish and a low performing database
And then improve the performance of the app by making use of the default cache, which is provided right out of the box from infinispan
In this lecture,
We will see how instead of a default cache, we can setup, configure and make use of a custom cache and
How a custom cache enables us to provide our own custom implementation for the cache behaviour.
In this lecture,
We are introduced with the Cache Manager and why we need it.
In this lecture,
We will see how to setup the Cache Manager and
Clean up the default and custom cache logic since the same (or way more) can now be achieved using the Cache Manager API.
In this lecture,
We see how we can customise out Embedded Cache Manager for use in non-clustered mode
Learn about eviction in the attached resource
In this lecture,
We are introduced with the concept of CLUSTERING in infinispan.
In this lecture,
We are introduced with the concept of JGROUPS
In this lecture,
We get to learn how to setup our AWS S3 bucket for node discovery
Adding an AWS Policy for allowing access to the bucket
Adding an AWS IAM User to access the bucket data for our application
Allowing AWS SDK to access user credentials to be used by our application
Find the attached
S3 Policy document (remember to change the ARN of your bucket)
Sample AWS Credentials File (remember to add your aws_access_key_id and aws_secret_access_key)
The custom jgroups-ec2.xml (remember to change the region_name and bucket_name)
In this lecture,
We are going to learn how to setup our applications Nodes on AWS infrastructure
And quickly see how to setup the Security Group (firewall), Elastic IP, EC2 instances, Wildfly server and how to transfer deployment artifacts
Extras :
Use the attached resource to setup a node on AWS with following
Change key permission, login, update OS, install java, download and extract wildfly, and standalone configuration change.
You can use a markdown reader to copy the content of the file to it and see the file with better visuals (use https://stackedit.io/app)
In this lecture,
We are going to test and see the cache clustering happening in the real time on our application nodes in AWS
Check the node discovery file in S3 being added/updated by the application nodes and cache data getting shared between them
Topology changes and updation
In this lecture,
We will learn how to event Listeners and Notifications work and how to register these to the cache manager
How to make use of Asynchronous API
In this lecture,
We learn about 4 cache modes provided to us by infinispan
Their usage and when to use which
Learn about Infinispan in-memory data caching, an advanced open source data grid platform designed for high performance, low latency applications. Understand how different types of caches - such as local, distributed, replicated, and invalidation caches, operate and how to choose the right one based on your system’s architecture and performance requirements. Dive into the Cache Manager API, which serves as the central access point for creating, configuring, and managing caches efficiently within your Java application. Explore clustering concepts to understand how Infinispan enables horizontal scalability and fault tolerance through JGroups custom configuration, ensuring reliable communication between nodes.
Gain a deeper understanding of cache modes, including synchronous and asynchronous replication, and when to apply each mode for optimal throughput and consistency. Learn how to use listeners and notifications to react to cache events dynamically, providing real time insights and control over your cache behavior. Additionally, explore the Async API to boost performance by handling cache operations non-blockingly, reducing latency and increasing system responsiveness.
Finally, consolidate your knowledge by watching these concepts implemented in real time by building a multi-node clustered application, deploying it to AWS, and performing load testing to validate scalability, fault tolerance, and high availability in a real-world enterprise cloud environment effectively.