Re: [python-tulip] Macro-benchmark with Django, Flask and AsyncIO (aiohttp.web+API-Hour)

2015-02-25 Thread INADA Naoki
-and-asyncio.html > > Moreover, to reduce the risk to start a benchmark war in Python community, > this post should help: > http://blog.gmludo.eu/2015/02/open-letter-for-sync-world.html > > Don't hesitate to contact me if you find an error, I'm really interested in. > > Regards. -- INADA Naoki

Re: [python-tulip] Macro-benchmark with Django, Flask and AsyncIO (aiohttp.web+API-Hour)

2015-02-25 Thread INADA Naoki
honest, for me, Meinheld uses a little bit black magic to try to > transform sync code to async, I don't recommend that on production for a > complex Web application. Meinheld's async feature is based on greenlet (like gevent). But you can use meinheld without using async API. It can be high performance sync server supporting keep-alive. -- INADA Naoki

Re: [python-tulip] Macro-benchmark with Django, Flask and AsyncIO (aiohttp.web+API-Hour)

2015-02-26 Thread INADA Naoki
tack on single machine, `wrk -c200` is too high. Concurrent connection and concurrent request is different at all. -- INADA Naoki

Re: [python-tulip] Macro-benchmark with Django, Flask and AsyncIO (aiohttp.web+API-Hour)

2015-02-26 Thread INADA Naoki
> For Nginx + gunicorn + meinheld (with keep alive): > > axelle@GMLUDO-XPS:~$ wrk -t12 -c50 -d30s http://192.168.2.100:18000/agents > Running 30s test @ http://192.168.2.100:18000/agents > 12 threads and 50 connections > Thread Stats Avg Stdev Max +/- Stdev > Latency74.93ms

Re: [python-tulip] Benchmark Python Web production stack: Nginx with uWSGI, Meinheld and API-Hour

2015-03-12 Thread INADA Naoki
e 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

Re: [python-tulip] Benchmark Python Web production stack: Nginx with uWSGI, Meinheld and API-Hour

2015-03-12 Thread INADA Naoki
Go in these days. 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 wrote: >

Re: [python-tulip] Benchmark Python Web production stack: Nginx with uWSGI, Meinheld and API-Hour

2015-03-12 Thread INADA Naoki
re no thundering herd problem. I hope asyncio communicates with Go nicely. gRPC [1] may be one answer about building high performance web service with Python and Go. _[1]: https://github.com/grpc/grpc On Fri, Mar 13, 2015 at 2:32 AM, Glyph Lefkowitz wrote: > On Mar 12, 2015, at 6:19 AM, INADA Naok

Re: [python-tulip] Benchmark Python Web production stack: Nginx with uWSGI, Meinheld and API-Hour

2015-03-13 Thread INADA Naoki
.4 and asyncio runs on it too. I'm sad about both Google (Guido has been there) and Dropbox (Guido is in now) haven't moved to Python 3 yet. -- INADA Naoki

Re: [python-tulip] Python 3.6b2 will have C implemented Future

2016-10-11 Thread INADA Naoki
ot;3.6-dev" is for Python 3.6beta (Still 3.6b1, it may be upgraded soon). -- INADA Naoki

Re: [python-tulip] Python 3.6b2 will have C implemented Future

2016-10-12 Thread INADA Naoki
non-None value to a FutureIter": > https://travis-ci.org/tornadoweb/tornado/jobs/167252979 > > -Ben > > On Tue, Oct 11, 2016 at 3:55 PM INADA Naoki wrote: >> >> > If you have asyncio based project, and it uses Travis-CI, >> >> > please add "nightly&

Re: [python-tulip] Asyncio + file logging has sense?

2018-04-04 Thread INADA Naoki
o a file without blocking the event > loop? > > Thanks in advance! -- INADA Naoki