Skip to content

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