JP Robinson of NYTimes on Go kit, Gizmo, and Marvin

Beyang · · 923 次点击 · · 开始浏览    
这是一个创建于 的文章,其中的信息可能已经有所发展或是发生改变。

JP Robinson

JP Robinson, principal engineer at the New York Times, has “drunk Peter’s koolaid” with respect to Go kit.

github.com/NYTimes/gizmo adapts Go kit for use inside a production ecosystem with a bunch of existing legacy services. The NYTimes uses it across almost all their production Go services.

About the New York Times engineering

  • traffic increasing (#trumpbump)
  • lots of microservices, but also some monoliths

gizmo is a complementary package for Go kit that “meets it in the middle.”

Go running in production at NYTimes for personalization, saved articles, messaging and email systems, multi-armed bandits (presumably for ads?), analytics and suggestions, guides and how-to, My Account pages.

As we’ve grown, we’ve needed to consolidate and standardize on ways of doing things. Would love to use Go kit as it is, but there are some issues. Some of Go kit’s explicit non-goals are gizmo’s goals. For example:

  • Go kit non-goal: supporting messaging patterns other than RPC. But NYTimes needs to support messaging patterns other than RPC
  • Go kit non-goal: be opinionated. But NYTimes needed a somewhat opinionated framework at NYTimes to unify a bunch of disparate services.

gizmo packages

  • gizmo/server/metrics (based on Go kit metrics)
  • gizmo/pubsub

As time goes on, gizmo’s packages are starting to look more and more like Go kit’s. More and more of their developers are using Go kit.

Just open-sourced github.com/NYTimes/marvin, a go-kit HTTP server for the App Engine Standard Environment. Similar to gizmo, tries to give you a composed framework for what a web server looks like.


有疑问加站长微信联系(非本文作者)

本文来自:sourcegraph

感谢作者:Beyang

查看原文:JP Robinson of NYTimes on Go kit, Gizmo, and Marvin

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

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