Groovy • supports Maven/Gradle as build tools • built by the people that made Grails (over 10 years exp) • designed with microservices and cloud computing in mind with a lot of cloud-native features like: – service discovery – distributed tracing – asynchronous communication – retriable HTTP clients – circuit breakers – scalability and load balancing – external configuration
look at closely, but not necessarily trial yet - unless you think they would be a particularly good fit for you. Typically, blips in the Assess ring are things that we think are interesting and worth keeping an eye on.
a unique reflection cache. This makes it extremely difficult to optimize memory consumption. • Reflective calls are much more difficult for the JIT to optimize. • Traditional AOP is the heavy reliance on runtime proxy creation which slows app performance, makes debugging harder and increases memory consumption. https://stackoverflow.com/questions/435553/java-reflection-performance Reflection based approach to DI/AOP
it is possible to perform an operation without using reflection, then it is preferable to avoid using it. Because reflection involves types that are dynamically resolved, certain JVM optimizations can not be performed. Consequently, reflective operations have slower performance than their non-reflective counterparts, and should be avoided in sections of code which are called frequently in performance-sensitive applications. https://docs.oracle.com/javase/tutorial/reflect/index.html Trail: Reflection API
at compile time. • Doesn’t need to scan all your classes, methods, properties to “understand” your app. • Uses Ahead of Time (AOT) compilation via annotation processors or AST transforms for Groovy. Micronaut compile-time approach to DI/AOP
database access toolkit that uses Ahead of Time (AoT) compilation to pre-compute queries for repository interfaces that are then executed by a thin, lightweight runtime layer. • no runtime model • no query translation • no reflection or runtime proxy • type safety https://micronaut-projects.github.io/micronaut-data/latest/guide/