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

Open
wants to merge 2 commits into
base: new-index
Choose a base branch
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.

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
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