Performance Zone is brought to you in partnership with:
  • submit to reddit
Matt Butcher07/25/14
0 replies

9 Things I Like About Go

Here, in no particular order, are the top 9 reasons I like working with Go: The Toolchain, Clean Code, Go Routines, Channels, Metaphysical Parsimony, and 4 more...

Steve Hanov07/24/14
0 replies

You can cheat so your web site seems faster than it is

Previously, I was precalculating the completion which maximized the probability of the word, using some basterdized half-remembered version of bayes law. But I think there is a better approach, by running simulations on existing data.

Alec Noller07/23/14
0 replies

Dev of the Week: Pierre-Hugues Charbonneau

Every week here and in our newsletter, we feature a new developer/blogger from the DZone community. This week we're talking to Pierre-Hugues Charbonneau, Senior IT Consultant and System Architect at CGI Inc., and author of DZone's 200th Refcard: Java Performance Optimization.

Borislav Iordanov07/23/14
0 replies

Why is the Fundamental Theorem of Software Engineering Fundamental?

So you can see where I'm heading with the question posed at the title of this post. It is the reference resolution that is fundamental an indirection is simply what we do to (re)define what that resolution process ultimately looks like.

Roman Leventov07/22/14
0 replies

Time - memory tradeoff with the example of Java Maps

This article illustrates the general time - memory tradeoff with the example of different hash table implementations in Java. The more memory a hash table takes, the faster each operation (e. g. getting a value by key or putting an entry) is performed.

Alec Noller07/21/14
0 replies

DZone's 200th Refcard Released: Java Performance Optimization

Today, DZone released Refcard #200: Java Performance Optimization. To mark the significance of this milestone, this Refcard boasts a complete redesign - all the information you expect from a Refcard in a shiny new package!

Ayende Rahien07/21/14
0 replies

Introducing inefficiencies into RavenDB, on purpose

The administrators on the server noted the high I/O and that a single thread was constantly busy and decided that this is likely a hung thread. The long term fix was to actually make sure that we abort the operation after a while, report to the remote server that we scanned up to a point, and had nothing to show for it, and go back to the replication loop.

Whitney Baker07/19/14
0 replies

Benchmarking PHPNG in Alpha

PHPNG is only in alpha development, but several benchmarking tests already put it streets ahead of PHP 5.6 – in some cases, it easily performs twice as quickly.

David Flynn07/18/14
0 replies

Finite Sequence Generators in Java 8 – Part 2

In the finite sequence article, we saw that unless we wanted to limit ourselves to a certain number of values we couldn't use generate and iterate in a simple manner.

Asela Pathberiya07/18/14
0 replies

XACML PDP Performance Testing with Thrift

With Identity Server, we can also use Thrift protocal to communicate with PDP. It is said that thrift is more faster than the HTTP. Therefore we hope that we can get more performance and less response time by using thrift protocol with Identity Server.

Jay Fields07/17/14
0 replies

Solitary Unit Test

In Java it’s common to unit test at the class level. The Foo class will have an associated FooTestsclass. Solitary Unit Tests follow two additional constraints: Never cross boundaries and the Class Under Test should be the only concrete class found in a test.

Bruno Terkaly07/17/14
0 replies

Get With the Times - Get Rid Of the Bloated XML Data Format And Switch To JSON

One of my blog readers told me it was 2014. He laughed at the fact that I was still using XML, so within 30 minutes I was writing JSON to disk, instead of XML. It was incredibly easy to do.

Gabriel Dimech07/16/14
0 replies

Retrieving JMX information programmatically

In order to retrieve JMX information from a Java application, the target application must be configured to expose JMX information. The following Java code allows for polling the JMX agent and retrieving memory, CPU usage and also shows how to remotely invoke the garbage collector:

Ayende Rahien07/16/14
0 replies

Message Passing, Performance - Take 2

In my previous post, I did some rough “benchmarks” to see how message passing options behave. I got some great comments, and I thought I’ll expand on that.

Trevor Parsons07/16/14
0 replies

TCP or UDP for Logging – Which One to Use?

When sending data over the Internet, we want to be sure that data has arrived safely and is delivered in a reliable manner. Assuming that our hardware and operating systems do the job well, we can use transport protocol on the application level to achieve that goal.

Mehdi Daoudi07/16/14
0 replies

In the World of DNS, Cache is King

The first time I learned how DNS gets resolved, I was quite surprised by how long and complicated the process was. Think about how many websites you visit in a given day, then consider how many of those you go to multiple times.

Alec Noller07/15/14
0 replies

Refcard Expansion Pack: Node.js

This week, DZone released its latest Refcard: Node.js. For those of you interested in sharpening your Node.js skills - or, maybe, debating a potentially unpopular opinion - we decided to dig into the DZone archives and find some of the most popular posts we've had on the topic.

Ayende Rahien07/15/14
0 replies

Message passing, performance

What I need this for is for network protocol handling. As such, even assuming that every single byte is a message, we would have to go far beyond what any reasonable pipe can be expected to be handle.

Peter Zaitsev07/15/14
0 replies

Simple MySQL Master HA with mysqlnd_ms

I had the pleasure of presenting to the PHP Users Group Philippines a few days ago about mysqlnd_ms. The mysqlnd plugin, MySQL Master Slave, is a transparent layer on top of mysqlnd extension.

A. Jesse Jiryu Davis07/15/14
0 replies

Let Us Now Praise ResourceWarnings

A couple years ago when I began using Python 3, its new ResourceWarnings infuriated me and I ranted against them. And now, a ResourceWarning has saved my tuchus.

Ayende Rahien07/14/14
0 replies

Async event loops in C#

I’m designing a new component, and I want to reduce the amount of complexity involved in dealing with it. This is a networked component, and after designing several such, I wanted to remove one area of complexity, which is the use of explicitly concurrent code.

Whitney Baker07/13/14
0 replies

The Best of the Week (July 4): Performance Zone

Make sure you didn't miss anything with this list of the Best of the Week in the Performance Zone (July 4 to July 11). This week's topics include slow unit tests, busy thread count alerts, detecting deadlocks, cost accounting for SSDs and Java EE.

Mehdi Daoudi07/12/14
0 replies

Performance On and Off the Track at the Formula 1 Grand Prix

In the world of Formula 1, milliseconds are the difference between Pole Position and second on the grid. Millions of dollars are spent on getting the maximum performance out of both the car and the driver.

John Piekos07/11/14
0 replies

Cost accounting for SSDs – it’s RAM, not disk

Most discussions I have seen about choosing SSDs vs. spinning disk arrays for databases tend to focus on SSDs as a replacement for disk. SSDs don’t replace disk; they replace the RAM you would be using to cache enough disk pages to make up for the terrible random IO performance of spinning disk arrays.

Theodore Ravind...07/11/14
0 replies

5 Quick Points about Threads for Java EE

Here are five quick points that developers should be conscious of when their code is running in a multi-threaded (usually Java EE) environment. We all write code where we don't create threads ourselves but our code is still being executed in multi-threaded environment. Here are some tips focused on helping you write code that is thread-ready and thread-safe.