On Apr 22, 1:22 pm, Andy McKay <a...@clearwind.ca> wrote:
> On 2010-04-22, at 9:52 AM, Tim Arnold wrote:
>
> > hi,
> > Until now I've been working on a single Freebsd server, hosting a
> > couple of Django apps. Now we've bought another machine to provide
> > load balancing and I'm wondering how to accomplish that.
> > I guess the django code can be shared on the same drive, but the
> > django instances running separately of course (apache/mod_python).
>
> > Is it possible to have two instances accessing the same database? How
> > do you handle load-balancing?
>
> Yes you can. There's lots of options,http://www.apsis.ch/pound/is but one.
> --
>   Andy McKay, @andymckay
>   Django Consulting, Training and Support
>

I just googled that which led to some interesting pages and notes,
thanks.
So, just to make sure I understand:

browser -> pound --> apache1(mysqldb) +django
                          --> apache2(mysqldb) +django

and it will just work? One database, two django instances and they
won't clobber each other on db write?
I guess the writes will block, correct?

thanks,
--Tim

-- 
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