TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SuPPort: Evented Python servers

51 点作者 mhashemi大约 10 年前

4 条评论

scaz大约 10 年前
This is a nice balance of the trade offs of the various concurrency primitives in Python.<p>Greenlets for lightweight concurrency, threads for preemptive concurrency and processes for parallelism &#x2F; isolation.
kenrikm大约 10 年前
Interesting this is built using gevent since in Python 3.4 things are moving away from gevent in favor of Asyncio. The last time I checked (a few months ago) gevent is only supported on Py2.7 unless you&#x27;re using a fork that has patched Py3 support which still has a number of outstanding bugs. I&#x27;m curious what the migration path is going to look like to 3.0+ since 2.7 is near EOL (2020?).
评论 #9221817 未加载
kapilvt大约 10 年前
stack looks solid, coroutine, stats, and utilities, i&#x27;m interested in giving it a spin. some interesting libraries in there i haven&#x27;t seen before. even then its hard to reconcile statements like native gevent (sans monkey) with libraries like flask (thread locals) or even the std lib. one of the main benefits of gevent vs twisted or other async libs is the ability to actual reuse the python ecosystem via a handful of monkey patched modules, a position which this stack effectively disavows.
评论 #9230696 未加载
morekozhambu大约 10 年前
OK kind of TLDR; I just took the packages that they use from the link they had provided.<p>boltons==0.4.1<p>cffi==0.8.6<p>clastic==0.4.2<p>cryptography==0.7.2<p>enum34==1.0.4<p>faststat==0.3.1<p>gevent==1.0.1<p>greenlet==0.4.5<p>hyperloglog==0.0.9<p>lithoxyl&gt;=0.1.0<p>psutil==2.2.1<p>py==1.4.26<p>pyasn1==0.1.7<p>pycparser==2.10<p>pyjks&gt;=0.3.0.1<p>pyOpenSSL==0.14<p>pytest==2.6.4<p>sampro==0.1<p>ufork&gt;=0.0.1<p>six==1.9.0<p>Werkzeug==0.9.4
评论 #9230688 未加载