| Article: |
Designing J2EE Applications for Real-Life Clustered Environments | |
| Subject: | External Files - Shared Systems | |
| Date: | 2004-07-22 08:17:15 | |
| From: | msugar | |
|
In an environment where files and directories can be shared among several machines, I think it is OK to store files (for instance, files uploaded by users) in the file system instead of a database.
|
||
Showing messages 1 through 1 of 1.
-
External Files - Shared Systems
2004-07-22 09:52:42 AnilSharma [View]



The problem is in notifying all nodes of cluster that their cache of file is invalid, and should be refreshed. To do that, you'll have to build your cluster-aware mechanism which surely isn't desirable. You shouldn't have to make your application more complex just because you want to be able to deploy it on cluster also.