# Is there a way to test with multiple subnets locally?

**URL:** <https://forum.dfinity.org/t/is-there-a-way-to-test-with-multiple-subnets-locally/13450>\
**Category:** Developers\
**Created:** [June 3, 2022, 5:46am UTC](https://forum.dfinity.org/t/is-there-a-way-to-test-with-multiple-subnets-locally/13450 "2022-06-03T05:46:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rudy](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/rudy/32/5787_2.png) [@rudy](https://forum.dfinity.org/u/rudy)\
**Post date:** [June 3, 2022, 5:46am UTC](https://forum.dfinity.org/t/is-there-a-way-to-test-with-multiple-subnets-locally/13450/1 "2022-06-03T05:46:20Z")

</div>

I feel like a public testnet would be the perfect place for testing multiple canisters that will reside in different subnets.

But in the meantime: is there a way to spin up multiple subnets locally? Specifically I wanted to test and maybe benchmark message throughput distributed among canisters, and I think I’m hitting the (limit?) ~1000/block for a subnet.

Maybe using multiple docker containers?

---

<div class="post-metadata">

**Author:** ![michael-weigelt](https://avatars.discourse-cdn.com/v4/letter/m/b487fb/32.png) [@michael-weigelt](https://forum.dfinity.org/u/michael-weigelt)\
**Post date:** [November 22, 2023, 2:48pm UTC](https://forum.dfinity.org/t/is-there-a-way-to-test-with-multiple-subnets-locally/13450/2 "2023-11-22T14:48:26Z")

</div>

Hi Rudy,

Take a look at PocketIC:

[https://forum.dfinity.org/t/pocketic-multi-subnet-canister-testing/24901](https://forum.dfinity.org/t/pocketic-multi-subnet-canister-testing/24901)
