Thursday, March 13, 2014

Is storing JMS and TLOG files on a shared folder a good practice?

A friend of mine has JMS and TLOG files on a NFS4 shared folder, and shared among the 4 machines of his cluster.

Allegedly this should make his solution more "fault tolerant".

However, after 2 years in Production he has never, I say NEVER had a single machine outage (in any case, who cares about losing one, he has 4 machines in the cluster!) , on the other hand he had a few (at least 3) network glitches who made the NFS server unreachable for a period between a few minutes to a couple of hours.... this making ALL his solution completely unavailable.

So... if I had to make a choice, I would rather avoid NFS at all. If your main use case for NFS is that it makes it easier to deploy configuration files and applications, then consider using Puppet or use a different staging model.

No comments: