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

op-batcher refactor: non blocking event loop #9

Closed
wants to merge 2 commits into from

Conversation

samlaf
Copy link
Collaborator

@samlaf samlaf commented Aug 29, 2024

Description

See https://hackmd.io/@samlaf/op-batcher-concurrent-altda-requests-design-doc for some background regarding this PR. Got the idea for this refactor from the Advanced Go Concurrency Patterns talk.

This is still a wip: wrote the initial refactor but I'm sure there's still bugs and blocking calls left. Want to get a sense of whether people like this or not before I invest more time in this non-trivial refactor.

Tests

tested by running the TestBatcherMultiTx test

go test -timeout 3m -run ^TestBatcherMultiTx$ ./op-e2e/...

and also manually by running the devnet with different configurations and sending some large txs.

@samlaf samlaf marked this pull request as draft August 29, 2024 06:38
Copy link

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Sep 14, 2024
@github-actions github-actions bot closed this Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants