Skip to main content

Auto-scaling storage


How does auto-scaling storage work?

The Main (Router) Canister caches 1000 event log data. When n>=1000, judge whether the current storage has reached the limit. Create a new storage when memorySize>maxStorageMemorySize, and start transferring data to the storage canister when memorySize<=maxStorageMemorySize , Record the starting index of the current canister log record. Synchronize data through index.

images