Performance Issues with Threaded Python Network Server

Steve Holden sholden at holdenweb.com
Wed Jan 16 17:49:09 CET 2002


"Joao Prado Maia" <JMaia at lexgen.com> wrote in message
news:mailman.1011190944.12233.python-list at python.org...
>
> > > Please be aware that this is my first real-world python
> > project, so please
> > > be gentil if you see something stupid in my code ;)
> >
> > Well the code looks like you know what you're doing. And a
> > good idea it is
> > too. What I find missing is a script to create the database,
> > with a function
> > to create new groups.
> >
>
> Well, the python server is supposed to work in paralel with the actual
> message board software, which does everything related to the database,
> managing users and so on. The server just inserts a new row on the
> appropriate table with the article posted by the user.
>
> I'm thinking on even setting a constant on the code that even tells the
> server to act as a read-only server and start ignoring postings. In any
> case, you are right, I should add a little bit more of documentation but
I'm
> still researching on the matter and finding problems that need to be
fixed.
>
If the dataabse is only ever used to send out postings, you might consider
doing the dot-escaping when you add the articles to the database, rather
than when you extract them for transmission.

one-time-only-is-better-than-whenever-needed-ly y'rs  - steve
--
Consulting, training, speaking: http://www.holdenweb.com/
Python Web Programming: http://pydish.holdenweb.com/pwp/








More information about the Python-list mailing list