TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Iris: Fast back-end web framework for Go

179 pointsby chenzheklalmost 9 years ago

13 comments

StreamBrightalmost 9 years ago
Any time I see a chart about web server performance without displaying the corresponding error rate and latency numbers I start to think that the author does not understand the performance aspect of HTTP services entirely.
评论 #11949334 未加载
mappualmost 9 years ago
The performance comes from using <a href="https:&#x2F;&#x2F;github.com&#x2F;valyala&#x2F;fasthttp" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;valyala&#x2F;fasthttp</a> instead of the stdlib net&#x2F;http. From this project&#x27;s FAQ:<p><i>&gt;Why creating yet another http package instead of optimizing net&#x2F;http?<p>Because net&#x2F;http API limits many optimization opportunities.</i>
评论 #11944035 未加载
评论 #11945121 未加载
onion2kalmost 9 years ago
The graph on the homepage says echo2-fasthttp processed almost half the requests that iris processed, but in half the time. Wouldn&#x27;t that make them approximately equal? I <i>think</i> what it&#x27;s trying to communicate is the number of requests each framework managed in 500ms, but it isn&#x27;t clear.
评论 #11944042 未加载
gelatocaralmost 9 years ago
That graph is really confusing, is the x axis a progression of processing times from 0 up to ~1000ms? If so then wouldn&#x27;t it mean that Echo-2-fasthttp has nearly as good requests&#x2F;second?
评论 #11943835 未加载
评论 #11944219 未加载
评论 #11944144 未加载
评论 #11944165 未加载
rattrayalmost 9 years ago
Features: <a href="https:&#x2F;&#x2F;kataras.gitbooks.io&#x2F;iris&#x2F;content&#x2F;features.html" rel="nofollow">https:&#x2F;&#x2F;kataras.gitbooks.io&#x2F;iris&#x2F;content&#x2F;features.html</a><p>(seems to be missing a data&#x2F;SQL&#x2F;ORM layer)<p>Usage docs for rest api: <a href="https:&#x2F;&#x2F;kataras.gitbooks.io&#x2F;iris&#x2F;content&#x2F;render_rest.html#usage" rel="nofollow">https:&#x2F;&#x2F;kataras.gitbooks.io&#x2F;iris&#x2F;content&#x2F;render_rest.html#us...</a>
评论 #11943978 未加载
评论 #11944887 未加载
oneloopalmost 9 years ago
Could someone clarify: why is Go faster than say Python? And if the answer is just that it&#x27;s a lower level language and therefore has less overhead, why not just use C?
评论 #11947384 未加载
评论 #11944576 未加载
评论 #11944152 未加载
评论 #11944831 未加载
评论 #11944597 未加载
yeonshalmost 9 years ago
Discussed on reddit before and I found that Iris uses caches to speed up.<p><a href="https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;golang&#x2F;comments&#x2F;4a8yit&#x2F;is_this_the_fastest_go_web_framework&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.reddit.com&#x2F;r&#x2F;golang&#x2F;comments&#x2F;4a8yit&#x2F;is_this_the_...</a>
znpyalmost 9 years ago
There was a discussion about Iris on the github issue tracker of Gin, another framework, dated March 13 2016:<p><pre><code> https:&#x2F;&#x2F;github.com&#x2F;gin-gonic&#x2F;gin&#x2F;issues&#x2F;560 </code></pre> Some benchmark were made too.
评论 #11944974 未加载
tapirlalmost 9 years ago
why (and how) comparing web frameworks to httprouter, it is just a router.
carlosdpalmost 9 years ago
That&#x27;s the wrong type of graph for that data... should clearly be a line graph.
anilyenialmost 9 years ago
nice site to know the other frameworks.
OriginalPenguinalmost 9 years ago
&quot;It’s gonna work good on all devices.&quot;<p>Don&#x27;t they mean work well?
评论 #11943964 未加载
评论 #11944380 未加载
评论 #11944079 未加载
stirneralmost 9 years ago
Not only is this page riddled with typos that lead me to doubt the quality of the code, the concept of a framework is fundamentally complex and at odds with the goals of Go.
评论 #11944370 未加载
评论 #11943952 未加载
评论 #11943972 未加载