ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-mod_perl
perl-mod_perl
Any success with storing photos in a database?
by Mark Stosberg other posts by this author
Sep 29 2008 12:04PM messages near this date
Re: Mod_Perl and Net::SMTP | Re: Any success with storing photos in a database?
This question isn't so much a mod_perl question, as it is a question
about building high performance websites with Perl. 

We have a large, busy, database application that relates to millions of
photos, which we also need to store and display. We've been keeping the
meta data about the photos in PostgreSQL, and the files on the file
system. (Implemented much like CGI::Uploader ).

This has worked great in terms of performance, but with so much data to
manage, over time we have run into data inconsistency issues between the
file system and the database.

So, I'm asking if anyone has had experience successfully storing photos
(or othe files) directly in database? That would solve the consistency
issue, but may create a performance issue. Perhaps the right kind of
caching layer could solve that.

    Mark

-- 
 . . . . . . . . . . . . . . . . . . . . . . . . . . . 
   Mark Stosberg            Principal Developer  
   mark@[...].com     Summersault, LLC     
   765-939-9301 ext 202     database driven websites
 . . . . . http://www.summersault.com/ . . . . . . . .
Thread:
Mark Stosberg
Cosimo Streppone
Mark Stosberg
Mark Stosberg
Mark Stosberg
Jeff Pang
Perrin Harkins
David Nicol
Perrin Harkins
James Smith
aw
Cosimo Streppone
James Smith
Cosimo Streppone
James Smith
Perrin Harkins
Frank Wiles
W. Tyler Gee
aw
Frank Wiles
Himanshu
Michael Peters
David Nicol

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved