News for hackers. Stuff that matters.
Re:An Opinionated Guide to Modern Java, Part 2 by pron on Friday May 09, 2014 @04:47AM (#7719968)
The next release will include the option to resolve (potentially download) all dependencies without launching the app, if someone finds that useful. If dependencies are resolved, or are embedded, startup time is increased by 100ms or so.
Re:An Opinionated Guide to Modern Java, Part 2 by curun1r on Friday May 09, 2014 @02:40PM (#7722578)
It still feels like a pre-automation mindset...this is a step that should happen during CI, not application startup or even deployment.

The delay is going to be a lot more than 100ms if you use something like this when scaling elastically. In that situation, you need to go from automatically provisioned to running and accepting load in as short a timeframe as possible. Fully-baked machine images or Docker containers work for this use case, your solution doesn't.

Also, making your Maven repository a dependency of your production environment just seems like a bad idea. It creates an additional attack vector from a security standpoint and an additional component that can fail from a reliability standpoint.

Re:An Opinionated Guide to Modern Java, Part 2 by diroussel on Monday May 12, 2014 @07:47AM (#7732152)
Copying a file takes the same time, regardless of it's capsule of chef that is copying the file. Once capsule has cached the file, you can cut a VM image, and no copying will occur later.

> making your Maven repository a dependency of your production environment It becomes a dependency of your deployment process, which probably already depends on a maven repo. And a maven repo can be just a NAS drive, which is often reliable enough for use in production.