DevOpsWeekly#18 Stack Overflow 发布 2017 程序员调查结果; 如何成为一个更好的程序员? 正确的对用户密码进行加密; 配置管理是一种反模式

2017-03-25 16:37:12 +08:00
 ninjadevops

Stack Overflow 发布 2017 程序员调查结果

超过 6 万 4 千名程序员参与了此次调查,有很多有趣的发现. 譬如: 有 56.5%的受访者认为自己工资过低; 有 13.1%的人表示他们在积极的找工作, 有 75.2%的人表示他们会考虑新的工作机会.

Only 13.1% of developers are actively looking for a job. But 75.2% of developers are interested in hearing about new job opportunities.

90%的受访者表示他们是自学成才(Self-taught); 72.6%的受访者认为自己是 Webdeveloper, 62.5%的受访者使用 JavaScript, 有 73.9%的 SysAdmin/DevOps 表示他们使用 JavaScript.

详细的报告请阅读: Developer Survey Results 2017, 同时 Stack Overflow 也有一期关于调查结果的播客: Podcast #105: The Wait is Over! Developer Survey 2017 results are in.

如何成为一个更好的程序员

关于这个话题, 小编要推荐两篇文章:

(中文) 如何正确对用户密码进行加密?

还记得2011 年的 CSDN 密码泄露事件么? 用户密码到底该以哪种形式存储? 像曾经的 CSDN 那样明文存储吗?

一起来读一读 InfoQ 翻译的如何正确对用户密码进行加密? 英文原文: Salted Password Hashing - Doing it Right

配置管理是一种反模式 Configuration Management is an Antipattern

谁来负责维护 Configuration? Ops? Dev? 总有那么几台机器因为各种原因而没有接收到最近的更新, 怎么办?  try/catch + monitoring tool?

configuration management promises that you ’ ll know the complete state of your infrastructure, but it never works that way.

解决方案 - immutable infrastructure: 先 build 一个 base image, 然后安装具体的 app, build 成为包含具体 app 的 image. 然后部署这些 image.

Your base image should have the latest security updates as well as any base infrastructure packages that are run platform-wide. Things like your monitoring packages, or your service discovery. Now, you could use a configuration management tool to build your base image, but you could also use OS packages and a little python to install and configure your base image.

Once you have that base image, you install your application and its dependencies on the base image using your standard package manager (like apt-get or yum). If you have your dependencies configured in your package correctly, this is basically one step.

You compile that into a new application specific image, push that to all your was regions, and viola! Immutable infrastructure!


by ninjadevops.com

Rss 订阅: http://ninjadevops.com/feed.xml

微信订阅:

2162 次点击
所在节点    程序员
1 条回复
kslr
2017-03-25 19:19:19 +08:00
Nice

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/350251

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX