Home / Companies / QuestDB / Blog / July 2026

July 2026 Summaries

5 posts from QuestDB

Filter
Month: Year:
Post Summaries Back to Blog
QuestDB is an open-source time-series database designed for high-performance workloads, such as those on trading floors, offering ultra-low latency, high ingestion throughput, and a multi-tier storage engine. It natively supports Parquet and SQL, allowing for data portability and AI-readiness without vendor lock-in. The text outlines a process for building a transaction cost analysis (TCA) pipeline using QuestDB, ConnectorX, and Polars, capturing live crypto market data to simulate and analyze the costs of a TWAP execution. QuestDB handles time-series data queries, ConnectorX efficiently transfers query results to Python, and Polars processes the data to generate actionable insights, such as comparing the average fill price against the market's volume-weighted average price (VWAP). The analysis highlights the impact of trading strategies on execution costs, emphasizing the importance of understanding market dynamics and adverse selection. The pipeline can be adapted for various real-world applications, including execution scorecards and backtesting, demonstrating the flexibility and power of open-source tools in financial data analysis.
Jul 20, 2026 2,839 words in the original blog post.
HDFC Bank, India's largest private sector bank by assets and market capitalization, has implemented a sophisticated Real-Time Streaming Platform (RTSP) using QuestDB to enhance its transaction monitoring and fraud detection capabilities. This system is designed to detect money mule accounts, which are used to launder money through fraudulent transactions, by analyzing patterns across various channels in real-time. The platform processes up to 7,000 transactions per second with sub-100ms decision-making, employing a combination of real-time rule evaluation and machine learning models to assign risk scores to transactions. By integrating channels such as UPI, credit cards, and online banking, the bank can now detect cross-channel fraud patterns that were previously invisible. The platform, which has seen transaction volumes increase sixfold since deployment, is also being extended to support Customer Level Monitoring (CLM) for real-time fraud prevention and other use cases like upselling and personalized recommendations. QuestDB's SQL interface has facilitated collaboration among HDFC's engineering, risk, and fraud teams, allowing the bank to utilize the same infrastructure across multiple applications without relying on proprietary systems. The partnership with QuestDB has been instrumental in refining the platform, ensuring it meets the bank's specific needs while maintaining scalability and flexibility for future advancements.
Jul 17, 2026 1,159 words in the original blog post.
The exploration began with a LinkedIn comment about branch prediction and JIT compilers, leading to an investigation into how the HotSpot JVM handles branch predictions in its compiler. The author discovered that their initial comment about JIT compilers being able to emit different code for observed patterns was incorrect, as HotSpot actually measures branch bias rather than predictability, impacting performance in loops where the selected value feeds the next iteration. This bias-based measurement can result in suboptimal decisions, particularly when the branch's predictability differs from its bias. The experiments demonstrated that while the use of conditional moves (cmov) can mitigate worst-case scenarios, it consistently incurs a performance cost compared to well-predicted branches, especially in loop-dependent cases. The study highlights the complexities and trade-offs in compiler optimizations, where the heuristic used by HotSpot can overlook significant performance gains by not accounting for the actual predictability of branches.
Jul 15, 2026 2,142 words in the original blog post.
QuestDB, an open-source time-series database, excels in handling demanding workloads with ultra-low latency and high ingestion throughput, making it suitable for environments like trading floors and mission control. Unlike many databases that focus primarily on speed, the guide emphasizes other crucial considerations such as the database's query language understanding of time, operational requirements, data portability, and licensing models. QuestDB supports SQL with time-series extensions, enabling complex temporal queries, and it offers features like materialized views, incremental rollups, and deduplication on ingestion. While performance remains a factor, QuestDB's ability to handle millions of rows per second makes it a strong contender among competitors like InfluxDB, TimescaleDB, and ClickHouse, particularly for high-throughput ingestion and low-latency queries. The database also supports open formats like Apache Parquet, ensuring data remains portable and accessible within a broader ecosystem, reducing vendor lock-in risks. However, QuestDB's open-source version lacks some operational features like high availability, which are available in its commercial version. The guide suggests that QuestDB is best suited for capital markets, industrial IoT, and scenarios requiring high ingestion rates and open data formats, while recommending other databases like TimescaleDB, ClickHouse, and InfluxDB for different specific use cases based on their unique strengths.
Jul 07, 2026 5,916 words in the original blog post.
The text explores an optimization technique in the C2 compiler, a part of the OpenJDK project, that removes redundant bitwise operations during the compilation process. Specifically, it delves into how the expression (x << 2) & -4 can be simplified to just x << 2, as the bitwise AND operation becomes unnecessary due to known characteristics of the shifted value where the lowest two bits are always zero. The optimization is achieved by utilizing an abstraction called "known bits," which tracks for each bit whether it's definitely zero, definitely one, or unknown, enhancing the compiler's ability to simplify code beyond what range-based analysis alone can achieve. The text describes the internal workings of this system, referencing specific implementation details in C2, such as the use of bit masks and the concept of a reduction operator to refine the constraints between ranges and known bits. It also compares similar implementations in other compilers like LLVM and GCC, highlighting the universal applicability of this approach. The author shares their personal interest in compiler design and optimization, expressing gratitude to the developers who contributed to this advancement in JDK versions 26 and 27.
Jul 02, 2026 3,062 words in the original blog post.