In-memory Infinispan Caching
4.2 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
55 students enrolled

In-memory Infinispan Caching

Learn in-memory wildfly infinispan caching for a distributed application
4.2 (13 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
55 students enrolled
Created by Akash Nigam
Last updated 9/2018
English
Price: $19.99
30-Day Money-Back Guarantee
This course includes
  • 2 hours on-demand video
  • 6 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • You will be able to setup, configure, deploy and test the Infinispan in-memory cache in a distributed (multi-node) java application.
  • Customise jgroups protocol for node discovery and communication between nodes running the application.
  • Deploy and test the application on AWS infrastructure.
  • And you will get to know about different types of caches, modes, and some advance features of Infinispan, working in a real world application
Requirements
  • You should be able to create and deploy a basic Java application on a Web or an Application Server.
  • And you should have a basic understanding of what data caching is.
Description

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.

Who this course is for:
  • This course if for intermediate level application developers looking to learn how to use infinispan cache it in a real world application.
  • Developers looking to up their skill level, as infinispan cache is a hot skill.
  • IT professionals preparing for technical interviews.
  • Professionals preparing proof of concepts for their bosses and clients to improve their existing application performance.
  • This course is NOT for beginner level developers in application development.
Course content
Expand all 16 lectures 02:13:12
+ Introduction
4 lectures 11:23

This video provides a sneak peek into final output - a clustered application on 2 nodes in AWS.

Preview 03:25

In this lecture,

  • We learn about what is INFINISPAN,

  • And how and when should you use it

INFINISPAN - An Introduction
01:22

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

Demo App - Project Setup
05:22
+ Infinispan Caching
5 lectures 33:59

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

Preview 17:15

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.

Custom Cache
06:26

In this lecture,

  • We are introduced with the Cache Manager and why we need it.

What is a Cache Manager
03:11

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.

Setting up Cache Manager
03:48

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

Cache Manager for Non-clustered Cache
03:19
+ Clustering in Infinispan
2 lectures 20:10

In this lecture,

  • We are introduced with the concept of CLUSTERING in infinispan.

Clustering
13:51

In this lecture,

  1. We are introduced with the concept of JGROUPS

Jgroups
06:19
+ Testing with AWS
3 lectures 57:53

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)

S3 Node Discovery with Local Testing
26:28

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)

AWS Deploy and Test - Part 1
17:00

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

AWS Deploy and Test - Part 2
14:25
+ Infinispan API and Cache Modes
2 lectures 09:47

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

Listerners, Notifications and Async API
03:43

In this lecture,

  • We learn about 4 cache modes provided to us by infinispan

  • Their usage and when to use which

Cache Modes
06:04