Skip to content

Improve cache performace with iterators #2654

@alpe

Description

@alpe

The current implementation load elements one by one although a list of all pending elements was asked.
See https://github.com/evstack/ev-node/blob/main/block/pending_data.go#L32

An iterator can be more efficient when a list of elements is requires. The underlying datastore supports a query type that could be instrumented.

This feature should come with a benchmark to verify any performance improvements.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions