Hi Brian I've actually got django up a running nicely on a single web/database server under mod_python and Postgres and have been working with that for about 6 months. All is fine on that front and now I want to test the apps scalabilty amongst other things and therefore want to set-up a 3 server system (like the one in the Djangobook).
There seems to little to no documentation on how to set-up the configuration files of setup.cfg in Psycopg or any of the other apps for that matter. I asked such a broad question in case someone might be able to point me in the right direction. I guess I want to know how to make the Apache server and the Postgres server talk to each other over a network connection and not locally on the same machine. Thanks Mark On 18/04/2007, at 12:43 PM, Brian Luft wrote: Hi Mark, In direct answer to your question, psycopg provides a database driver for Postgres and is meant to be used by clients of the database - in your case this would be the web server. As far as your question about configuring everything, that leads me to believe that you are fairly new to either web development or software development in general. The answer(s) to that question may be beyond the scope of this group. Not to discourage you, but you may have your work cut out for you. That said, I think you will find that this and other open source communities are very friendly and helpful as long as you are willing to make an effort on your end as well. I would advise reading through tutorials - both on the Django site as well as the sites for the requisite technologies (Apache/FastCGI, mod_python, PostgreSQL). In each case, I would focus on getting that particular piece installed and configured so that you have some basic familiarity with each piece before you start working with the stack as a whole. Also, I would recommend setting up the web+database server all on the same server to begin with. While distributing your services across multiple servers is an excellent idea and a requisite for scalability, it also introduces complexities and configuration/security considerations. Start simple, verify and get comfortable with the setup, and then take steps to achieve the setup you desire. Hope this helps. -Brian On Apr 17, 6:23 pm, Mark Jarecki <[EMAIL PROTECTED]> wrote: > Hi > > I'm trying to set-up a django system comprising a separate web > server, static server and database server. > > Where does Psychopg live: on the web or database server? > > And how would I go about configuring the two? > > Cheers > > Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---