Company
Date Published
Author
Dan Hermann
Word count
675
Language
-
Hacker News points
None

Summary

Logstash has introduced a new Java execution engine, now in the production candidate stage, that promises faster performance, reduced memory usage, and significantly lower configuration startup and reload times in version 6.3.0. This engine, which can be activated with the --experimental-java-execution flag, optimizes the integration between Ruby and Java, crucial in performance-sensitive scenarios, and includes improved config parsing and bytecode generation. It offers significant performance enhancements, most notably in scenarios requiring high CPU and IO resources, by replacing the Ruby source code generation phase with direct compilation to JVM bytecode using Janino. The engine also optimizes the interaction points between Ruby and Java to minimize performance costs, although the Ruby execution engine is expected to be phased out eventually. These enhancements not only improve the current system's efficiency but also pave the way for future developments, like a new Java plugin API for Logstash, while providing incremental performance improvements across both Ruby and Java execution engines. Users are encouraged to upgrade from earlier versions and provide feedback on this new feature.