我们在不到12个月的时间内迁移到K8s

At high-growth companies, resources are precious. At Figma, we need to be sure that any decision we make—whether it’s about user-facing features or back-end infrastructure—will leave the platform in a better position than when we started. The larger and more resource-heavy the workstream, the more confident we need to be that we’ll be able to complete the effort in a reasonable timeline without causing downtime to users. That’s why we didn’t take the decision to migrate our core services to Kubernetes lightly. Here’s a look at our process of evaluating, scoping, and executing the move.

在高速增长的公司中,资源是宝贵的。在Figma,我们需要确保我们做出的任何决策(无论是关于用户界面功能还是后端基础设施)都能使平台处于比起始时更好的位置。工作流程越大且资源密集,我们就越需要确信我们能够在合理的时间范围内完成工作,而不会给用户造成停机时间。这就是为什么我们不轻易决定将核心服务迁移到Kubernetes的原因。下面是我们评估、范围确定和执行迁移的过程。

On Figma’s compute platform

在 Figma 的计算平台上

By early 2023, we had already done the hard work of running all of our services in containers. At the time, we used AWS’s Elastic Container Service (ECS)—a great off-the-shelf way to quickly spin up containerized workloads—as our orchestration platform. We grew a team to build out this important domain, which allowed us to think more proactively about the projects we wanted to take on to set us up for the long term.

到 2023 年初,我们已经完成了在容器中运行所有服务的艰苦工作。当时,我们使用 AWS 的 Elastic Container Service (ECS) 作为我们的编排平台,这是一种快速启动容器化工作负载的很好的现成方式。我们组建了一个团队来构建这个重要的领域,这使我们能够更主动地思考我们想要承担的项目,为我们的长期发展做好准备。

At this point, it was time to think anew about the next generation of what we call our compute platform, the platform that enables teams to own and operate services at Figma. We considered building on top of what we already had in ECS, but doing so would make it harder to build many of the features on our wishlist. We wondered: Were we iterating toward a local maximum instead of the global maximum?

此时,是时候重新思考我们所称之为计算平台的下一代了,这个平台使得团队能够在Figma上拥有和运营服务。我们考虑过在我们已有的ECS基础上进行构建,但这样做会使我们很难构建我们愿望清单上的许多功能。我们想知道:我们是在迭代向局部最大值还是全局最大值?

More broadly, we’re not a microservices company, and we don’t plan to become one. While we sometimes uncover use...

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

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