⚙️ DevOps & Platform Eng

클라우드플레어의 '러스트 워커' 대수술: 패닉 발생해도 이제 앱 안 죽는다!

클라우드플레어 워커에서 요청 하나가 패닉을 일으켰다. 이전에는 인스턴스 전체가 마비될 수도 있었다. 하지만 이제? 복구 후 상태가 유지된다. 근본적인 해결책을 살펴보자.

클라우드플레어 워커의 웹어셈블리에서 러스트 패닉 언와인딩 다이어그램

⚡ Key Takeaways

  • 러스트 워커가 이제 언와인딩 지원을 통해 패닉으로부터 복구되며, 상태가 그대로 유지되어 전체 재시작이 필요 없어졌습니다. 𝕏
  • wasm-bindgen에 업스트림되었습니다: 중단(abort)은 격리되고, 인스턴스가 오염되지 않으며, 모든 사용자에게 적용됩니다. 𝕏
  • 웹어셈블리 EH는 네이티브와 유사한 복구를 가능하게 합니다. 대담한 베팅: 러스트가 성능이 중요한 워커에서 JS를 능가할 것입니다. 𝕏
Sam O'Brien
Written by

Sam O'Brien

Programming language and ecosystem reporter. Tracks releases, package managers, and developer community shifts.

Worth sharing?

Get the best Developer Tools stories of the week in your inbox — no noise, no spam.

Originally reported by Cloudflare Blog

Stay in the loop

The week's most important stories from DevTools Feed, delivered once a week.