On Jun 22, 9:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've done some preliminary work integrating Tramline with django
> applications.  It wasn't difficult to set up and the performance was
> impressive.  We are looking at this solution now for all of our media
> handling in Django going forward.
>
> http://infrae.com/products/tramline

If using Tramline, just take note of:

  https://issues.apache.org/jira/browse/MODPYTHON-76

The author of Tramline recommends a patch be made to mod_python but in
the bigger scheme of things haven't been able to work out definitively
why it should be necessary and whether it is just a workaround for
problems in certain versions of underlying Apache code. We have
identified another issue in mod_python filter code which was fixed,
but author seemed to fix this itself didn't resolve problem.

Anyway, this is not to deter you from trying Tramline as I think the
concept is quite interesting and could help to improve performance.
Personally I would have written a dedicated C based Apache module to
do it, but then things like this are much easier to do in mod_python
that using Apache C module API. :-)

Graham

> On Jun 7, 12:38 pm, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am currently doing research on scaling one of the sites I made using
> > Django. I have looked at Chapter 21 of the in-progress Django Book. I
> > plan to follow the track recommending 3 django servers behind perlbal
> > + 1 dedicated media server + 1 dedicated database server.
>
> > The current setup for the site I am working on uses a single machine
> > for the whole site. I have Apache +mod_pythonon one IP address
> > serving Django requests. For media, I have lighttpd running on another
> > IP address on the same machine. Postgresql is also running on the same
> > machine.
>
> > This site allows users to upload pictures. Those uploaded pictures are
> > then served by lighttpd. While this works quite well in our single
> > machine setup I am dumbfounded as to how to handle file/image uploads
> > when we finally move to a load-balanced setup with a dedicated media
> > server.
>
> > The only thing I can think of right now is to share a directory on the
> > dedicated media server and have each server in the Django cluster
> > mount that share either through NFS or Samba. But I don't think it's a
> > good idea to do it this way.
>
> > Does anyone know how else this can be done?
>
> > Thanks in advance.
> > --
> > _nimrod_a_abing_
>
> >http://www.preownedcar.com/http://abing.gotdns.com/


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
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