Gaining Docker Image Size Efficiencies By Separating Application Layers

Luke Patterson Docker, Java, Problem Solving, Spring Boot, Technology Snapshot Leave a Comment

Problem

I was pushing a new Docker image tag for each application code commit, and the admins of the private registry were getting annoyed at how much space I was using.

Solution Summary

Yes, I know there are strategies to clean up old tags but I first wanted to reduce the impact of the tags I was pushing. With the right layering strategy, I knew I could reduce the net registry size increase of consecutive tag pushes.

I wanted to only push what had actually changed in the application. In addition to reducing the impact on the registry, having smaller tag deltas could possibly speed up rolling deployments since nodes could potentially have less to download.

Getting Started With JHipster, Part 2

Matt McCandless Angular, Java, JavaScript, Microservices, Spring Boot, Technology Snapshot Leave a Comment

In part two of this series, we create a microservice architecture using JHipster’s available options for doing so. There is quite a bit more work to do with this approach as compared with the monolithic approach. But, in the end, it pays off. You will see the benefits and flexibility in decoupling our different layers of our architecture. Each layer will not be dependent upon another to run. Let’s get started…

Getting Started With JHipster, Part 1

Matt McCandless Angular, Java, JavaScript, Spring, Spring Boot, Technology Snapshot Leave a Comment

So, you want to stay on the leading edge of technology, but feel overwhelmed by all the moving parts. You’re in luck! jHipster aims to make setting-up an app fairly painless.

In this jHipster series we are going to take you through, first, creating a monolithic application. Secondly, we will make an app in the microservices style. Last, we’ll give you some tips and tricks for jHipster best practices. Let’s first begin with Part One…

Whirlpool: Microservices Using Netty And Kafka

John Boardman Java, Technology Snapshot, Tutorial 2 Comments

Introduction Update! Whirlpool now uses the “just released” Netty version 4.1.3. The great news about this is the upgrade required zero code changes, just update the pom and rebuild! In my last blog, I introduced Netty being used as a web server. That example worked well… as long as a broadcast server is what was needed. Most of the time …

Caching Strategy Reminder for Maven-Based Docker Builds

Luke Patterson Docker, Java, Problem Solving, Tutorial 14 Comments

My local development feedback loop between code change and runnable container was annoyingly long on a Maven-based project I was recently working on. I wanted to speed things up. CodeProject The scenario was something like this: touch/change some source code docker build maven downloads the world maven compiles my project docker run touch/change some source code docker build maven downloads …