You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ordinal index is currently single threaded. It would be nice to figure out how to build it in parallel. One thing that will reduce parallelism is the fact that redb writers must be serialized.
The two sources of parallelism I can think of are:
Process blocks in parallel
Process transactions in parallel
Straw man proposal:
Create queue of transactions to process
Create a pool of workers that grabs transactions from the queue, figures out which ranges are in the inputs, which ranges are in the outputs
Workers then either commit those changes to the database, or communicate them to a writer thread that writes them to the database
This is blocked on #111, benchmarks, since you can't optimize what you can't benchmark.
The text was updated successfully, but these errors were encountered:
The ordinal index is currently single threaded. It would be nice to figure out how to build it in parallel. One thing that will reduce parallelism is the fact that redb writers must be serialized.
The two sources of parallelism I can think of are:
Straw man proposal:
This is blocked on #111, benchmarks, since you can't optimize what you can't benchmark.
The text was updated successfully, but these errors were encountered: