subql icon indicating copy to clipboard operation
subql copied to clipboard

Immutable mode

Open stwiname opened this issue 7 months ago • 0 comments

Description

Immutable mode is a runtime setting that could be set when first running a project (like how historical is set). This would limit entities on the DB to be immutable and once set cannot be changed.

Note: this is just initial thoughts and there are more possible features or benefits this could lead to

Benefits

This allows being able to do many other features.

  • Parallel indexing, index blocks as soon as they are fetched rather than in order. Or running multiple nodes similar to multichain but each node indexes a specific block range
  • Reverse indexing
  • POI could still work but only once there are continuous block ranges.

stwiname avatar Jul 26 '24 04:07 stwiname