It's really straightforward, the memory problem with java 8 is not really an issue for microservices, we just allocate the memory required even when it's suboptimal. The only think I could think on is: use ENV vars (with defaults) for javaopts, as you don't want to rebuild dockers when playing with these.
On Tue, Jan 29, 2019 at 6:58 AM Radomir Djurdjevic <[email protected]> wrote: > Hey @Leonardo Contreras Alfonso, thanks for your feedback! > > Would you mind sharing your take on docker configuration for Dropwizard? > (only the non-sensitive part, of course) > > Anything people should be wary of? E.g I've heard that with Java 8 and > Docker there is an issue with Java not fully utilizing server memory (later > version, I think 9 or 10 were adapted to be compatible with Docker in this > sense). > > Any other takers? :) > > I for one am using Dropwizard in development only (for now). I serve the > uber jar as Linux service (service/systemctl) on Ubuntu. Also investigating > other options :) > > Regards > > On Monday, January 28, 2019 at 7:43:35 PM UTC+1, Leonardo Contreras > Alfonso wrote: >> >> Ive used DW in two companies, both deploy an uber jar inside a docker >> container. >> >> On Sun, Jan 27, 2019 at 1:24 PM Radomir Djurdjevic <[email protected]> >> wrote: >> >>> Hi everyone, >>> >>> I've scoured the docs hoping to find a section in the manual dedicated >>> to deployment, unfortunately I haven't found much. I was wondering if some >>> of you guys would share how do you go about production deployments with >>> Dropwizard. >>> >>> Do you go for native deployments, or you use containers (e.g Docker)? >>> >>> What experiences could you share? >>> >>> Looking forward to hearing your thoughts and experiences, >>> >>> Regards, >>> Rasha >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "dropwizard-user" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> ----------------------------------------------------------- >> Leonardo Contreras Alfonso >> Bogotá D.C. - Colombia >> > -- > You received this message because you are subscribed to the Google Groups > "dropwizard-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- ----------------------------------------------------------- Leonardo Contreras Alfonso Bogotá D.C. - Colombia -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
