Releases: RuedigerMoeller/kontraktor
Major Update & Consolidation
v4.03 .
various bugfixes
check maven for latest version of kontraktor submodules e.g. kontraktor-http 3.24.xx
fixes
- fixed major http long poll stability issue
- major reallive performance improvments
fixes 3.16 build error
3.16 contained an outdated version due to a build error. 3.17 actually resolves the issues reported in 3.16
major fixes, default to unbounded queues
The old bounded queue implementation can be enabled by setting the public global flag in the Actors class (not recommended).
Reasoning:
Because of the blocking nature of bounded queues, system behaviour completely changes once a queue is full, leading to very unpredictable behaviour. In practice/production I found myself to always increases queue sizes heuristically to a point where they never will get full, leading to issues once this happened due to load peaks. Giving up on bounded queues has some implications, especially methods involving computation of queue sizes get very expensive ( O(n) ), also system overload will result in OOM instead of blocking/deadlocks, so putting a fuse on system master input is strongly recommended.
fixed #17
fix
- inThread() generated proxies did not work for inhereted interfaces correctly
kontraktor-http only addition
- allow to specify a base dir when defining a resourcepath. Previously "." default could not be changed
example
Http4K.Build(options.webHost, options.webPort)
.resourcePath("/")
.elements("../src/main/web/client", "../src/main/web/comps", "../src/main/web/bower_components")
.baseDir("/home/ruedi/project/stuff/")
.build()
.httpAPI("/myapp/api", app)
.build();
various fixes and enhancements
- updated some dependencies
- check modules/kontraktor-http/src/javascript for an up-to-date version of js4k, npm dependency not updated.
- additional hook to transform json-encoded java objects on javascript client side (js4k.js)
- possible to directly register an undertow http handler at http4k builder. Useful for registration back-link handling and other "link"y functionality.
- various smaller enhancements and fixes
Another Fix for Http Long Poll ...
- only kontraktor-http affected