Performance Zone is brought to you in partnership with:
  • submit to reddit
Nicolas Frankel09/01/14
5167 views
1 replies

Using exceptions when designing an API

Many knows the tradeoff of using exceptions while designing an application: On one hand, using try-catch block nicely segregates between regular code and exception handling code On the other hand, using exceptions has a definite performance cost for the JVM. This week has proved to me that exception handling in designing an API is a very serious decision.

Nikita Salnikov...09/01/14
2387 views
0 replies

Leaking GPU memory - Google Chrome Edition

Our bread and butter is still memory leak detection, which was very clearly reminded to us when tracing down a GPU memory leak in a browser.

Bill Bejeck08/27/14
5310 views
0 replies

I/O With Files That Aren't Files

Using named pipes enabled me to decrypt and search of 300+ files in roughly 1.5 hours. I also avoided the space issue by never having to land a file on disk. While named pipes aren’t needed every day, they are a useful tool to have in your arsenal.

Nikita Salnikov...08/22/14
2762 views
0 replies

Classloading and locking

This post is inspired by Pierre-Hugues Charbonneau’s article on how loading non-existing classes can severely hurt your performance. This brought back memories from a debugging session where the same problem surfaced a bit differently.

Chen Harel08/22/14
5112 views
0 replies

Route 53 Benchmark: The New AWS Geolocation's Surprising Results

How to choose between Geolocation and Latency routing? We tested DNS configurations across multiple EC2 regions using AWS Route 53 to find out

Eric Minick08/21/14
5699 views
0 replies

The argument for testing performance in production

Performance testing still has its place. It’s awesome for existing applications when looking for changes that degrade performance, and for major application launches where the scalability absolutely has to be right the first time.

Ayende Rahien08/21/14
4782 views
6 replies

Question 6 is a trap, a very useful one

In my interview questions, I give candidates a list of 6 questions. They can either solve 3 questions from 1 to 5, or they can solve question 6. Question 6 requires that you create an index for a 15 TB CSV file, and allow efficient searching on it. While questions 1 – 5 are basically gate keeper questions.

Peter Verhas08/15/14
2665 views
1 replies

Do Not Hit SysAdmins With NPE!

My opinion is that having a null pointer exception and getting it into the log without caching, handling and re-throwing it in another exception is not inherently bad

Mehdi Daoudi08/15/14
5284 views
1 replies

The Irony of Google's HTTPS Mandate

With last week’s announcement that Google will start rewarding those sites with HTTPS security configurations with better search result rankings, many companies will now be faced with a difficult decision.

Mehdi Daoudi08/15/14
5284 views
1 replies

The Irony of Google's HTTPS Mandate

With last week’s announcement that Google will start rewarding those sites with HTTPS security configurations with better search result rankings, many companies will now be faced with a difficult decision.

Bozhidar Bozhanov08/13/14
4010 views
1 replies

Generating equals(..), hashCode() and toString()

You most probably need to override hashCode(), equals(..) and toString() – I won’t go into details when and why, but you need that

Dustin Marx08/13/14
1180 views
0 replies

Book Review: Java EE 7 Performance Tuning and Optimization

Packt Publishing recently published 's Osama Oransa's Java EE 7 Performance Tuning and Optimization. This post is my review of this book of twelve chapters and approximately 430 pages of substantive content.

David Flynn08/13/14
1797 views
0 replies

Collectors Part 1 – Reductions and Short-Circuiting Operations‏

We’ve covered the first two parts reasonably well and also used forEach to do consuming, so let’s now look at collecting.

Has Altaiar08/13/14
2122 views
0 replies

How I Reduced Worker Role Time from >5 Hours to <1 Hour

This post talks about my experience in reducing the execution time of the Worker Role from above 5 hours to under 1 hour. This Worker Role is set up to call some external APIs to get a list of items with their promotions and store them locally.

Mike Driscoll08/12/14
2179 views
0 replies

The new sh Package: A subprocess wrapper

The project’s documentation has lots more information and additional examples that are worth your time perusing. It tells you how to accomplish sub-commands, get exit codes, piping, sub-commands and more.

Peter Lawrey08/12/14
2317 views
0 replies

Try Optimising the Memory Consumption First

You would think that if you wanted your application to go faster you would start with the CPU profiling. However, when looking for quick wins, it's the memory profiler I target first.

Mehdi Daoudi08/12/14
315 views
1 replies

Why Internal Application Monitoring Is Not What Your Customer Needs

When faced with choosing between internal application monitoring and external synthetic monitoring, many business professionals are under the impression that as long their website is up and running, then there must not be any problems with it. This, however, couldn’t be further from the truth.

Chen Harel08/11/14
6066 views
0 replies

Oracle’s Latest Java 8 Update Broke Your Tools — How Did it Happen?

Learn how the latest Java 8 and Java 7 builds broke some popular 3rd party tools such as JRebel, Javassist, Google’s Guice, and even Groovy itself.

Nicolas Frankel08/11/14
4407 views
0 replies

Sanitizing webapp outputs as an an afterthought

For sure, software security should be part of every developer’s requirements: they should be explained and detailed before development. Unfortunately, it happens in real life that this is not always the case. I’ve been thinking about a way to sanitize the output of a large-scale legacy Spring MVC application in a reliable way (i.e. not go on each page to fix issues).

David Catuhe08/08/14
5824 views
1 replies

JavaScript: using closure space to create real private members

Closure space properties can be a great way to create really private data. You may have to deal with a small increase in memory consumption but from my point of view this is fairly reasonable.

Markus Eisele08/08/14
1050 views
0 replies

Review: "WildFly Performance Tuning" by Arnold Johansson and Anders Welén

Arnold Johansson and Anders Welén took a deeper look into what it takes to develop and run high performance applications on WildFly and collected a bunch of tips and tricks everybody should know.

Hubert Klein Ikkink08/07/14
3189 views
0 replies

Grails Goodness: Using Bintray JCenter as Repository

Bintray JCenter is the next generation (Maven) repository. The repository is already a superset of Maven Central, so it can be used as a drop-in replacement for Maven Central.

Abhishek Gupta08/07/14
4699 views
0 replies

Book Review: Java EE 7 Performance Tuning and Optimization

As the title clearly suggests, this book deals with Performance Tuning. It focuses on tuning, monitoring and optimizing the performance of Java EE applications in particular.

Jeremy Likness08/06/14
5648 views
0 replies

No Need to $Watch AngularJS "Controller As"

You have to ask yourself what you are watching for, then decide if using an actual $watch is worth it. A $watch introduces significant overhead and fires every digest loop.

Steve Francia08/04/14
6991 views
0 replies

Go for Object Oriented Programmers

If you’re a OO programmer, especially one with a background with dynamic languages and are curious about Go then this talk is for you. We will cover everything you need to know to leverage your existing skills and quickly start coding in go including: