tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Share info across different sessions & servers
Date Mon, 08 Jul 2013 01:58:54 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Vince,

On 7/3/13 6:14 PM, Vince Stewart wrote:
> 1) I use embedded Tomcat to build my application and this has
> allowed me to maintain 2 single-line patches in tribes classes by
> adding tribes source code to my compilations. However those patches
> are only necessary with large messages that take more than 3
> seconds to be transmitted from the transmitting machine to the
> Internet Service Provider machine (approx 0.5 meg for my system).
> There is a config setting (Sender/Transport/timeout) that's
> supposed to alter this 3 second timeout limit but I'm not sure it 
> works. 2) The implementation is not at all trivial. You have to
> register StaticMember objects because usual member discovery does
> not work over wide-area network (WAN). I allocate one machine as
> "SuperServer" and all other machines have to enroll with
> SuperServer at startup. All machines need to have a unique
> combination of Ipv4 address and port number (which might represent
> a redirection port for use by the router whereupon networked
> machines also need LAN addresses set). Once registration is 
> complete, all sub-Server machines can send/receive SuperServer and
> vice versa.
> 
> There is a tutorial on-line which is adequate but not for WAN. I
> think you have at least two weeks of work in front of you using
> tribes but I am very happy I used this method.

If you want to simplify things over a WAN, just use a VLAN / VPN or
brute-force it all with stunnel. Then you can pretend you are running
"locally".

> None of my code would add much (except confusion) to that in the
> tutorial. Make sure you start without multicast enabled as it
> currently is suitable only for LAN.

... or VPN/VLAN.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJR2hzeAAoJEBzwKT+lPKRYroUP/jM9FotiJ1oirhizPljCy8Qi
Dl1ZKiA2kefL/RQkUc5M0ne9QU5wK8q7b7AjvBjAjWyZq1+Adm9+ZhPmFfVqCSox
dtuV5uNCYjWPkPQiBh4CWUEkBdZs9b4tbRkDir1zYgFGWgAJBV67Umoa6bouuOil
qmAEG/9CZf7HNb5qzQZgrD52T/2kPpLMkzQtnqYVA9PSieNZxNiEMBPCqTviNeYD
nxQUD6BOMJ2eTjX03ovZw0ogBa5EoaP0Az6FrJhQJkSs/Kq6IaznlY5ati3Eck42
Xkvr6KT3zssKlzMRlVUOY7MhB3YgCf7O09rCgoc+vyfB6KpXNhzHlHI5th9aqyi+
a4Mp+YtPjUuXEj16jygAhRLh1KPTULttlmfdmwF+3MbOWYRGuFab+X3uK3t/3pTn
AQMMEUjYoh+4a8QgvFNdZL7C3ETzbwozi+dO038fIzOX47SGaJIxy/ocbyEgN6lk
SPv8dfLQ7lMqkFEQhYBamr4KIP2iKFFgnlOfPwj1iMt1AtrKZCJFYYiLz1lwW8pG
wWGJkwdo1mrJAJjTQWr2DTmTX+iXj5UWuoypMKFk26uQvcrYxuJQW5i7p98DKa92
I9nI2XpfDg5mjxy5yRoykujJqzpzi4qBm9FtDq0VjBoxoS6COgGjGTkh61M/MVha
sWrP494NGhHNMT6WQ+EN
=j7t6
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message