More Podcasts by InfoQ episodes

A Java Performance Quest: Taming Unsafe Code, Embracing Idiomatic Style & Debugging the Linux Kernel thumbnail

A Java Performance Quest: Taming Unsafe Code, Embracing Idiomatic Style & Debugging the Linux Kernel

Published 27 Apr 2026

Duration: 00:40:47

Challenges in deploying AI from proof-of-concept to production highlight engineering gaps, with QuestDB's three-tier storage (real-time, query, archival) and Java/C++/Rust optimizations enabling scalable time-series data handling, though facing Java warmup, code generation, and hardware integration hurdles.

Episode Description

In this podcast, Jaromir Hamala, a seasoned Java engineer specialising in high-throughput data systems, shares his thoughts on how developers can tack...

Overview

The podcast discusses challenges in deploying AI systems into production, emphasizing the gap between proof-of-concept development and reliable, scalable implementations. It highlights QuestDB, a time-series database optimized for high ingestion rates and bridging real-time data with data lakes. QuestDB employs a three-tier storage architecture: Tier 1 handles real-time ingestion via an append-only write-ahead log, Tier 2 organizes data by time for efficient querying (e.g., binary search over time windows), and Tier 3 stores older data in cost-effective formats like Parquet in object storage (e.g., S3). The database is tailored for machine-generated data (e.g., IoT, financial systems), prioritizing scalability and external tool integration to avoid data lock-in. Key concepts include time-series databases treating time as a primary dimension for aggregation and tiered storage balancing speed, query efficiency, and cost.

The technical implementation focuses on Java as the core language for QuestDB, with 90% of the codebase in Java and performance-critical components in C, C++, and Rust. Unorthodox Java practices, such as object pooling and minimizing garbage collection, enable high ingestion rates (millions of rows per second). A custom JIT compiler is used for SQL filters, though limitations like lack of ARM support in the C++ backend and slow initial execution of generated code pose challenges. Future plans include transitioning to Javas Vector API for ARM compatibility and leveraging projects like Valhalla to improve memory layout control. Alternatives to JNI, such as Javas Panama project, are explored for safer native memory access, while risks of unsafe memory manipulation in Java are acknowledged.

The discussion extends to low-level system programming, including debugging a Linux kernel deadlock encountered during profiling, and optimizing performance through hardware-aware techniques like exploiting CPU parallelism. The role of AI tools in code exploration and analysis is also covered, with examples of using AI for investigating compilers, security vulnerabilities, and log analysis. However, challenges include balancing AI-driven efficiency with foundational programming discipline and avoiding over-optimization in general-purpose systems. Overall, the content underscores the interplay between hardware understanding, software design, and emerging technologies like AI in addressing performance and scalability challenges.

Recent Episodes of Podcasts by InfoQ

8 Jun 2026 From MCP and Vibe Coding to Harness Engineering: How Did AI Native Engineering Evolve in One Year

The evolving AI adoption in software delivery involves architecture, collaboration, and rapid advancements, highlighting shifts in coding tools from autocomplete to agentic modes, context engineering challenges, hybrid tool use, local model limitations, privacy concerns, and the need for formal validation and industry-academia collaboration to enhance agent autonomy and address reliability gaps.

1 Jun 2026 Requirements Analysis for Architects: A Conversation with Sonya Natanzon

Architects must balance technical and business priorities, prioritize user satisfaction and organizational goals, navigate communication challenges, apply domain-driven design principles, address AI's impact on software development, and adapt to evolving technologies while emphasizing creativity and strategic alignment.

18 May 2026 Context is the Key to the Agentic Architecture Revolution: A Conversation with Baruch Sadogursky

AI adoption in architectural decision-making emphasizes trade-offs between efficiency and complexity, challenges of ambiguous requirements, context-driven engineering, frameworks like the Intent Integrity Kit for iterative clarity, architect roles in managing systems and stakeholder dynamics, and the need to balance AI capabilities with human oversight amid ethical and technical limitations.

More Podcasts by InfoQ episodes