Re: Re: Storing images
| From: | Chris Shiflett | Date: | Sat, 15 Nov 2003 21:01:21 +0000 |
| Subject: | Re: Re: Storing images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169759@lists.php.net to get a copy of this message | ||
--- Kim Steinhaug <kim@steinhaug.com> wrote:
> Well as far as I can see you have 2 options.
>
> a) Store them directly on disc
> b) Store them in a database (eg. mySQL)
>
> I would think that a) is the best way without doubt
I usually take this option myself, but when you are creating an
application to run on a large cluster of servers, option b is the better
choice in many cases. It eliminates having to maintain server affininty
with your load balancer or having to replicate the data among all the
servers.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/
RAMP Training Courses
http://www.nyphp.org/ramp