JRush Episode 4: Q&A Session

Transcript:

Q&A Session Introduction

I would prefer to call this a panel discussion rather than a simple Q&A session. We likely have a number of questions from our audience, which I would like to voice to our speakers now. Additionally, I have a "secret" question for every speaker at this panel, which, of course, is about Java.


Question for Dmitry: ARM Servers Availability

Dmitry, you mentioned that ARM servers are available in the cloud at AWS. Do we know of any other cloud providers or manufacturers offering ARM servers where they can be accessed or purchased?

  • Dmitry: Yes, I mentioned that at the end of the talk. You can rent servers built on Hunter Ultra in Oracle Cloud or Azure, or you can buy physical servers from multiple vendors based on Ultra. Graviton servers, however, are available only on AWS EC2. There are other providers as well, such as Alibaba Cloud.
  • Host: Interesting! I found that instances on ARM servers like AWS Gravitons are really cheaper than Intel ones, so it’s definitely worth checking.

Question for Mary: Streaming Technologies

Mary, we know of several different streaming technologies like Apache Spark, Apache Flink, and Apache Pulsar. Could you briefly explain the differences between them?

  • Mary: Sure! Apache Pulsar is more of an event-streaming broker, ideal for message ingestion. Apache Spark is more suited for batch processing of streaming data, often used in machine learning and AI applications. Apache Flink allows both ingestion and event-streaming processing, making it great for complex SQL-based data operations. Together, they form a strong combination, leveraging their individual strengths.
  • Host: That’s great. Can this technology help with fraud detection?
  • Mary: Yes, definitely. For instance, Apache Pulsar can monitor data in real time to detect unusual activities in financial systems, helping prevent fraud. Event streaming software can be highly effective for such purposes.


Technical Question: Garbage Collection in Pulsar

There’s a concern about garbage collection causing "stop-the-world" events in Pulsar. How does it handle this issue?

  • Mary: That’s a great question. Currently, I don’t have the exact answer but can look it up. However, Pulsar’s federated architecture, which uses multiple nodes, minimizes the likelihood of stop-the-world pauses affecting the entire system.

Question for Dr Mo: Kubernetes in Production

Dr Mo, could you share your experience using Kubernetes or OpenShift in production?

  • Dr Mo: Sure. At Discover, we use OpenShift, which builds on Kubernetes with added features for developers and operation engineers. OpenShift simplifies deployment, scalability, and management through an intuitive console and CI/CD integration.
  • Host: Is transferring solutions across cloud providers easy with OpenShift?
  • Dr Mo: Yes, with tools like Red Hat’s Advanced Cluster Management, you can manage applications across clouds easily. It’s more seamless with OpenShift compared to vanilla Kubernetes, though complex applications might require additional work.

Final Question: Java’s Longevity

Java recently celebrated its 28th anniversary. What do you think makes Java so popular after all these years?

  • Mary: The vibrant community and robust technology keep Java alive. The Java Community Process (JCP) and the absence of major internal disputes make it unique. Java’s reliability in production also speaks volumes.
  • Dr Mo: Java simplifies development by abstracting complexities like memory management. Its active development, backward compatibility, and community support make it indispensable in industries like finance.
  • Dmitry: Java’s strict backward compatibility and a strong ecosystem have fostered trust and continuous development over decades.

Summary

At the end of JRush Episode 4 “Modern Java development for Banking and FinTech”, we had a very fruitful discussion with our speakers, Dr Mo Haghighi, Mary Grygleski, and Dmitry Chuyko, who answered the questions from the audience, such as Where can we get access to Arm servers? Can Apache Pulsar be used for fraud detection in banking? How to use Kubernetes in production? And more!

About Dmitry

Dmitry Chuyko is a Senior Performance Architect at BellSoft, an OpenJDK committer, and a public speaker. Prior to joining BellSoft, Dmitry worked on the Hotspot JVM at Oracle, and before that he had many years of programming experience in Java. He is currently focused on optimizing HotSpot for x86 and ARM, previously being involved in rolling out JEP 386, which enables the creation of the smallest JDK containers.

Social Media

Videos
card image
Nov 22, 2024
Reducing Java Startup Time: 4 Approaches

Java application startup can be significantly accelerated using modern tools. AppCDS stores preloaded classes in a shared archive, cutting startup time by up to 50%, while Project Leyden shifts optimizations to earlier stages with ahead-of-time compilation. GraalVM Native Image creates standalone executables for sub-second startup, and CRaC restores pre-warmed application states for instant readiness.

Videos
card image
Nov 15, 2024
Boost The Performance and Security of Your Spring Boot App with Alpaquita Containers

Alpaquita Containers offer a secure, high-performance solution for running Spring Boot applications in the cloud. These lightweight containers, built on Liberica JDK Lite and Alpaquita Linux, optimize memory and disk usage, reducing resource consumption by up to 30%.

Further watching

Videos
card image
Dec 28, 2024
JDK 24: The New Features in Java 24

JDK 24 is in Rampdown Phase One, which means, we know all the JEPs targeted to this release. And there are a lot of them, so it is time to discuss this new Java release!

Videos
card image
Dec 17, 2024
Master Java Profiling: Tools, Techniques, and Real-World Tips

Java profiling allows to rapidly identify and fix performance bottlenecks in your program. In this video we explain what is profiling, introduce popular profiling tools, list their pros and cons, and provide useful tips and code examples.

Videos
card image
Nov 29, 2024
OpenJDK Projects That We Anticipate

OpenJDK is actively evolving, with projects like Leyden, Valhalla, Babylon, and Lilliput aiming to enhance Java's performance and capabilities. Leyden focuses on faster startup and warmup by reusing precompiled code, while Valhalla introduces value objects, primitive classes, and specialized generics for better memory and runtime efficiency.