Re: Advice on dynamic graphics with WO
Re: Advice on dynamic graphics with WO
- Subject: Re: Advice on dynamic graphics with WO
- From: Alexander Spohr <email@hidden>
- Date: Mon, 5 Jan 2004 19:55:57 +0100
hi discutants :)
what i don't understand is that so many people here state that it makes
no difference if you let the webserver or the db serve the images.
karl,
Even under heavy loads, neither the app server nor the database
represent a bottleneck.
what is heavy load? could you give some numbers? served by what kind of
machine?
the webserver (having images on the local filesystem) can open the file
and stream it without delay. so you have a trip from
client -> webserver -> filesystem -> webserver -> client.
i consider this fast.
if you go through the woapp and a database, you have
client -> webserver -> woapp -> db -> filesystem -> woapp -> webserver
-> client.
this _is_ slower. please add network-traffic needed for huge image data
between web/app/db - depending on the level of machine seperation, so
your milage may vary.
so IMHO the conclusion is:
- if you need speed, copy the files to each webserver and let it do the
delivery, to avoid the transfer of image data _between_ your machines
(web,app,db).
- if speed is not a problem, put your image into the database for all
the pro's mentioned by the others earlier.
regards,
atze
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.