Sunday , July 3 2022
Java, Meet Kubernetes And Serverless Computing

Java, Meet Kubernetes And Serverless Computing

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.[ A developer’s guide: Serverless computing: AWS vs. Google Cloud vs. Microsoft Azure. | Then learn how to use Microsoft’s Azure Functionsand how to use AWS Lambda for serverless computing. ]

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 MicroProfileand 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.

This story, “Java, meet Kubernetes and serverless computing” was originally published by InfoWorld.

About IT News Ug

Check Also

The dark secret of being a new tech lead: You are now in charge of your friends

How to lead a dev team if you're new and inexperienced

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.