pokt-network / smt

A Go library that implements a Sparse Merkle Trie for a key-value map.
https://pkg.go.dev/github.com/pokt-network/smt
Other
16 stars 4 forks source link

[Scalability Design Document] Design document and plan to test SMT scalability #23

Open Olshansk opened 12 months ago

Olshansk commented 12 months ago

Objective

Put together a design document and a plan to determine the scalability, efficiency and required improvements we need to make to the SMT to make v1 as scalable as possible.

Goals

Deliverable

NOTE: The deliverables below are just a starting point

A design document / plan that'll address the following in different steps:


Creator: @Olshansk Co-Owners: @h5law

h5law commented 12 months ago

Issues that are relavent to this:

Potentially also (regarding optimising for bulk inserts?)

Olshansk commented 12 months ago

Capturing offline discussion...

Focus on benchmarking and understand the cost (time, insert, read, proof size, DA cost, etc...) of the current state of the tree and use that as a starting point to prioritize future features.