Paul Krill
Editor at Large

Java, meet Kubernetes and serverless computing

news
Mar 12, 20192 mins

Red Hat’s beta Quarkus framework aims to optimize Java development for distributed application architectures

java -- beans, grounds, coffee -- binary background
Credit: Nathan Dumlao

Red Hat is looking to bring Java into more-modern computing paradigms by providing a tool tuned to Kubernetes and serverless environments.

Currently in beta, Red Hat’s open source Quarkus framework is aimed at a container-first, cloud-native world. It uses a unified reactive and imperative programming model to address distributed application architectures such as microservices and serverless. Java can be challenging to run in serverless environments, where compute services are called on demand.

Red Hat says Quarkus will provide:

  • Fast startup, in the range of tens of milliseconds, and automatic scaling for microservices on containers.
  • Function-as-a-service (FaaS) and on-the-spot execution.
  • Low-memory utilization to help optimize container density in microservices architecture deployments that require multiple containers.
  • A smaller application and container image footprint.

Configuration is done via a single property file. Code is streamlined for 80 percent common usages and provides flexibility for the other 20 percent of cases, Red Hat claims. Quarkus uses libraries including Eclipse MicroProfile and Vert.x, JPA/Hibernate, JAX_RS/RestEasy, and Netty. Quarkus has an extension framework for third-party framework authors to extend Quarkus.

. Quarkus compiles to a native binary using Oracle’s GraalVM virtual machine, with apps able to run with significantly less RAM and start up quicker than a traditional app running on the JVM, benefitting serverless deployment.

Developing with Quarkus requires a Java IDE, JDK 8 or later, Apache Maven 3.5.3 or later, and, for native applications, GraalVM. Apps are defined in a Maven POM XML file.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author