> For the complete documentation index, see [llms.txt](https://easonwang.gitbook.io/web_advance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://easonwang.gitbook.io/web_advance/shi-yong-mongodb/mongodb-sharding.md).

# MongoDB Sharding

## MongoDB sharding

在測試環境時我們可以使用：

<https://github.com/EasonWang01/mongo-cluster-docker>

> 上面的docker compose 跑完會自動建立好 config server, route server, sharding server
