Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only load schemas for allocated subgraphs #33

Closed
aasseman opened this issue Oct 12, 2023 · 0 comments · Fixed by #36 or #37
Closed

Only load schemas for allocated subgraphs #33

aasseman opened this issue Oct 12, 2023 · 0 comments · Fixed by #36 or #37
Assignees
Labels
enhancement New feature or request

Comments

@aasseman
Copy link
Collaborator

Loading the GQL schemas for all indexed subgraphs can lead to high memory usage.

Since it's likely that even in the case where an indexer is indexing a large number of subgraphs, only a few are allocated, we can safely do this and save a lot of resources.

@aasseman aasseman added the enhancement New feature or request label Oct 12, 2023
@aasseman aasseman self-assigned this Oct 30, 2023
aasseman added a commit that referenced this issue Oct 30, 2023
BREAKING CHANGE: autoagora-processor needs to communicate with the
indexer-agent API (--indexer-agent-mgmt-endpoint) instead of
graph-node's PG DB (--graph-postgres-... args are gone).

Fixes #33

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
aasseman added a commit that referenced this issue Oct 30, 2023
BREAKING CHANGE: autoagora-processor needs to communicate with the
indexer-agent API (--indexer-agent-mgmt-endpoint) instead of
graph-node's PG DB (--graph-postgres-... args are gone).

Fixes #33

Signed-off-by: Alexis Asseman <alexis@semiotic.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant