views:

28

answers:

2

I know that out of the box that GridGain connects to the other clients through multicast, but is there a way to configure GridGain to accept connections outside of the local network? Also is there a way to enable encryption for the communication as well?

+1  A: 

The Disovery SPI and Communication SPI allows you to plug alternative discovery and communication mechanisms.

For more detail, refer to the comprehensive API documentation (GridGain 3).

This is necessary on Amazon EC2, which doesn't support multicast. Here's an article discussing this setup.

retronym
A: 

Multicast only works well within a certain network segment (and in some cases this isn't even allowed for security reasons). So if you want to connect nodes to your grid that are outside your local network you have to resort to other transports such as JMS or mail (if performance is an issue you might get it away with unicast/static ip's and JGroups).

I think that encryption is possible with both the JMS and mail transport, depending on your message broker and mail setup.

R. Kettelerij