Re: Re: how to display images stored in DB
| From: | tedd | Date: | Fri, 02 Mar 2007 13:48:55 +0000 |
| Subject: | Re: Re: how to display images stored in DB | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-249717@lists.php.net to get a copy of this message | ||
At 5:24 PM -0600 3/1/07, Richard Lynch wrote:
On Wed, February 28, 2007 6:41 pm, Robert Cummings wrote:But the cat ain't going to like any of them. tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.comWhat about when you need to share those files across a 50 node network? I'd keep it in a database, then when I need it cache a local copy on the filesystem. Then I can just check the timestamp in the database to see if the file has changed. Voila, multi-node high availability images. Seems better than have a local copy of every single image. I guess the answer is... it depends on what you're doing!Add an image server (or 20) and change the HTML to point to the image server. Use rsync on the 20 image client servers from the master image server. Lots of ways to skin this cat.