On 12 Mar 2015 14:19, "INADA Naoki" <[email protected]> wrote: > > I made setup for high performance application on TechEmpower's benchmark game. > http://www.techempower.com/benchmarks/ > > I think Round 10 will come soon. Flask, Bottle, Falcon, Django, > Pyramid and API-Hour are there.
Yes, we will see, especially after that my pull request will be merged to fix postgresql configuration ;-) > > IMO, When I really needs high performance (1000~ req/(sec*cores)), I > use Go in these days. >From my point of view, Python is the best language to write business logic. I hope to continue to find solutions to improve performance with Python instead of to regenerate a toolbox with another language. > > When performance is not matter but async programming is required, I've > used Tornado. > But I found http://asyncio.org/ and asyncio has many maintained > libraries for asyncio. > I'll try to switch from Tornado to asyncio. > > > On Thu, Mar 12, 2015 at 10:11 PM, INADA Naoki <[email protected]> wrote: > > I think API-Hour uses connection pool for PostgreSQL, right? > > > > DB connection has relatively high cost. > > Especially, PostgreSQL is known that connection cost is higher than MySQL. > > > > In the case of Django, CONN_MAX_AGE configure option enables reuse connections. > > In the case of Flask, I usually uses SQLAlchemy's engine for connection pooling. > > > > > > On Thu, Mar 12, 2015 at 6:43 AM, Ludovic Gasc <[email protected]> wrote: > >> Hi people, > >> > >> As promised, this is the benchmarks based on your remarks: > >> http://blog.gmludo.eu/2015/03/benchmark-python-web-production-stack.html > >> I've started to receive positive feedbacks from few users who use API-Hour > >> on production, it seems we aren't alone to observe a positive performance > >> improvements with this architecture. > >> > >> Thanks for your constructive remarks. > >> > >> Regards. > > > > > > > > -- > > INADA Naoki <[email protected]> > > > > -- > INADA Naoki <[email protected]>
