Would that be the decision of the webserver? gevent uses a event-per-request
and it is written completely in python.

--
Thadeus




On Wed, Dec 1, 2010 at 11:45 AM, John Heenan <[email protected]> wrote:

> The elephant in the room has not gone away Massimo.
>
> Web2py is great for small projects.
>
> DotNet is great for small and large projects.
>
> The elephant in the room is not only the untested scalibility of
> web2py but also the amount of resources that neeeds to be thrown at
> web2py compared to DotNet and other frameworks as scale increases.
>
> One of the glaring defciences in web frameworks that use Python is the
> glaring engineering weakness of using thread per request web serving
> instead of using event per request web serving. I think I have pointed
> this out a number of times on this fourm, but it just does not sink
> in. I even pointed out how Linux loast a PR war over this issue.
>
> There is no need for Python based web frameworks to use thread per
> request web serving.
>
> John Heenan
>
> On Nov 30, 4:05 am, mdipierro <[email protected]> wrote:
> > You achieve scalability by replicating the web server behind a load
> > balancer. This is documented in the book, chapter 11, using HAProxy.
> > All frameworks work the same way in this respect. web2py has no
> > intrinsic limitations. The bottle neck is the database connection. All
> > frameworks have the same problem. You can replicate the database too
> > and web2py supports multiple database clients with Round-Robin.
> >
> > On a small VPS, web2py in average, should execute one page in 20ms.
> > Depending on how many requests/second you need you can determine how
> > many servers you need.
> >
> > web2py apps run on Google App Engine and that means arbitrary
> > scalability as long as you can live with the constraints imposed by
> > the Google datastore (these limitations will go away as soon as Google
> > releases MySQL in the cloud, which they announced some time ago).
> >
> > Please ask the consultant: which .NET feature makes it scale any
> > better than web2py or Rails? If he explains we can address it more
> > specifically.
> >
> > Massimo
> >
> > On Nov 29, 11:56 am, Lorin Rivers <[email protected]> wrote:
> >
> > > The project I'm working on has hired a consultant who is now
> recommending .Net in place of web2py or even rails.
> >
> > > What's the 'largest' scale web2py is known to perform well on?
> >
> > > --
> > > Lorin Rivers
> > > Mosasaur: Killer Technical Marketing <http://www.mosasaur.com>
> > > <mailto:[email protected]>
> > > 512/203.3198 (m)
> >
> >
>

Reply via email to