> On Fri, Jan 6, 2012 at 12:59 AM, Senthil <skksun...@yahoo.co.in> wrote:

> > I have an xmlRPC standalone server written wholly in python. Now am facing
> > problems in scaling the services. The more we start adding features, the
> > response gets slower. Is there any alternate server architectures i should
> > start thinking of ? This server works on basis of threaded architecture and
> > am seeing some complaints about threading in python. Should i be
> > considering anything else ?
> >
> > Please advise.

As others have advised well, twisted is really suitable candidate for
this. Here is bit of strategy for you if you were to develop your
first application using twisted (if the concept of reactors is new).

- Follow the twisted tutorial right from the finger example.
- At the point in the tutorial were your finger service is going to
  use xmlrpc, try 'fit-in' your requirements logic into that style.

- Once you have small outline of that style of program working for
  multiple parallel connections go head with making your program
  complete.

If you would like to relish in understanding the concepts underlying
twisted, look at the documentation written by dave peticolas. They are
really good.


HTH,
Senthil

_______________________________________________
BangPypers mailing list
BangPypers@python.org
http://mail.python.org/mailman/listinfo/bangpypers

Reply via email to