Python affordances for performance measurement

When your Python code is too slow, you need to identify the bottleneck that’s causing it: you need to understand what your code is doing. Luckily, beyond pre-existing profiling tools, there are also a variety of ways you can poke and prod Python programs to get a better understanding of what they’re doing internally. This … Read more

Finding performance problems: profiling or logging?

When your software is too slow in production, how can you figure out the source of the problem? One common starting point to improve production observability is logging, and ideally trace-based logging (tracing for short). For example, the OpenTelemetry standard and the libraries and backend services that work with it can help you collect metrics, … Read more

The History of DOM Manipulation Performance in a Nutshell | by Davi Albuquerque Vieira | Aug, 2022

Updating the DOM directly is costly. How do we know what we know today? image by author The year was 1998. I was a ten years old kid, disappointed by the recent defeat of Brazil against France in the World Cup’s final. Big day for French people, especially for football fans. Not less important but … Read more

Spark-Radiant: Spark Performance, Cost Optimizer

Spark-Radiant is Apache Spark Performance and Cost Optimizer. Spark-Radiant will help optimize performance and cost considering catalyst optimizer rules, enhance auto-scaling in Spark, collect important metrics related to a Spark job, Bloom filter index in Spark, etc. Spark-Radiant is now available and ready to use. The dependency for Spark-Radiant 1.0.4 is available in Maven central. … Read more

The new OnePlus 10T has more performance potential than the OnePlus 10 Pro

But it’s not a top-of-the-line flagship After months of leaks and rumors, OnePlus finally lifted the covers off its latest flagship — the OnePlus 10T — at an event in New York City today. The new device is inarguably better than its predecessor in several aspects, but it’s not quite the top-of-the-line flagship you might … Read more

Partitioning for performance in a sharding database system

In a previous post, I described a sharding system to scale throughput and performance for query and ingest workloads. In this post, I will introduce another common technique, partitioning, that provides further advantages in performance and management for a sharding database. I will also describe how to handle partitions efficiencies for both query and ingest … Read more

The best way to find performance bottlenecks: observing production

Your customers are complainin’, your monitors are alertin’, your thumbs are a-twiddlin’—whatever the symptom, the problem is that your application is too slow. And you want to find out why, so you can fix it. You could spin up your application on your laptop, do some benchmarking, and try to find the bottleneck. Sometimes, that’s … Read more

Java Class Loading: Performance Impact

java.lang.ClassLoader#loadClass() API is used by 3rd party libraries, JDBC Drivers, frameworks, and application servers to load a java class into the memory. Application developers don’t use this API frequently. However when they use the APIs such as ‘java.lang.Class.forName()‘ or ‘org.springframework.util.ClassUtils.forName()‘, they internally call this ‘java.lang.ClassLoader#loadClass()‘ API. Frequent usage of this API amongst different threads at … Read more

Track Project and Product Performance

In this article, we will define the “bare minimum” set of metrics, talk about product success metrics and discuss what can be considered a true agile measure of success. Have you ever thought, worried, or maybe, laughed at such statements, such as “You can only manage what you measure”? Have you ever been asked , … Read more