This article looks at a benchmark passing events over TCP/IP at 4 billion events per minute using the net.openhft.chronicle.wire.channel package in Chronicle Wire and why we aim to avoid object allocations. One of the key optimisations is creating almost no garbage. Allocation is supposed to be a very cheap operation and garbage collection of very short lived objects is also …
Read More »Classic Layout
Resilience in Coding: Miro Wengner on Thriving in the Software Industry
In this insightful discussion, we sit down with Miro Wengner, an accomplished software engineer with a deep-rooted affinity for Java. Miro shares his professional journey, highlights the significant challenges in the field, and reflects on the key moments that shaped his career. Profile Twitter: https://twitter.com/miragemiko LinkedIn: https://www.linkedin.com/in/mwengner/ GitHub https://github.com/mirage22 Home Page: https://www.wengnermiro.com/ Fun fact: When I was in my early …
Read More »JavaFX Links of May 2023
Again a busy month in JavaFX-world! Here is a nice list with links for your reading and clicking pleasure! This is the summary of the #LinksOfTheWeek as published on jfx-central.com in May 2023. JavaFX Core JavaFX 21-ea+17 is available for download from GluonHQ or from Maven central. Johan Vos believes it’s time to deprecate Java Swing: “It doesn’t make sense …
Read More »Boosting Similarity Search with Real-time Stream Processing
The goal of similarity search and vector databases is to find similar results to the search query for unstructured data, such as text, images and videos. The unstructured data first is vectorised, and stored in a vector format. There are publicly available tools to create vectors from unstructured data, similarly, there are vector databases to store and perform similarity searches. …
Read More »Managing Data Residency: The Demo
I explained the concepts and theory behind Data Residency in a previous post. It’s time to get our hands dirty and implement it in a simple demo. The sample architecture In the last section of the previous post, I proposed a sample architecture where location-based routing happened at two different stages: The API Gateway checks for an existing X-Country header. …
Read More »Revolutionize JSON Parsing in Java with Manifold
Java developers have often envied JavaScript for its ease of parsing JSON. Although Java offers more robustness, it tends to involve more work and boilerplate code. Thanks to the Manifold project, Java now has the potential to outshine JavaScript in parsing and processing JSON files. Manifold is a revolutionary set of language extensions for Java that completely changes the way …
Read More »Your First Vaadin Spring Application in 2023
Spring pun intended, but I wanted to update the guide for beginners interested in combining these two technologies. By following these steps, you’ll have a basic Vaadin-Spring Boot application up and running in no time. Recently I noticed that it is 8 years since Vaadin was first released in start.spring.io. Since then, there have been many additions to both Spring …
Read More »JavaFinder: Keeping Track of Java Inventories
Do you ever wonder how many Java distributions you have installed on your machine? I not only mean versions that you use for development but also versions that come bundled with the applications you use. Last weekend I decided to write a little tool that can help me to figure that out… JavaFinder. This is a simple command line tool …
Read More »“Transitioning to Java”: My First Book!
When I retired from the classroom in 2021, I had no intention of sitting on a rocking chair on my front porch. I looked for speaking opportunities, became a member of the JCP EC, and continued thinking about ways to enhance Java teaching. I also wanted to write a book. I approached a number of publishers with my idea for …
Read More »Java Threads Reimagined: A Reflection on JConf Toronto 2023 and the Dawn of a New Era of Concurrency
JConf Toronto, held on May 3rd, 2023, was a memorable gathering of Java enthusiasts and experts from both the local and global communities. The event took place at the Chestnut Conference Center, Toronto, featuring a wide variety of in-depth sessions, interactive Q&As, and two insightful keynote presentations. Notable keynote speakers included Venkat Subramaniam and Neal Ford. Venkat’s keynote, titled “Know …
Read More »