Forum Discussion

_pre_'s avatar
_pre_
Icon for Nimbostratus rankNimbostratus
Nov 13, 2012

High Speed Logging - HSL - on TCP vs UDP

Hi,

 

We are currently sending tons of log via HSL to our splunk server using UDP protocol. The reason we choose UDP is because we think that UDP have less performance impact than using TCP if target is unreachable.

 

We just upgraded our splunk installation to Splunk 5.0 and we found shortly after that Splunk 5.0 has issues with UDP input ( see : http://docs.splunk.com/Documentation/Splunk/latest/ReleaseNotes/KnownissuesData_input_issues )

 

I would like to find out what will be the impact if we switch our HSL to TCP mode especially when the target server is unreachable ?

 

The documentation scare me a bit by stating that TCP pool members has no way to limit or control the number of TCP connections opened to the target pool members.

 

The time before a pool marked as down is about 15 seconds.

 

Does anyone have any recommendation or any peculiarities information that you can share when running HSL in TCP mode ?

 

 

Regards,

 

Rianto

 

1 Reply

  • Hi Rianto,

     

     

    HSL scales very well to hundreds of thousands of messages per second. I think the overhead for TCP is just slightly above UDP. I personally haven't done much testing to see if there is a big impact on CPU or memory if the HSL destination isn't available. If you try and see any issues, please open a case with F5 Support.

     

     

    Also, if you are concerned or do see higher resource utilization, you can check to see if [active_members $hsl_pool] > 0 before attempting to open an HSL connection or send data over a connection.

     

     

    Aaron