-
Notifications
You must be signed in to change notification settings - Fork 38
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
optimize mutexes and increase batch size #2215
Conversation
@@ -8,11 +8,11 @@ network: | |||
batch: | |||
interval: 1s | |||
maxInterval: 1s # if this is greater than batch.interval then we make batches more slowly when there are no transactions | |||
maxSize: 45000 # around 45kb - around 200 transactions / batch |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there was a reason we picked batch size to be lower but i cant recall. The only thing i recall as a hard limit was 64kb for accepting eth transactions in the geth code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually rollups had more metadata than batches so there was an overhead that needed to be free, if rollups match batch size we might have issues
rollup: | ||
interval: 5s | ||
maxInterval: 10m # rollups will be produced after this time even if the data blob is not full | ||
maxSize: 131072 # 128kb |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do blobs have any overhead on top of rollup metadata? @badgersrus
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Why this change is needed