Canister factory to scale horizontally?

Hi!

First of all I want to say the support and responsiveness in this community is great.

I want to implement my own file storage system to get past the 4GB canister size limit, or to implement my own sharding system. Is it possible to have a canister create other canisters to scale dynamically?

3 Likes

Here’s one example: examples/motoko/classes at master · dfinity/examples · GitHub

This example demonstrates a simple use of actor classes, which allow a program to dynamically install new actors (that is, canisters)

There’s also something called BigMap in the works which apparently abstracts something like this away behind a HashMap API.

Great this is helpful thanks!

Yes hopefully someone from Dfinity can comment on the status of BigMap. It will be huge for us devs…