Learn about Infinispan in-memory data caching, different types of Caches, Cache Manager API, Clustering, Jgroups custom configuration, Cache Modes, Listeners and Notifications and Async API.
Learn by watching these concepts being implemented in real time to create a multi-node application and then finally deploying and testing the same application in AWS.
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
OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.
Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.
Find this site helpful? Tell a friend about us.
We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.
Your purchases help us maintain our catalog and keep our servers humming without ads.
Thank you for supporting OpenCourser.