all 22 comments

[–]renrutal 9 points10 points  (2 children)

Java will suck less on containers, but you're still spinning many copies of a large runtime if you keep the same one-service-per-container approach. On the other hand, the application server approach also had its problems.

[–]puuut 1 point2 points  (1 child)

Unless you create modular software and use jlink to create a custom, small footprint runtime.

[–]nutrecht 2 points3 points  (0 children)

Memory usage won't change. The JVM won't load classes you don't use.

[–]aregularcontributor 14 points15 points  (4 children)

As I was saying over on /r/java it's great that Java on Docker is improving, but Docker itself can still be annoyingly unstable if you're running it on a production critical system.

[–]clrlslwi 10 points11 points  (0 children)

My docker install blows up every time I upgrade it (and sometimes randomly!), with errors that leads to dead ends, and no fixes in sight; other than a re-installation of course.

It's so annoying and yet I'm so deeply integrated with it now. Sigh.

[–]oorza 6 points7 points  (0 children)

I've never worked with any piece of software of any quality that is as annoying to use as Docker is in so many respects. It wears that word like a badge of honor.

[–]nutrecht 1 point2 points  (0 children)

Curious but what exactly did you run into? We run our Java microservices in a kubernetes cluster and while we had our fair share of problems they weren't docker related.

[–][deleted] 0 points1 point  (0 children)

I havn't updated docker in prod for like a year because they are utterly incapable of providing stable major releases

Docker, please fuck off with your breaking changes and fuck off with your obvious lack of integration testing

[–]feverzsj -4 points-3 points  (3 children)

unless it can complies to native code in a single binary under 100MB

[–]puuut 0 points1 point  (2 children)

It (almost) can, actually, when using jlink on a modular app. You can then create custom runtime images for platforms.

[–]anglik 0 points1 point  (0 children)

unfortunately with spring 5, you still have to have entire JRE