Hi Andy,

I do not use a different server for media yet but it is in project.
Maybe I could help:

> 2. Do you typically use a different hosting company for the media
> server than you do for the django server? If so, can you suggest any
> names?

There is the Amazon S3 and Rackspace Cloudfiles services. With then,
you don't buy a space demand, you pay for disk space and bandwith
usage, in my case, they will be cheaper than an another vps for media
server.

I don't know Amazon S3 very well but I know Rackspace Cloudfiles, the
problem is that I can't have a path like this:

/media/main/folder1/folder2/file.jpg

I need something like this:

http://mediax.server.com/group1/file1.jpg

If you are starting your project, it could be easier to align.

There is cases of django and Amazon S3 on google and the Rackspace
Cloudfiles has a python lib too.

> 3. (I just thought of this) Or do you just literally mean a different
> server, as in the software. Meaning use the same hardware server but
> use for example lighttpd for serving media and apache wsgi for serving
> django.

I use nginx in front of apache, if it is a media path, nginx takes
care of it without talk to apache. The apache server is used only for
django paths.

This is better than nothing but isn't the best choice. If i hit a site
with a separated media server, the page loads quickly because the page
and his media files load at the same time. There are hardware gains
too.

I hope I could help.

Best regards.

--
Michel Sabchuk
http://turbosys.com.br/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to