> For the complete documentation index, see [llms.txt](https://mariadb.com/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://mariadb.com/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/data-locality.md).

# Design for Data Locality

Learn to keep related data on the same node, verify that it stays there, run compute next to the data, and decide when to break colocation on purpose.

Learn to keep related data on the same node, verify that it stays there, run compute next to the data, and decide when to break colocation on purpose. Two how-to guides complete the path: [Choose a Partition Count for Your Workload](/docs/gridgain/gridgain-8/gridgain8-get-started/how-to-guides/choose-partition-count.md) and [Debug a Hot Partition](/docs/gridgain/gridgain-8/gridgain8-get-started/how-to-guides/debug-hot-partition.md).

Complete [Cache-Centric Foundations](/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/cache-centric-foundations.md) first.

| Tutorial                                                                                                                                  | Time   | Level    |
| ----------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------- |
| [Design Keys for Colocation](/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/data-locality/design-keys-for-colocation.md)  | 60 min | Advanced |
| [Verify Colocation Is Working](/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/data-locality/verify-colocation.md)         | 60 min | Advanced |
| [Affinity-Aware Compute at Scale](/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/data-locality/affinity-aware-compute.md) | 75 min | Advanced |
| [When to Break Colocation](/docs/gridgain/gridgain-8/gridgain8-get-started/learning-paths/data-locality/when-to-break-colocation.md)      | 60 min | Advanced |
