Improve Vector's throughput for UDP protocols #8518
Labels
source: socket
Anything `socket` source related
source: syslog
Anything `syslog` source related
type: enhancement
A value-adding code change that enhances its existing functionality.
Currently we process UDP packets serially in the
syslog
source when modeudp
is used:https://github.com/timberio/vector/blob/410fac0b7fbb0c7361056105ba362f7ee6c112ca/src/sources/syslog.rs#L422-L444
It seems like we should be able to improve throughput introducing concurrency here given that processing the packet does involve some decoding and parsing work.
This is also true for the
socket
source:vector/src/sources/socket/udp.rs
Line 92 in 801ee21
Perhaps one worker per "connection" similar to the
tcp
mode where we could use a source ip/port pair to partition them; or just by having a fixed (configurable?) number of workers processing packets.The text was updated successfully, but these errors were encountered: