Performance Zone is brought to you in partnership with:
  • submit to reddit
Nikita Salnikov...10/23/14
0 replies

Revealing the Length of Garbage Collection Pauses

There are several ways to improve your product. One such way is to carefully track what your users are experiencing and improve based on that.

Steven Lott10/20/14
0 replies

Scipy.optimization.anneal Problems

I'm not even certain that I could help them with some of the Python technology required to extend scipy. But, I'm sure I cannot actually do anything of value under the circumstances that (a) they have not really tried the established algorithms and (b) they're already sure that the established algorithms can't work based on religious-wars arguments.

Gen Furukawa10/20/14
1 replies

The Key to Distributed Database Performance: Scalability

TL;DR: The realities of modern corporate networks make the move to distributed database architectures inevitable. How do you leverage the stability and security of traditional relational database designs while making the transition to distributed environments? One key consideration is to ensure your cloud databases are scalable enough to deliver the technology's cost and performance benefits.

Alan Hohn10/20/14
7 replies

Measuring String Concatenation in Logging

I had an interesting conversation today about the cost of using string concatenation in log statements.

Tomasz Nurkiewicz10/20/14
0 replies

Java Performance: The Definitive Guide

Java Performance: The Definitive Guide is the best Java book I read this year.

Dustin Marx10/16/14
0 replies

NetBeans 8.0's Five New Performance Hints

NetBeans 8.0 introduces several new Java hints.

Chen Harel10/16/14
0 replies

AppDynamics VS New Relic – Which Tool is Right For You? The Complete Guide

When thinking about performance, AppDynamics and New Relic are the main modern tools that come to mind. Both spawned from the same company, Wily Technology, who also dealt with performance monitoring and was acquired by CA back in 2006 - making way to new technology.

Peter Lawrey10/15/14
0 replies

Kafka Benchmark on Chronicle Queue

I was recently asked to compare the performance of Kafka with Chronicle Queue. No two products are exactly alike, and performing a fair comparison is not easy. We can try to run similar tests and see what results we get.

Rick Delgado10/15/14
0 replies

The Future of Flash Storage

Flash storage is slowly becoming more affordable and infiltrating the mainstream enterprise.

Pubudu Dissanayake10/13/14
0 replies

How to draw a Control flow graph & Cyclometric complexity for a given procedure

Cyclomatic complexity is a software metric used to measure the complexity of a program. This metric measures independent paths through the program's source code.

Arthur Charpentier10/11/14
0 replies

Cross Validation for Kernel Density Estimation

In a post published in July, I mentioned the so-called Goldilocks principle, in the context of kernel density estimation, and bandwidth selection. The bandwidth should not be too small (the variance would be too large) and it should not be too large (the bias would be too large).

Pierre-yves Saumont10/09/14
9 replies

Do it in Java 8: The State Monad

Handling state is a common programming problem. This article shows how the state monad implemented in Java 8 may help solving this kind of problem. It first describes how it may be applied to memoizing a recursive function. Then, it shows how the state monad may simplify the implementation of a state machine.

Alec Noller10/08/14
0 replies

Dev of the Week: Vladimir Šor

Every week here and in our newsletter, we feature a new developer/blogger from the DZone community to catch up and find out what he or she is working on now and what's coming next. This week we're talking to Vladimir Šor, co-founder and CTO of Plumbr.

Nikita Salnikov...10/08/14
0 replies

How Do You Detect and Solve Performance Issues?

This post is asking you to help us in building a better product. What we are after is your current experience in Java performance tuning

Ayende Rahien10/07/14
0 replies

Optimizing event processing

There is a migration process that deals with event sourcing system. So we have 10,000,000 commits with 5 – 50 events per commit. Each event result in a property update to an entity.

Prateek Jain10/06/14
4 replies

JVM Thread Pooling Trends

In this article we will explore some of the well-established options available for thread pooling/sharing in the JVM. Also, with the availability of multicore processors new issues have crept up.

Jayanga Dissanayake10/05/14
1 replies

Simple SecurePasswordVault in Java

There are some instances when you want to store your passwords in files to be used by programs or scripts. But storing your passwords in plain text is not a good idea. Use the SecurePasswordVault to encrypt your passwords before storing and get it decrypted when you want to use it.

Yegor Bugayenko10/03/14
0 replies

jcabi-http Fluent Java HTTP Client

Even though there is plenty of HTTP clients in Java world, I created a new one, which is fluent, immutable, extendable and simple

Konstantin Triger10/03/14
0 replies

Fluent interfaces are finally ready for prime time in Java

One of the basic needs in fluent interface is connecting to user types. What field, method or operation does this fluent interface try to refer? JaQue project provides an elegant solution.

Kevin Rutherford10/02/14
0 replies

Where do conditionals come from?

I’ve listed out those origins of conditionals that I could think of. Is this a fool’s errand? Possibly, but let’s give it a try anyway.

Markus Eisele10/01/14
0 replies

Review: "Java EE 7 Performance Tuning and Optimization" by Osama Oransa

The latest Packt Publishing Java EE 7 books are all around performance and tuning.

Pierre-yves Saumont09/30/14
2 replies

Do it in Java 8: Automatic memoization

Memoization is a technique used to speed up functions. Memoization may be done manually. It may also be done automatically. We can find many examples of automatic memoization on Internet. In this article, I will show how Java 8 makes it very easy to memoize functions.

Bozhidar Bozhanov09/29/14
1 replies

Load-Testing Guidelines

Load-testing is not trivial. It’s often not just about downloading JMeter or Gatling, recording some scenarios and then running them. It’s good to be reminded of some things that can potentially waste time.

Dmitriy Setrakyan09/29/14
0 replies

One-Phase-Commit: Fast Transactions For In-Memory Caches

By ensuring that all objects participating in a transaction are mapped to the same logical partition, we can remove the whole "prepare" phase from the distributed commit protocol, thus converting the standard 2-Phase-Commit into very light weight 1-Phase-Commit transactions.

Yannick Majoros09/27/14
8 replies

Java 8 Optional - Avoid Null and NullPointerException Altogether - and Keep It Pretty

There have been a couple of articles on null, NPE's and how to avoid them. They make some point, but could stress the easy, safe, beautiful aspects of Java 8's Optional. This article shows some way of dealing with optional values, without additional utility code.