Quarkus

  • Quarkus is one of the newly cloud native JVM framework, which supports native compilation with GraalVM.
  • Java applications can utilise ahead of time compilation, start up super fast and have less memory footprint, then traditional Java applications.
  • Quarkus supports both reactive and imperative programming.
    • The reactive approach is powered by vertex and Quarkus abstracts most of the usage away.
    • Vertex offers itself as a toolkit to build reactive applications, which is quite rudimentary and straight forward without a lot of abstractions.
  • Quarkus is a framework which does a lot of abstraction.
    • It does annotation processing and by adding one annotation we will have a rest API.
  • The Quarkus reactive architecture is built on top of non-blocking input output, which is provided by the vertex toolkit.
    • This part is extended by additional input output threads, Quarkus extensions, and on top layer, there is application code.
  • Quarkus uses mutiny as its central reactive programming model. It supports returning mutiny types(Uni and Multi) from HTTP endpoints.
  • Hibernate reactive is a reactive API for Hibernate ORM, supporting non-blocking database drivers and a reactive style of interaction with the database.
    • We can also use specific reactive drivers to access the database.
  • Quarkus uses rest easy Jackson and hibernate reactive with Panache.
    • That database access is fully reactive and non-blocking.
  • As a Quarkus extension part vertex quietly operates in background.
  • To Start Generating a Quarkus Application use

Comments