Skip to content

Can a File Reader read more than one input file at a time? #4548

Answered by narupley
KevinHobbsSeattle asked this question in Q&A
Discussion options

You must be logged in to vote

That's right, polling connectors like the File Reader would still only read one file at a time. Theoretically you could have other channels sending messages to that File Reader channel and those messages could process at the same time, though that probably wouldn't be a common scenario. You could also have the source queue turned on, meaning the File Reader would read one file at a time and place them into the queue, and then you could have multiple queue threads pulling from that queue to process messages in parallel. But you'd probably only see a performance increase there if the time it takes to process a message is more than the time it takes to read a message from the filesystem. Tur…

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
3 replies
@KevinHobbsSeattle
Comment options

@tonygermano
Comment options

@narupley
Comment options

Answer selected by KevinHobbsSeattle
Comment options

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

@odoodo
Comment options

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