> [1 <text/plain; us-ascii (quoted-printable)>] > Am 2009-10-18 11:48:15 -0700, victor.pantoja schrieb: > > We are migrating a something complex system from Java to Python and we > > are thinking about choosing CherryPy as our framework.
> > My doubt: does cherrypy stand +/- 4 million users and +/- 250 > > thousands simultaneous access?
> > Of course we are talking about using a very large cache structure > > (memcached), WSGI and apache.
> I never tried CherryPy with so much Users/Connections...
My guess is that it is not necessarily CherryPy that would be difficult to use as much as the underlying systems the application being served would be using. For example, if you had that many simultaneous connections, you'd most likely need to have a set of CherryPy servers running. Each server would most likely have some sense of global state whether that is a session or something else. That system is more likely going to be the one that needs to be very fast or handle other scaling requirements. This means considering things like the db connections, file locking/unlocking and a host of other details that might cause issues.
What I can say for sure is that in terms of application development and stability , CherryPy is really well designed and makes it very well suited for building scalable systems. That may or may not mean it would work for your situation, but if your thinking of trying something like a WSGI based server (ie Werkzeug, Paste, CherryPy), then CherryPy is a great place to start.
> We are migrating a something complex system from Java to Python and we > are thinking about choosing CherryPy as our framework.
> My doubt: does cherrypy stand +/- 4 million users and +/- 250 > thousands simultaneous access?
> Of course we are talking about using a very large cache structure > (memcached), WSGI and apache.
I'm curious why you're porting to Python rather than say, Scala. It seems that Scala would allow you to leverage your existing java infrastructure and codebase while incrementally moving to a far better language.
> > We are migrating a something complex system from Java to Python and > > we are thinking about choosing CherryPy as our framework.
> > My doubt: does cherrypy stand +/- 4 million users and +/- 250 > > thousands simultaneous access?
> > Of course we are talking about using a very large cache structure > > (memcached), WSGI and apache.
> I'm curious why you're porting to Python rather than say, Scala. It > seems > that Scala would allow you to leverage your existing java > infrastructure and codebase while incrementally moving to a far > better language.
> -jeff
What's wrong with Jython? ;)
There was actually a post awhile back reporting success with running CherryPy on Jython, with only a couple of minor modifications (modulo auto-reload not working). I'd almost expect Jython would have a leg up on CPython for running CP because of the latter's heavy thread usage: Jython enjoys the JVM's robust threading support (i.e. no GIL).