Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-3950

Netty based TCP broadcasting cache

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • cache
    • None

    Description

      The attached patch introduces netty 4 [1] based tcp broadcasting for the broadcasting feature of the persistent cache.

      It adds an additional configuration option for the broadcasting cache: nettyTcp. The configuration works similar to the tcp configuration. In addition unsafe SSL can be configured with "ssl true".

      The code expects netty to be installed once it is instantiated. Broadcasting cache should also run without netty being available. As long as nettyTcp is not configured.

      Dev testing has shown some improvements in regard of performance.

      Known areas:

      • Threading: Netty uses lots of threads. This might impact overall performance of OAK and would have to be tested. Threads are currently limited to a hardcoded max number.
      • Configuration: Some areas should be configurable.
      • SSL: can be configured by setting "ssl true" in the nettyTcp configuration. It is currently only for development purposes as it accepts all certificates.

      [1] http://netty.io

      Attachments

        1. nettytcp.patch
          38 kB
          Philipp Suter

        Activity

          People

            Unassigned Unassigned
            Philipp Suter Philipp Suter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: