Skip to content

Parallelize Postgres event parsing#57

Open
tommyengstrom wants to merge 1 commit into
masterfrom
parallellize-event-parsing
Open

Parallelize Postgres event parsing#57
tommyengstrom wants to merge 1 commit into
masterfrom
parallellize-event-parsing

Conversation

@tommyengstrom

Copy link
Copy Markdown
Owner
  • Add configurable parse concurrency and default it to CPU capabilities.
  • Parse fetched event rows in parallel while preserving input order.
  • Switch event columns to event::text and decode from strict bytestrings.
  • Refactor migration streaming to keep per-index state in an IORef.
  • Add tests for ordered parallel parsing and first-error reporting.
  • Add a benchmark and update Cabal/Nix build inputs for the new tooling.

- Add configurable parse concurrency and default it to CPU capabilities.
- Parse fetched event rows in parallel while preserving input order.
- Switch event columns to `event::text` and decode from strict bytestrings.
- Refactor migration streaming to keep per-index state in an `IORef`.
- Add tests for ordered parallel parsing and first-error reporting.
- Add a benchmark and update Cabal/Nix build inputs for the new tooling.
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