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

Don't use RPC batching with bitcoind #33

Closed
wants to merge 2 commits into from

Conversation

shesek
Copy link
Collaborator

@shesek shesek commented Mar 9, 2021

This actually hurts performance because the batched response has to be bueffered, as @TheBlueMatt explains in romanz#373 (comment).

Instead, send multiple RPC requests in parallel using a thread pool.

Also see romanz#374.

@shesek shesek force-pushed the 202103-no-batching branch from ee8bcfd to 8119cdf Compare April 9, 2021 03:48
junderw pushed a commit to junderw/electrs that referenced this pull request Dec 12, 2023
…-api

Add a POST /txs bulk query-by-txid endpoint
This actually hurts performance because the batched response has to be
bueffered, as @TheBlueMatt explains at romanz#373 (comment)

Instead, send multiple RPC requests in parallel using a thread pool.

Also see romanz#374
@shesek shesek force-pushed the 202103-no-batching branch 3 times, most recently from 03e18a1 to a9be78d Compare May 23, 2024 18:55
@shesek shesek force-pushed the 202103-no-batching branch from a9be78d to 362515c Compare May 23, 2024 18:58
@shesek
Copy link
Collaborator Author

shesek commented Dec 14, 2024

This was implemented as part of #89.

@shesek shesek closed this Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant