5 Tips for Reducing Your Java Garbage Collection Overhead

What are some of the most useful tips for keeping your GC overhead low? With the upcoming-yet-delayed-once-again release of Java 9, the G1 (“Garbage First”) garbage collector is set to become the default collector of the HotSpot JVM. From the serial garbage collector all the way to the CMS collector, the JVM has seen many GC implementations throughout its lifetime, ...

Read More »

Starting developing in Swift: Using GitLab with XCode

As showed in my previous post I have set up a GitLab account so I can host my Git repositories there. In this post I will show how you can combine XCode (v7.1) with GitFlow and GitLab. In fact I will end up to use both XCode (for programming) and the Terminal (for my GitFlow) but that is the same ...

Read More »

JIT Compiler, Inlining and Escape Analysis

Just-in-time (JIT) Just-in-time (JIT) compiler is the brain of the Java Virtual Machine. Nothing in the JVM affects performance more than the JIT compiler. For a moment let’s step back and see examples of compiled and non compiled languages. Languages like Go, C and C++ are called compiled languages because their programs are distributed as binary (compiled) code, which is ...

Read More »

#GeekListener v.7

Every Wednesday I publish #GeekListener – a digest of developers tweets about Java, Scala, microservices and so on. Today isn’t exception! So be ready to spend 2-3 minutes of your time on fresh tweets and my bad humor. Meet the #GeekListener #7 Ismael Juma opens the digest with an eternal question:       17% said they are still using ...

Read More »

Run 2,000 Docker Containers In A Single Weave Cluster Of 30 Rackspace Cloud Servers With 2GB Of Memory Each

This is the second blog of a 2-blog series about the scalability of the DCHQ platform using Weave as the underlying network layer. The first blog covered the deployment of 10,000 containers on 10 Weave Clusters, each having 3 Cloud Servers on Rackspace with 4GB of Memory and 2 CPUs. In this blog, we will cover the deployment of 2,000 containers — but ...

Read More »

One to many XML mapping in Hibernate

One to many relationship states that a single instance of an entity is associated with multiple instances of the another entity. In other words, each record in one of the tables is associated with multiple records in the other table. Let us check out how we can define such relationship in Hibernate through XML mapping file. 1. Entity Relationship Diagram Assuming ...

Read More »

Using Java 8 Lambdas, Streams, and Aggregates

Overview In this post, we’ll take a look at filtering and manipulating objects in a Collection using Java 8 lambdas, streams, and aggregates. All code in this post is available in BitBucket here. For this example we’ll create a number of objects that represent servers in our IT infrastructure. We’ll add these objects to a List and then we’ll use ...

Read More »

10 Awesome AngularJS Tutorials to Kick-Start your Web Programming Projects

AngularJS (commonly referred to as “Angular” or “Angular.js”) is an open-source web application framework mainly maintained by Google and by a community of individual developers and corporations to address many of the challenges encountered in developing single-page applications. It aims to simplify both the development and the testing of such applications by providing a framework for client-side model–view–controller (MVC) and ...

Read More »