Skip to main content

Home

Setting vertical scaling of Log Receiver (LR)

Each Log Receiver (LR) instance contains multiple verticles (processing units) which can work in parallel. To increase the capacity of LR, you can vertically scale it by adding more verticles. However, setting the number of verticles higher than the number of CPU cores on the machine where LR is running would be an illogical configuration.

You can set the number of verticles by using the logreceiver.verticles_count property. The default value of this property is Math.min(CpuCoreSensor.availableProcessors(), 12);. The value specifies that the number of LR verticles equals MIN(CPU cores, 12).

  1. Stop Unravel.

    <Unravel installation directory>/unravel/manager stop
    
  2. Set the logreceiver.verticles_count property.

    <Unravel installation directory>/unravel/manager config properties set logreceiver.verticles_count <the log receiver verticles value in integer> 
    

    For example: /opt/unravel/manager config properties set logreceiver.verticles_count 24

  3. Apply the changes.

    <Unravel installation directory>/unravel/manager config apply
    
  4. Start Unravel.

    <Unravel installation directory>/unravel/manager start