Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
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