Skip to main content

11: Stable structures



Stable structures are designed to use stable memory as the backing store, allowing them to grow to gigabytes in size without the need for pre_upgrade/post_upgrade hooks.

A stable structure library exists which aims to simplify managing data structures directly in stable memory and provides example code templates.

For more information about stable structures, please see the stable structures library and Roman's tutorial on stable structures.

Next steps

For the next step, let's dive into storing and searching records.