Skip to content

How is vector able to keep up with multiple container logs? #7433

Answered by jszwedko
portante asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @portante !

Currently the file source only uses one thread for reading so will be bound to a single core with each file cooperatively scheduled. There is one knob, oldest_first that can be used to tell Vector to always read the oldest file first until there is no new data until moving on.

We have plans to revisit the file source soon with an eye towards improving performance. This will likely involve using multiple threads for reading.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jcantrill
Comment options

@jszwedko
Comment options

Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants