Tag: metrics

  • Unlocking Apache Spark Performance: Three Open-Source Tools We Use at CERN

    Unlocking Apache Spark Performance: Three Open-Source Tools We Use at CERN

    Unlocking Apache Spark Performance: Three Open-Source Tools We Use at CERN Apache Spark is incredibly powerful, but anyone who has worked with it long enough knows the feeling: Why is this job suddenly slower today? Why are executors running out of memory? Why is one stage taking 90% of the runtime? What exactly is Spark

    Explore →

  • Troubleshoot I/O & Wait Latency with OraLatencyMap and PyLatencyMap

    Troubleshoot I/O & Wait Latency with OraLatencyMap and PyLatencyMap

    Troubleshoot I/O & Wait Latency with OraLatencyMap and PyLatencyMap I recently chased an Oracle performance issue where most reads were sub-millisecond (cache), but a thin band around ~10 ms (spindles) dominated total wait time. Classic bimodal latency: the fast band looked fine in averages, yet the rare slow band owned the delay. To investigate, and

    Explore →

  • Building an Apache Spark Performance Lab: Tools and Techniques for Spark Optimization

    Building an Apache Spark Performance Lab: Tools and Techniques for Spark Optimization

    Building an Apache Spark Performance Lab: Tools and Techniques for Spark Optimization Apache Spark is renowned for its speed and efficiency in handling large-scale data processing. However, optimizing Spark to achieve maximum performance requires a precise understanding of its inner workings. This blog post will guide you through establishing a Spark Performance Lab with essential

    Explore →

  • Enhancing Apache Spark Performance with Flame Graphs: A Practical Example Using Grafana Pyroscope

    Enhancing Apache Spark Performance with Flame Graphs: A Practical Example Using Grafana Pyroscope

    Enhancing Apache Spark Performance with Flame Graphs: A Practical Example Using Grafana Pyroscope TL;DR Explore a step-by-step example of troubleshooting Apache Spark job performance using flame graph visualization and profiling. Discover the seamless integration of Grafana Pyroscope with Spark for streamlined data collection and visualization. The Puzzle of the Slow Query Set within the framework

    Explore →

  • Performance Comparison of 5 JDKs on Apache Spark

    Performance Comparison of 5 JDKs on Apache Spark

    Performance Comparison of 5 JDKs on Apache Spark Dive into a comprehensive load-testing exploration using Apache Spark with CPU-intensive workloads. This blog provides a comparative analysis of five distinct JDKs’ performance under heavy-duty tasks generated through Spark. Discover a meticulous breakdown of our testing methodology, tools, and insightful results. Keep in mind, our observations primarily

    Explore →

  • A Performance Dashboard for Apache Spark

    A Performance Dashboard for Apache Spark

    A Performance Dashboard for Apache Spark Topic: This post dives into the steps for deploying a performance dashboard for Apache Spark, using Spark metrics system instrumentation, InfluxDB and Grafana. What problem does it solve: The dashboard can provide important insights for performance troubleshooting and online monitoring of Apache Spark workloads. In particular when running Spark

    Explore →

  • Intelligent monitoring with a new general-purpose metrics monitor

    Intelligent monitoring with a new general-purpose metrics monitor

    Intelligent monitoring with a new general-purpose metrics monitor In the database team at CERN, we have developed a general-purpose metrics monitor, a missing part in our next generation monitoring infrastructure. In the implemented metrics monitor, metrics can come from several sources like Apache Kafka, new metrics can be defined combining other metrics, different analysis can

    Explore →

  • Performance Analysis of a CPU-Intensive Workload in Apache Spark

    Performance Analysis of a CPU-Intensive Workload in Apache Spark

    Performance Analysis of a CPU-Intensive Workload in Apache Spark Topic: This post is about techniques and tools for measuring and understanding CPU-bound and memory-bound workloads in Apache Spark. You will find examples applied to studying a simple workload consisting of reading Apache Parquet files into a Spark DataFrame. Why are the topics discussed here relevant

    Explore →