Skip to content
Discussion options

You must be logged in to vote

Hi @gurtajkhatra , thanks for your question

For horizontal scalability, segmentation is indeed the recommended approach.

A common pattern is to segment ledgers by time period (for example, creating a separate ledger per year). To maintain continuous balance processing without gaps, the ending balances from the previous ledger are migrated into the new one. This effectively starts a new immutable log while ensuring clean separation between time-segmented ledgers.

Once segmented, historical data remains accessible only within the older ledgers—queries against the new ledger will not include past transactions by design.

After iterating over the relevant accounts, you can leverage the _bulk e…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by aalloiteau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants