How is Go's crypto performance as of 1.9.2?

agolangf · 2017-12-22 08:00:10 · 400 次点击    
这是一个分享于 2017-12-22 08:00:10 的资源,其中的信息可能已经有所发展或是发生改变。

I was googling around for code examples using the crypto package and found this 2014 post on Cloudflare's blog.

They apparently forked Go and built their own elliptic curves and AES-GCM in assembly for amd64. They have a table showing their implementation's performance improvements over Go 1.4.2.

There was another statement in here about Go crypto performance not being as good as OpenSSL.

Curious if anybody knows the state of the crypto package as of 1.9.2, and if anything's changed / improved there.


评论:

dgryski:

I believe the majority of Cloudflare's performance work has been merged back into the standard library.

dirty_owl:

Thanks!

UltraNemesis:

Not benchmarks, but here is another blog entry from Cloudflare

https://blog.cloudflare.com/exposing-go-on-the-internet/

PaluMacil:

Main quote for your topic being:

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's not necessary anymore! ...it's now really fast..., and its security track record so far is excellent.

kostix:

You may look at this post https://blog.cloudflare.com/arm-takes-wing/ which is one month old.

It's about Go's crypto performance on ARM64 but the charts can be used to compare recent Go to OpenSSL.


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

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