elastic / elastic/logstash

default batch_size makes slow ingestion stutter

Open
#4,387 5 comments 0 reactions 1 assignee Claimed by @andrewvc View on GitHub
discuss
Dominant language
Java
Stars
14.9k
Forks
3.5k
Avg merge
19h 14m
Merged PRs (30d)
63

Description

the default batch size for the next gen pipeline is 125.
When executing a slow rate pipeline in the terminal you don't see what you'd expect:
![terminal](https://cloud.githubusercontent.com/assets/31809/11954065/4255ddf8-a89d-11e5-8815-cac3286a1a62.gif)

you have to set batch size to 1 to see events flowing at 0.1 seconds per event:

![terminal](https://cloud.githubusercontent.com/assets/31809/11954151/1a9df9d4-a89e-11e5-8523-30a161c9d930.gif)

I wonder if we should set different defaults for the batches in certain situations. for example: if tty? is true, set to 1?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.