struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Barrows" <jbarr...@sssc.com>
Subject RE: Where to store and how to retrieve Images for web app
Date Wed, 01 Dec 2004 17:49:39 GMT


> -----Original Message-----
> From: Brady Hegberg [mailto:bradyh@bitstream.net]
> Sent: Wednesday, December 01, 2004 10:40 AM
> To: Struts Users Mailing List
> Subject: RE: Where to store and how to retrieve Images for web app
> 
<snip/>

> 
> Does anyone know if there are advantages in particular app-servers to
> keeping your graphics on the filesystem versus in the database?

Well...let's see... local to server file system, no data xfer across network. Store image
in DB and you have to pull image across net, then shove it out to user.

Depending on image size and network latency, the container won't make any difference at all
to performance.  

If you're doing a lot of images, then you probably want to put Apache in front.  I have told
apache to redirect certain requests to the images directory, while letting my web app write
their.  Beats ths stuffin out of writing a pass through servlet.  If apache and app-server
can't reside on same box, share drives or use something like rsync to keep both boxes up to
date.

As for app-server speed... I've found Websphere to be somewhat slower the Tomcat.... then
again.. it could be the @#$^@#%^@$&@% legacy code I'm dealing with too.....

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message