We are currently using Infinispan for caching data from database which is working fine. Since we are already using Infinspan, I was wondering if it can be used for communication and coordination between application server instances that are running the same application.
An example would be a counter where each app server counts the task it completes. Each server gets a cached object and updates the counter every time it completes a task.
I am still learning Inifinspan and still figuring out the details but I wanted to know if anyone has used it in such a way and if there has been challenges and drawbacks you have seen when used in such a way.
Thanks