Startup Speed of Spring and Quarkus JARs on the Raspberry Pi

For my book “Getting Started with Java on Raspberry Pi”, an example was described to store sensors and measurements in an H2-database through REST APIs with a Spring application on the Raspberry Pi.

The application takes some time to start on a Raspberry Pi, and Adam Bien who does the airhacks.fm podcast, asked me if I could compare this to a similar Quarkus application, which resulted in some nice results.

Frank Delporte
  • Why the JVM Is a Brilliant Platform for New Programming Languages

    The brilliance of the Java Virtual Machine is that it is itself an operating system.

    In other words, if you use the JVM as your base platform, you don’t have to worry about numerous “if” statements related to the specifics of hardware and operating systems.

    The JVM takes care of all of that for you. Whatever you write, it’s going to run perfectly on any operating system and hardware that supports the Java Virtual Machine.

    Kevin Farnham
  • Introducing JmFrX: A Bridge From JMX to Java Flight Recorder

    JmFrX is a small utility which allows you to capture JMX data with Java Flight Recorder.

    In this blog post I’m going to explain how to use JmFrX for recording JMX data in your applications, point out some interesting JmFrX implemention details, and lastly will discuss some potential steps for future development of the tool.

    Gunnar Morling
  • Performance: Stream.concat vs. New ArrayList

    During a code review, I suggested some code improvement related to JDK8+ streams.

    Here is a discussion on readability and performance!

    Karl Heinz Marbaise
  • Monitoring REST APIs with Custom Java Flight Recorder Events

    The Java Flight Recorder (JFR) is an invaluable tool for gaining deep insights into the performance characteristics of Java applications.

    In this blog post, we’re going to explore how custom, application-specific JFR events can be used to monitor a REST API, allowing to track request counts, identify long-running requests, and more.

    Gunnar Morling
  • Container Awareness for Java Developers

    Learn the intricate details of how JVM applications see container resources and how it impacts heap, CPU, and threads.

    When you containerize a Java application, make sure you use a base JDK image that is container-aware so that the JDK can allocate memory and CPU counts properly.

    Ray Tsang
  • A Closer Look at JFR Streaming

    Since JDK 14, there is a new kid on the block – Java Flight Recorder streaming, which enables developers to subscribe to JFR data.

    It is a feature allowing a developer to subscribe to select JFR data and to decide what to do with that data in the host process. JFR events can also be consumed from a separate process by pointing to the file repo of a separate JVM process – the mechanism is the same.

    Marcus Hirt
  • Fun with Flags: My Top 10 Resources for JVM Flags

    When I first started programming in Java and configuring my local environment, I came across mentions of JVM flags. I wanted to find out more about what options are available, what they do, and how to make use of them.

    Since resources on this topic are scattered and hard to find, I put together this consolidated list of places where JVM command line arguments are described in the hopes that others don’t have to scour the internet as I did to find these useful morsels.

    Betsy Rhodes
  • JDK14: New Features and Enhancements

    Well, another six months have passed, and we have another release of Java, this one pretty packed with exciting new features. It is, therefore, time for another blog post trying to list everything new in JDK 14.

    In total, there are a very impressive 16 JDK Enhancement Proposals (JEPs) and 69 new API elements.

    Let’s start with the more significant items that introduce changes to the Java language syntax.

    Simon Ritter

Subscribe to foojay updates:

https://foojay.io/feed/
Copied to the clipboard