Browsed by
Author: admin

Software Architect, Java & JVM passionate, Quarkus, like to learn stuff and share what I learnt. You can follow me on Twitter : https://twitter.com/loicmathieu
VisualVM SQL profiler SQL

VisualVM SQL profiler SQL

A little while ago, I discovered the SQL profiler of VisualVM and I thought I should share it with you ;). VisualVM is a tool that provides a visual interface to display detailed information about applications running on a Java Virtual Machine (JVM). VisualVM is designed for use in development and production. VisualVM provides lightweight profiling tools including a SQL profiler. This will detect each SQL query (passing through the JDBC layer) and group them in a tabular view with…

Read More Read More

Introduction to Kestra

Introduction to Kestra

Kestra is an open-source data orchestrator and scheduler. With Kestra, data workflows, called flows, use the YAML format and are executed by its engine via an API call, the user interface, or a trigger (webhook, schedule, SQL query, Pub/Sub message, …). The important notions of Kestra are : The flow: which describes how the data will be orchestrated (the workflow thus). It is a sequence of tasks . The task: a step in the flow that will perform an action…

Read More Read More

Quarkus Tip: Testing a Google Cloud function

Quarkus Tip: Testing a Google Cloud function

I recently contributed a PR to Quarkus that contains a testing framework for Google Cloud functions. Quarkus supports creating Google Cloud functions three different ways: Using the Google Cloud API. Using a Quarkus HTTP extension: RESTEasy, Reactive routes, Servlet, Spring Web. Using Funqy, the cloud provider agnostic Quarkus function API. But until now, to test these functions, you had to package them and launch them locally via the function invoker provided by the Google SDK. The function invoker is a…

Read More Read More

Java 20: what’s new ?

Java 20: what’s new ?

Now that Java 20 is features complete (Rampdown Phase One at the day of writing), it’s time to walk through all the functionalities that bring to us, developers, this new version. This article is part of a series on what’s new on the last versions of Java, for those who wants to read the others, here are the links: Java 19, Java 18, Java 17, Java 16, Java 15, Java 14, Java 13, Java 12, Java 11, Java 10, and Java 9. We…

Read More Read More

Testing a Java Google Cloud Function

Testing a Java Google Cloud Function

Until recently, testing a Google Cloud Function written in Java could be done via the invoker provided by the Google Cloud Functions SDK but not via a unit test. But this changed recently! Let’s take the following HTTP function as an example: public class HelloHttpFunction implements HttpFunction { @Override public void service(HttpRequest httpRequest, HttpResponse httpResponse) throws Exception { Writer writer = httpResponse.getWriter(); writer.write(“Hello World”); } } After packaging the function into an über JAR, we can download the Google Cloud…

Read More Read More

Apache Pinot and its various types of indexes

Apache Pinot and its various types of indexes

Some time ago, I finally took the time to test Apache Pinot, you can find the story of my first experiments here. Apache Pinot is a distributed real-time OnLine Analytical Processing (OLAP) datastore specifically designed to provide ultra-low latency analytics, even at extremely high throughput. If you don’t know it, start by reading my introductory article before this one. One of the strengths of Pinot is its different types of indexes, it is these ones that we will explore in…

Read More Read More

Java 19: what’s new ?

Java 19: what’s new ?

Now that Java 19 is features complete (Rampdown Phase One at the day of writing), it’s time to walk throught all the functionalities that brings to us, developers, this new version. This article is part of a series on what’s new on the last versions of Java, for those who wants to read the others, here are the links: Java 18, Java 17, Java 16, Java 15, Java 14, Java 13, Java 12, Java 11, Java 10, and Java 9. JEP 405 :…

Read More Read More