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

Implement batch write #19

Closed
6 tasks done
bednar opened this issue Feb 5, 2020 · 0 comments · Fixed by #21
Closed
6 tasks done

Implement batch write #19

bednar opened this issue Feb 5, 2020 · 0 comments · Fixed by #21
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@bednar
Copy link
Contributor

bednar commented Feb 5, 2020

  • WriteApi will have a write_options for specify method how to write data - synchronous or batching (async background) - follow python implementation
  • Background Queue will be flushed by batch_size and flush_interval
Property Description Default Value
batch_size the number of data point to collect in batch 1000
flush_interval the number of milliseconds before the batch is written 1000
  • Add tests to flush by batch_size
  • Add tests to flush by flush_interval
  • Add tests to grouping by org, bucket, precision
  • Add tests to flush by closing client InfluxDB2::Client.new().close
@bednar bednar added the enhancement New feature or request label Feb 5, 2020
@bednar bednar added this to the 1.1.0 milestone Feb 5, 2020
@bednar bednar changed the title Implement batching write Implement batch write Feb 5, 2020
rolincova added a commit that referenced this issue Feb 5, 2020
rolincova added a commit that referenced this issue Feb 7, 2020
@bednar bednar mentioned this issue Feb 10, 2020
rolincova added a commit that referenced this issue Feb 10, 2020
rolincova added a commit that referenced this issue Feb 11, 2020
rolincova added a commit that referenced this issue Feb 11, 2020
rolincova added a commit that referenced this issue Feb 11, 2020
rolincova added a commit that referenced this issue Feb 12, 2020
rolincova added a commit that referenced this issue Feb 12, 2020
@rolincova rolincova mentioned this issue Feb 12, 2020
4 tasks
rolincova added a commit that referenced this issue Feb 13, 2020
rolincova added a commit that referenced this issue Feb 13, 2020
rolincova added a commit that referenced this issue Feb 13, 2020
rolincova added a commit that referenced this issue Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants