Load Balancing Cluster not working with Apache HTTP Server 2.4.6 and JBoss EAP 7

Basically you have two options – either create a cluster using JBoss own domain mode or extend you standalone configuration to contain required elements for session replication and sso. In domain mode, most of the configurations are already present in EAP7 – just extend domain-full-ha profile. Required changes include enabling distributable flag in your web … Read more

What is the best library for Java to grid/cluster-enable your application? [closed]

There are several: Terracotta (open source, based on Mozilla Public License); Oracle Coherence (formerly Tangosol Coherence; commercial; based on JSR 107, which was never adopted officially); GigaSpaces (commercial; based on JavaSpaces API, part of Jini); GridGain, which you mentioned (open source: LGPL); memcached with a Java client library (open source: BSD License; EHCache (open source: … Read more

Nginx TCP forwarding based on hostname

This is now possible with the addition of the ngx_stream_ssl_preread module added in Nginx 1.11.5 and the ngx_stream_map module added in 1.11.2. This allows Nginx to read the TLS Client Hello and decide based on the SNI extension which backend to use. stream { map $ssl_preread_server_name $name { vpn1.app.com vpn1_backend; vpn2.app.com vpn2_backend; https.app.com https_backend; default … Read more

Adding machineKey to web.config on web-farm sites

This should answer: How To: Configure MachineKey in ASP.NET 2.0 – Web Farm Deployment Considerations Web Farm Deployment Considerations If you deploy your application in a Web farm, you must ensure that the configuration files on each server share the same value for validationKey and decryptionKey, which are used for hashing and decryption respectively. This … Read more