nspcc-dev / neofs-dev-env

NeoFS local Development and Testing environment
https://fs.neo.org
GNU General Public License v3.0
9 stars 25 forks source link

Number of CNs and IR nodes should be configurable #73

Open realloc opened 3 years ago

realloc commented 3 years ago

In different development and testing scenarios we require different number of IR/CN/other nodes. It should be configurable and different setup scripts should be used depending on those settings.

alexvanin commented 3 years ago

Configurations with different number of IR/CN nodes require different blockchain dumps and different neo-go configuration files for each case. I am not sure it is possible to do without in-place chain dump / config generators, that may be hard to integrate with neofs-dev-env repo.

roman-khimov commented 3 years ago

It's not that difficult to generate a small chain dump (and I don't think you have a lot to put into it), neo-bench does that for example.

realloc commented 3 years ago

In the most simple case this can be implemented as additional separate services, like chain-single and ir-single. Depending on the most popular configurations, they may be disabled or enabled by default. Chain dump urls could be pre-set in those services.

alexvanin commented 3 years ago

Let's start with polishing and publishing our chain generation tools first.

aprasolova commented 3 years ago

As I understood from the discussion, the task is about creating exact neofs-dev-env configurations with predefined number of nodes and corresponding blockchain dumps. If it is so, I only need to know, how many nodes must be in these configurations. @realloc @alexvanin ?

alexvanin commented 3 years ago

As I understood from the discussion, the task is about creating exact neofs-dev-env configurations with predefined number of nodes and corresponding blockchain dumps. If it is so, I only need to know, how many nodes must be in these configurations. @realloc @alexvanin ?

I think we want to target one and seven alphabet node configurations. First for debug and latter to model real network setup. However I wonder how we gonna do it. It requires different side chain dumps and we wanted to have some sort of side chain dump generator right in neofs-dev-env, if I understood correctly.

Can you elaborate your thoughts on how this should be done?

realloc commented 2 years ago

Related: #208