Hi all,

One of my clients has asked me to implement a Django site where they
host the application side on their own Internet connection (low
latency 2Mbit fibre pipe) while hosting the static content on their
ISP's provided web space. Which is high speed (I tested it as likely
having multiple 100Mbit connections OR a Gigabit pipe).
Reason for this is 2 fold, 1 being that the total bandwidth allotment
for their local pipe is limited to around 600GB/mo, 2 being that as I
stated above, the web space is very high bandwidth and has a virtual
unlimited allotment in bandwidth for them.

The problems I'm facing:
A). The web space is only accessible trough FTP and HTTP, FTP being
the only factor when talking uploads.
B). They want the site to be transparent with the remote web space, so
that if they upload files trough the website like in any normal fully
local Django site, the content is immediately accessible.

One possible solution is the following:
http://www.djangosnippets.org/snippets/1269/

Which is a pluggable storage plug that transfers files over FTP on
forms upload. But the author of the app states that this solution
isn't viable for larger files since the uploaded files are stored in
memory during transfer to FTP. The client of course needs large files
to work. They have gigantic images that need to be uploaded and shared
(think gigantic in terms of 16k x 9k TIFF's ...).
If uploads happen one by one, do you think a 2GB ram server that has
1GB unused would be able to handle it in a stable fassion if the files
stay under 1GB in size?

Do you know any other way to do this other then to use the above
snippet or setup a high refresh FTP sync schedule that would resync
the files between local and FTP every 5 to 10 minutes?

Also, isn't with an FTP sync the danger present that large files being
uploaded get whacked by the server trying to upload it to the webspace
at the same time?

r/Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to