Spin Cycle:Shopify的SFN团队克服了云开发螺旋

You may have read about Spin, Shopify’s new cloud-based development tool. Instead of editing and running a local version of a service on a developer’s MacBook, Shopify is moving towards a world where the development servers are available on-demand as a container running in Kubernetes. When using Spin, you don’t need anything on your local machine other than an ssh client and VSCode, if that’s your editor of choice. 

你可能已经读过关于Spin,Shopify新的基于云的开发工具。Shopify正在走向一个开发服务器作为Kubernetes中运行的容器按需提供的世界,而不是在开发者的MacBook上编辑和运行一个本地版本的服务。当使用Spin时,除了一个ssh客户端和VSCode(如果这是你选择的编辑器),你不需要在你的本地机器上使用任何东西。

By moving development off our MacBooks and onto Spin, we unlock the ability to easily share work in progress with coworkers and can work on changes that span different codebases without any friction. And because Spin instances are lightweight and ephemeral, we don’t run the risk of messing up long-lived development databases when experimenting with data migrations.

通过将开发从MacBooks转移到Spin上,我们可以轻松地与同事分享正在进行的工作,并可以在没有任何摩擦的情况下进行跨越不同代码库的修改。由于Spin实例是轻量级和短暂的,我们在试验数据迁移时不会有弄乱长期存在的开发数据库的风险。

Across Shopify, teams have been preparing and adjusting their codebases so that their services can run smoothly in this kind of environment. In the Shopify Fulfillment Network (SFN) engineering org, we put together a team of three engineers to get us up and running on Spin.

在整个Shopify,团队一直在准备和调整他们的代码库,以便他们的服务能够在这种环境中顺利运行。在Shopify Fulfillment Network(SFN)工程组织中,我们组建了一个由三名工程师组成的团队,让我们在Spin上运行。

At first, it seemed like the job would be relatively straightforward. But as we started doing the work, we began to notice some less obvious forces at play that were pushing against our efforts.

起初,这项工作似乎是相对简单的。但是,当我们开始做这项工作时,我们开始注意到一些不太明显的力量在起作用,这些力量正在推动我们的努力。

Since it was easier for most developers to use our old tooling instead of Spin while we were getting the kinks worked out, developers would often unknowingly commit changes that broke some functionality we’d just enabled for Spin. In hindsight, the process of getting SFN working on Spin is a great example of the kind o...

开通本站会员,查看完整译文。

trang chủ - Wiki
Copyright © 2011-2024 iteam. Current version is 2.137.1. UTC+08:00, 2024-11-15 15:56
浙ICP备14020137号-1 $bản đồ khách truy cập$