Performance Zone is brought to you in partnership with:
  • submit to reddit
Greg Duncan08/01/14
68 views
0 replies

"The Art of Memory Forensics"

Not something I really need right now nor probably many of you, but I still think it's pretty darn cool looking and talk about a geek level-up tool! :)

John Cook07/30/14
2589 views
0 replies

D more popular than any functional language

At the time of writing this post, D is easily more popular than all functional programming languages combined. Here’s a portion of the chart zooming in on D and functional languages.

Peter Zaitsev07/30/14
3218 views
0 replies

Prevent MySQL downtime: Set max_user_connections

One of the common causes of downtime with MySQL is running out of connections. There is a better solution: use different user accounts for different scripts and applications and implement resource limiting for them. Specifically set max_user_connections:

Moshe Kaplan07/28/14
4092 views
0 replies

Validating Your Disk Performance

If you are short of RAM and get a poor performance, it may be a good time to verify your disks performance and see if they do match your needs.

Matt Butcher07/25/14
8016 views
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
1919 views
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
8533 views
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
6380 views
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
4346 views
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
8961 views
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
3323 views
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
3121 views
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
2397 views
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
2602 views
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
2557 views
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
1491 views
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
4108 views
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
2768 views
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
1419 views
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
1093 views
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
3342 views
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
3250 views
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
4665 views
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
2267 views
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
878 views
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.