Skip to content

tap-agent taking too long to start up #355

@gusinacio

Description

@gusinacio

Problem statement

Indexers with high performance create tons of receipts and have multiple allocations. We need to speed up start-up by parallelizing the SenderAllocation creation and also look at indexes in our database that may be affecting the initialization.

This can be done by spawning tasks for the initialization for SenderAccounts and SenderAllocations.

The code is currently sync:

This is just a suggestion. If you find any other performance improvement opportunity, feel free to add to the PR as well.

There are indexers that have around 600 allocations open. It would be good to have a benchmark for this.

Also we need to create some indexes for ravs

Metadata

Metadata

Assignees

Labels

lowp2Medium prioritysize:mediumMediumtype:perfIssues related to performance

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions