jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philipp Suter (JIRA)" <j...@apache.org>
Subject [jira] [Created] (OAK-3950) Netty based TCP broadcasting cache
Date Thu, 28 Jan 2016 17:58:40 GMT
Philipp Suter created OAK-3950:
----------------------------------

             Summary: Netty based TCP broadcasting cache
                 Key: OAK-3950
                 URL: https://issues.apache.org/jira/browse/OAK-3950
             Project: Jackrabbit Oak
          Issue Type: New Feature
          Components: cache
            Reporter: Philipp Suter


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message