How is Go's crypto performance as of 1.9.2?

agolangf · · 338 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I was googling around for code examples using the crypto package and found <a href="https://blog.cloudflare.com/go-crypto-bridging-the-performance-gap/" rel="nofollow">this 2014 post on Cloudflare&#39;s blog.</a></p> <p>They apparently forked Go and built their own elliptic curves and AES-GCM in assembly for amd64. They have a table showing their implementation&#39;s performance improvements over Go 1.4.2. </p> <p>There was another statement in here about Go crypto performance not being as good as OpenSSL.</p> <p>Curious if anybody knows the state of the crypto package as of 1.9.2, and if anything&#39;s changed / improved there. </p> <hr/>**评论:**<br/><br/>dgryski: <pre><p>I believe the majority of Cloudflare&#39;s performance work has been merged back into the standard library.</p></pre>dirty_owl: <pre><p>Thanks!</p></pre>UltraNemesis: <pre><p>Not benchmarks, but here is another blog entry from Cloudflare</p> <p><a href="https://blog.cloudflare.com/exposing-go-on-the-internet/" rel="nofollow">https://blog.cloudflare.com/exposing-go-on-the-internet/</a></p></pre>PaluMacil: <pre><p>Main quote for your topic being:</p> <blockquote> <p>Back when crypto/tls was slow and net/http young, the general wisdom was to always put Go servers behind a reverse proxy like NGINX. That&#39;s not necessary anymore! ...it&#39;s now really fast..., and its security track record so far is excellent.</p> </blockquote></pre>kostix: <pre><p>You may look at this post <a href="https://blog.cloudflare.com/arm-takes-wing/" rel="nofollow">https://blog.cloudflare.com/arm-takes-wing/</a> which is one month old.</p> <p>It&#39;s about Go&#39;s crypto performance on ARM64 but the charts can be used to compare recent Go to OpenSSL.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

338 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传