Uploaded image for project: 'netconf'
  1. netconf
  2. NETCONF-1199

Use Netty Timer in KeepAliveSalFacade

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Medium Medium
    • 7.0.0
    • None
    • netconf-client-mdsal

      We are currently using ScheduledExecutorService to schedule both keepalive tasks and request timeouts. Most of the time we do not these timeouts to actually trigger, which means we end up scheduling/cancelling timeouts quite a bit.

      In this scenario Netty's HashedWheelTimer offers superior performance, as task cancellation is O(1).

      Switch to using Netty Timer to schedule timeouts.

            rovarga Robert Varga
            rovarga Robert Varga
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: