I have an app running on a JBoss 4.02 cluster. A requirement of this app is 
that it must serve various files to clients. The files are mostly 60-80K, but 
there are a lot of them and they will be changed/added regularly. I have a 
number of possible solutions in mind but would like to hear what other people 
do in such situations.

1. Have a server set up as a content repository, Place files on it and have the 
cluster query this machine, making local copies if necessary.

PROS: Simple to set up and control
CONS: introduces SPOF, could lead to a bottleneck

2. Place files in JBoss farm directory and have JBoss far them out to other 
nodes. Use a background process ( maybe a custom deployer? ) to register chages 
and inform the app.

PROS: uses current JBoss processes
CONS: Leads to messy deploy directory ( maybe canbe cleaned up by making copies 
elsewhere?? ), ...

3. Place files as BLOBs in a DB.

PROS: simple, especially if using hibernate with JBossCache
CONS: Potential performance issues, dealing with BLOBs issues, ... ?

4. Let users upload files using a web interface. Store files in JBossCache and 
let it manage them.

PROS: Gives users control of their files
CONS: memory issues?, how do i organise these files, what if iwant query the 
number of files of a particular type in the system

Does anyone have ideas what a good solution would be? Anyone have any comments 
to make about any of the above possible solutions?

thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884871#3884871

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884871


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to