Skip to content

Conversation

go-while
Copy link

I'm testing this new BatchProcessor with good results (for me).

  • got MaxBatchDelay, MaxBatchSize and new MaxBatchQueue as config options.

code got some comments added.

i'll keep updating this branch. tested few billion inserts and verified without problems.

i think most don't need this (don't have this throughput) and the existing solution is mostly fine but ugly to debug and time.AfterFunc is not an effective and not a fine way to handle delays concurrently.

if anyone wants to give it a try: have backups! this code is just 2 days old.

moar info is here #579

@ahrtr ahrtr deleted the branch etcd-io:master December 12, 2023 10:26
@ahrtr ahrtr closed this Dec 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants