Re: Django scalability with files

2009-08-28 Thread James Bennett
On Thu, Aug 27, 2009 at 2:22 PM, Rafael Ferreira wrote: > The queue idea is a good one, and you can use Gearman to do that really > easily. Another, even simpler, way to handle this is to use some kind of > shared NFS mount for the storage. All things being equal, scaling a filer or > SAN will be

Re: Django scalability with files

2009-08-27 Thread Rafael Ferreira
The queue idea is a good one, and you can use Gearman to do that really easily. Another, even simpler, way to handle this is to use some kind of shared NFS mount for the storage. All things being equal, scaling a filer or SAN will be much easier than scaling your DB, specially if - like most simila

Re: Django scalability with files

2009-08-27 Thread David De La Harpe Golden
Lewis Taylor wrote: > Is there a better solution django offers, and why are > blobs not supported. ideally i would have the image stored in DB and > that way there would never be sync issues. > FWIW (which given you're concerned about scaling mightn't be all that much), it's fairly straightforw

Re: Django scalability with files

2009-08-27 Thread David Zhou
On Thu, Aug 27, 2009 at 6:13 AM, Lewis Taylor wrote: > > I have an imagefield that i want to create a thumbnail for on approval > of the image. The problem is (setup is 2 django instances, load > balancer and DB) if the image is stored on one machine it's not the > cleanest solution to have to get

Django scalability with files

2009-08-27 Thread Lewis Taylor
Question: I have an imagefield that i want to create a thumbnail for on approval of the image. The problem is (setup is 2 django instances, load balancer and DB) if the image is stored on one machine it's not the cleanest solution to have to get the image from the other server and process it. Is