V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
ninjadevops
V2EX  ›  推广

DevOpsWeekly#20 Google 是如何提高代码质量的? DigitalOcean 的宕机报告, Python 很慢,但我不介意, Java Annotated 4 月版, Jenkins 发布新版 UI

  •  
  •   ninjadevops · 2017-04-08 11:29:16 +08:00 · 2157 次点击
    这是一个创建于 2587 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Google 是如何提高代码质量的? Code Health: Google's Internal Code Quality Efforts

    几年前, 一群 Googler 成立了Code Health小组.

    What we cared about was the processes and practices of software engineering in full — any aspect of how software was written that could influence the readability, maintainability, stability, or simplicity of code. We liked the analogy of having "healthy" code as covering all of these areas.

    这个 Google-wide Code Health Group 维护 Google 的code review guidelines, 编写内部文档, 组织讲座等等. 除了这个 Central 的小组之外, 很多产品 /团队也会他们自己的Code Health小组.

    DigitalOcean 的宕机报告

    4 月 5 日, DigitalOcean 的 control panel 及 API 宕机 4 小时 56 分钟. 事故起因: 测试程序不慎用了生产环境的 credentials.

    The root cause of this incident was a engineer-driven configuration error. A process performing automated testing was misconfigured using production credentials.

    事故发生后, DigitalOcean 花了 4 个小时恢复数据. 有网友评论I think someone's in trouble!, DO 员工 Andrew Starr-Bochicchio 回复:

    People will always make mistakes, it's in our nature. The main lesson here is about the system, not that an individual made an error.

    相信多数人在自己的职业生涯中都会犯几次类似的错误, 不小心删除了备份, 清空了数据库? 没关系, 吸取教训, 继续前进, 做一个更好的 engineer :)

    Python 很慢, 但我不介意 Yes, Python is Slow, and I Don ’ t Care

    一篇关于 Python 的文章, 作者分享了很多务实的观点: Optimize your most expensive resource., It ’ s more important to get stuff done than to make it go fast.

    • 优化最昂贵的资源, 是你, 而不是电脑
    • 选择那些可以帮你提高开发速度的语言 /框架 /架构, 不要仅仅因为运行的快而选择某一门语言
    • 如果有 performance issue: 找出 bottleneck
    • bottleneck 往往既不是 CPU 也不是 Python
    • 如果 Python 是 bottleneck, 而且你已经尝试了优化算法等, 尝试转向 Cython/C
    • Go back to enjoying getting things done quickly

    Java Annotated Monthly – April 2017

    IntelliJ 发布本月的Java Annotated Monthly, 涵盖 Java 生态圈里的新鲜事. 推荐 Java/Android 程序员阅读.

    Jenkins 正式发布新版 UI Getting Started with Blue Ocean

    主要的新功能:

    • 可视化 Pipeline
    • Pipeline 编辑器

    jenkins-blue-ocean


    by ninjadevops.com

    Subscribe / 订阅

    Rss Twitter Weibo facebook

    微信订阅:

    微信订阅:

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1002 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 21:32 · PVG 05:32 · LAX 14:32 · JFK 17:32
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.