Do you want to know how to develop your skillset to become a Java Rockstar?

Subscribe to our newsletter to start Rocking right now!

To get you started we give you our best selling eBooks for FREE!


1. JPA Mini Book

2. JVM Troubleshooting Guide

3. JUnit Tutorial for Unit Testing

4. Java Annotations Tutorial

5. Java Interview Questions


and many more ....



Writing a download server. Part V: Throttle download speed


In the age of botnets that you can rent for few hundred bucks and run your very own distributed-denial-of-service attack, having emergency switches that selectively turn off expensive functionality or degrade performance gratefully is a huge win. Your application is still operational while you mitigate the problem. Of course such safety measure are also valuable under peaks or business hours. ...

Read More »

R: Wimbledon – How do the seeds get on?

Continuing on with the Wimbledon data set I’ve been playing with I wanted to do some exploration on how the seeded players have fared over the years. Taking the last 10 years worth of data there have always had 32 seeds and with the following function we can feed in a seeding and get back the round they would be ...

Read More »

Scaling To Infinity with Docker Swarm, Docker Compose and Consul (Part 4/4) – Scaling Individual Services

This series is split into following articles. A Taste of What Is To Come Manually Deploying Services Blue-Green Deployment, Automation and Self-Healing Procedure Scaling Individual Services In the previous article we switched from manual to automatic deployment with Jenkins and Ansible. In the quest for zero-downtime we employed Consul to check health of our services and, if one of them ...

Read More »

Windows Registry Cleanup after JDK 9 Early Release Installation

In my last blog post, I demonstrated resolution of issues surrounding the Oracle Java symbolic links (C:\ProgramData\Oracle\Java\javapath\ directory on Windows-based machines) after I had installed an early release of JDK 9 (build 68) that seemed to prevent automatic installation of earlier (more stable) Java versions from working properly. Even with the symbolic links fixed in the C:\ProgramData\Oracle\Java\javapath\ directory, I still ...

Read More »

Wikipedia’s Definition of a Software Bug Is Wrong

Here is what Wikipedia says at the time of this writing: A software bug is an error, flaw, failure, or fault in a computer program or system that causes it to produce an incorrect or unexpected result or to behave in unintended ways. I think that’s incomplete. The definition entirely excludes “non-behavioral” defects related to, for example, maintainability and reusability. ...

Read More »

JBoss Fuse 6.2 released – guide how to quickly try it

At the Red Hat summit last week, it was announced that JBoss Fuse 6.2 was released. I want to congratulate the fuse team for getting this release out. I know that they have been working very hard all this year to QA and ensure its passes the high barrier of quality expected from an enterprise product. So with my Camel ...

Read More »

How does FlexyPool support the Dropwizard Metrics package renaming


Introduction FlexyPool relies heavily on Dropwizard (previously Codahale) Metrics for monitoring the connection pool usage. Being integrated into Dropwizard, the package name was bound to be renamed. So instead of com.codahale.metrics the 4.0.0 release will use the io.dropwizard.metrics package name. The challenge Apart from the obvious backward incompatibility, the most challenging aspect of this change is that the Maven dependency ...

Read More »

The Effect of Co-ordinated Omission – Measure loopback latency using a simple NIO client/server


In this post I demonstrate a number of ideas and techniques:  How to write a simple non-blocking NIO client/server The effects of co-ordinated omission How to measure latencies in percentiles (as opposed to simple average) How to time latency loopback on your machine I was recently developing a low latency benchmark for client server application.  Initially I was simulating the ...

Read More »

Good Programmers Write Bug-Free Code, Don’t They?

Good programmers create fewer bugs while bad programmers cause more. Sounds logical, doesn’t it? However, there is a lot of criticism of this way of thinking. Take this one, for example: Bugs are inevitable, and instead of expecting fewer bugs from us, let us focus on the right design and let testers find and report bugs; then we’ll fix them. ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns