You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TcpSyslogMessageSender has three things that need to be change in order for that class to be more reliable regarding performance
Connection timeout should be configurable and have a default value of 5ms (or even less)
Inner retry mechanism should be remove or be configurable
sendMessage should not be a synchronize method (actually one thread at a time can sent a log and could lead to huge slowdown when there is high volume of event being log)
my recommendation is to start using non-blocking socket and remove the synchronization in order to avoid any performance issue
The text was updated successfully, but these errors were encountered:
bsigouin
changed the title
Multiple things could slowdown drasctically TcpSyslogMessageSender
Multiple things could slowdown drastically TcpSyslogMessageSender
Jul 7, 2020
sendMessage should not be a synchronize method (actually one thread at a time can sent a log and could lead to huge slowdown when there is high volume of event being log)
2 key ideas that motivated this choice are:
For reliability & scalability, users can introduce a syslog forwarder on their infrastructure, close to the emitter.
The UDP sender could solve some scalability problems ... with some downsides
TcpSyslogMessageSender has three things that need to be change in order for that class to be more reliable regarding performance
The text was updated successfully, but these errors were encountered: