Giter VIP home page Giter VIP logo

wildfly-clustering-reproducers's Introduction

WildFly Clustering Reproducers

This repo contains some recipes and scripts on how to easily and quickly setup some WildFly cluster.

Overview

WildFly nodes running in cluster (started using standalone-ha.xml or standalone-full-ha.xml e.g. WILDFLY_DIRECTORY/bin/standalone.sh --server-config=standalone-ha.xml) can use a distributed cache and share data across nodes:

Archidecture

Reproducers

BASIC

Demonstrates how to run a 4 nodes WildFly cluster using an distributed cache for WARs; a distributable WAR is deployed to the 4 nodes and some HTTP requests are fired at the 4 nodes to check the cache is working.

HOTROD_JDG

Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster.

NOTE: Uses the NEW WildFLy HotRod session manager to connect to the remote Infinispan Server cluster.

METRICS

Demonstrates how to run a 4 nodes WildFly cluster producing metrics collected by Prometheus and visualized by Grafana.

INVALIDATION_DB

Demonstrates how to run a 4 nodes WildFly cluster using an invalidation cache for webapps, backed by a relational Database.

INVALIDATION_JDG

Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster.

NOTE: Uses the traditional WildFLy Infinispan session manager to connect to the remote Infinispan Server cluster.

JDG-ENCRYPTED

Demonstrates how to run a 2 nodes WildFly cluster using an invalidation cache for webapps, backed by a 2 nodes Infinispan Server cluster. The communication between WildFLy and Infinispan is encrypted.

SHARED SESSIONS

Demonstrates how to run an EAR containing 2 WAR files sharing HTTP sessions, on a 4 nodes WildFly cluster; Some HTTP requests are fired at the 4 nodes to check that session are shared across WAR files and nodes;

SINGLETON DEPLOYMENT

Demonstrates how to run a Singleton Deployment WAR on a 4 nodes WildFly cluster; a Singleton Deployment WAR is deployed to the 4 nodes and some HTTP requests are fired at the 4 nodes to check the service is active on just on node;

SSO

Demonstrates using SSO with an application deployed on 2 nodes cluster

SSO HOTROD JDG

Demonstrates using SSO with an application deployed on 2 nodes cluster; SSO data is offloaded to a remote Infinispan cluster through HotRod;

wildfly-clustering-reproducers's People

Contributors

tommaso-borgato avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.