Tags: performance*

Tools or advice for measuring or improving software and system performance.

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. This article introduces an experimental build of MySQL 9.7 that integrates DuckDB as a storage engine. By marking tables with ENGINE=DuckDB, users can perform high-speed analytical queries using a columnar engine within the same connection and without duplicating data. The integration allows for automatic query pushdown where complex aggregations are offloaded to DuckDB while simple lookups remain on the standard InnoDB row path.

    * Integration of an in-process columnar query engine into MySQL 9.7
    * Dramatic performance increases for TPC-H workloads compared to traditional InnoDB
    * Automated routing between row and column storage paths based on query complexity
    * Efficient data loading via DuckDB's COPY command interface instead of per-row insertion
  2. JSON serialization and deserialization overhead limits throughput in high-volume machine-to-machine communications. Utilizing binary formats such as Protobuf, MessagePack, Avro, or FlatBuffers significantly reduces payload size and increases processing speed. Optimal architecture employs JSON for human-readable public APIs and binary formats for internal service communication and data pipelines.

    * JSON: public-facing readability
    * Protobuf: efficient service communication
    * MessagePack: schema-less binary encoding
    * Avro: scalable event streaming
    * FlatBuffers: zero-copy performance
    2026-06-30 Tags: , , , , by klotz
  3. >"One scale parameter determines accuracy in rotation-based vector quantization."

    The article demonstrates how the earlier EDEN quantization method outperforms its "successor" TurboQuant by utilizing an analytically optimized scale factor for superior accuracy and bias correction.

    * EDEN outperforms newer TurboQuant algorithms.
    * Optimal scaling is a key differentiator.
    * EDEN-biased minimizes reconstruction error (MSE).
    * EDEN-unbiased ensures highly accurate estimation.
    * Superior efficiency at low bit-widths.
    * Ideal for LLM and KV cache optimization.
  4. * Method chaining improves readability and reduces noise by replacing intermediate variables with a single sequence of transformations.
    * The pipe() pattern allows you to integrate complex, custom functions into a chain while keeping code testable and self-documenting.
    * Use the validate parameter in merge() to prevent unexpected row inflation from many-to-many joins and use indicator=True for easier debugging.
    * Optimize groupby operations by using transform() to add group statistics without extra merges and observed=True to avoid unnecessary computations on empty categories.
    * Replace slow apply() calls with vectorized NumPy functions like np.where() or np.select() for much faster conditional logic.
    * Avoid performance pitfalls such as iterrows(), unoptimized object dtypes, and chained assignment by using built-in vectorized methods and .loc.
  5. "Prove AI is a self-hosted solution designed to accelerate GenAI performance monitoring. It allows AI engineers to capture, customize, and monitor GenAI metrics on their own terms, without vendor lock-in. Built on OpenTelemetry, Prove AI connects to existing OpenTelemetry pipelines and surfaces meaningful metrics quickly.
    Key features include a unified web-based interface for consolidating performance metrics like token throughput, latency distributions, and service health. It enables faster debugging, improved time-to-metric, and better measurement of GenAI ROI. The platform is open-source, free to deploy, and offers full control over telemetry data."
  6. pi-autoresearch is an autonomous experiment loop for optimizing various targets like test speed, bundle size, LLM training, or build times. Inspired by karpathy/autoresearch, it utilizes a skill-extension architecture, allowing domain-agnostic infrastructure paired with domain-specific knowledge. The core workflow involves editing code, committing changes, running experiments, logging results, and either keeping or reverting the changes – a cycle that repeats indefinitely. Key components include a status widget, a detailed dashboard, and configuration options for customizing behavior. It persists experiment data in `autoresearch.jsonl` and session context in `autoresearch.md` for resilience and reproducibility.
  7. >The method, called KV Cache Transform Coding (KVTC), applies ideas from media compression formats like JPEG to shrink the key-value cache behind multi-turn AI systems, lowering GPU memory demands and speeding up time-to-first-token by up to 8x.
  8. Prompt caching significantly reduces LLM costs and latency by storing and reusing responses to repeated or similar prompts. The core technique involves checking a cache before sending a prompt to the LLM, retrieving a prior result if available. Effective caching requires balancing cache size, retrieval speed (using methods like vector databases), and strategies for handling slight prompt variations.
  9. NEXUS is a production-grade, full-text and semantic search engine built from scratch, implementing advanced data structures and distributed systems concepts. It focuses on probabilistic optimization, sub-millisecond latency, and hybrid AI-powered search. The project demonstrates core technologies like LSM Trees, Bloom Filters, HNSW Graphs, and W-TinyLFU caches, integrated into a high-performance pipeline. It also includes a LeetCode algorithm library with implementations of classic interview patterns and provides insights into distributed crawling and persistent storage.
  10. Zvec is engineered for speed, scale, and efficiency — and has been battle-tested across demanding production workloads within Alibaba Group. This page presents benchmark results demonstrating Zvec's performance under various workloads and configurations, using VectorDBBench with Cohere 1M and 10M datasets.

Top of the page

First / Previous / Next / Last / Page 1 of 0 SemanticScuttle - klotz.me: tagged with "performance"

About - Propulsed by SemanticScuttle