3 ms·
We'll discuss Dropwizard in part 3, but the single-jar deployment is not really solved by Dropwizard. To launch the server you still need to configure the JVM a
by pron 13y ago
We'll discuss Dropwizard in part 3, but the single-jar deployment is not really solved by Dropwizard. To launch the server you still need to configure the JVM at the command line.
- pan69 13y agoAn off topic question; Would it be possible to have an RSS feed on your blog? I see you have Twitter but personally I don't really use that.
- pron 13y agohttp://blog.paralleluniverse.co/rss.xml http://blog.paralleluniverse.co/rss.xml
- derengel 13y agois that really a big issue? passing the arguments to java to configure the jvm.
- agibsonccc 13y agoIt can be. Here's a typical example from my day to day: java -cp "lib/*" -Xmx5g -Xms5g -server -XX:+UseTLAB -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:MaxTenuringThreshold=0 -XX:CMSInitiatingOccupancyFraction=60 -XX:+CMSParallelRemarkEnabled -XX:+CMSPermGenSweepingEnabled -XX:+CMSClassUnloadingEnabled That gets cumbersome really quick. Honestly my preferred jvm deployment is supervisord. I'd like a java only solution if one should exist that's good but these newer containers don't work for self made servers that don't run http. Some of the instrumentation could be good, but at the end of the day I'm not sure how much it would help.
- pron 13y agoCapsule works for any JVM application. It doesn't even have to be Java. It can use Java libraries, native libraries, a well-known server, your own server, with http, with a custom Infiniband thingy -- what have you.
- agibsonccc 13y agoI'll look in to it when there's a maven plugin maybe. As of right now my work flow works fine with the assembly plugin. It looks pretty solid though. I'm still not totally sold on gradle as of yet mainly because of the tooling. The native libs thing is a plus though. I'll see where I can work it in. Good work with capsule though.