# 分散システムのバグを決定論的シミュレーションで再現するcelldの取り組み

Original title: Deterministic Simulation Testing in Celld

> Hacker News story 50024805 · language: ja · submitted 2026-10-09
> Web version: https://zeli.app/ja/story/50024805
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 35 · by [handfuloflight](<https://news.ycombinator.com/user?id=handfuloflight>) · 💬 5
[original](<https://celld.dev/docs/engineering/deterministic-simulation-testing/>) · [HN discussion](<https://news.ycombinator.com/item?id=50024805>)

## Summary

celldはCloudflare WorkersとDurable Objectsを自前のマシンで動かすランタイムで、分散システム特有の再現困難なバグに悩まされてきた。そこで決定論的シミュレーションテスト（DST）を導入し、シード値で実行順序を制御して障害を再現。実際にアラームの競合状態を発見し、ウェイクエントリの設計変更で修正。回帰テストとして組み込むことで、将来のバグ再発を防ぐ仕組みを確立した。

## Key quote

> シミュレータはまだ開発中だが、すでにcelldのこれまで知られていなかったバグの発見と修正に役立っている。

## HN discussion (5 comments)

### [tontinton](<https://news.ycombinator.com/item?id=50040337>)

> このご時世、新しい分散システムをDSTなしで作る言い訳なんてないよ。AIは怠け者じゃないんだから。

### [mrkn1](<https://news.ycombinator.com/item?id=50041678>)

> \> celldが不要になったことを確認したら
>
> それって、新しい場所で同じcheck-then-actの競合が起きてるんじゃない？それとも不変条件でカバーされてるの？

### [winterqt](<https://news.ycombinator.com/item?id=50047632>)

> お決まりの「決定論的シミュレーションテストとは何か」のリンク：https://youtu.be/4fFDFbi3toc

---

## Cite

- Page: https://zeli.app/ja/story/50024805
- Date: 2026-10-09
- Source: celld.dev (https://celld.dev/docs/engineering/deterministic-simulation-testing/)
- Hacker News: https://news.ycombinator.com/item?id=50024805

## Other languages

- en: https://zeli.app/story/50024805 · markdown: https://zeli.app/story/50024805.md
- zh: https://zeli.app/zh/story/50024805 · markdown: https://zeli.app/zh/story/50024805.md
- ko: https://zeli.app/ko/story/50024805 · markdown: https://zeli.app/ko/story/50024805.md
- de: https://zeli.app/de/story/50024805 · markdown: https://zeli.app/de/story/50024805.md
- es: https://zeli.app/es/story/50024805 · markdown: https://zeli.app/es/story/50024805.md
- ru: https://zeli.app/ru/story/50024805 · markdown: https://zeli.app/ru/story/50024805.md
