Hi Paul, Yes, it is written with a little bit academy language, but it is my experience from moving actually production application. In the past I completely skipped security part, but in internet there are a lot of information about docker images and docker hosts best security practices.
In production we had application which is still actively developed since 2000 by full time couple of developers. It were hosts with 100+ RAM and 30+ CPUs in total. With 10k+ daily users. With normal deployment the biggest problem were monitoring, very manual process of scaling, update and deploy. Very often java instances in our case would not only crash, but also completely freeze with no reboot. Overall maintenance was talking a lot of time and very error prone. First, I made some cleaning up and moved application to Java 11. One of the requirements back then was that we can use only Docker Swarm(in future we moved to Kubernetes), so that is why I use it in the example. So as the result first migration I made is Cloud-native WebObjects deployment on docker swarm. Docker images also have some health-check to not have frozen instances. Monitoring with cadvisor + node-exporter + Prometheus/Grafana gives a lot of insights into system. Based on monitoring data some basic auto-scaling. I would for sure recommend you on start to use Cloud-native WebObjects deployment. We had no problems on our production and immediately average response time decreased 30% due to auto-scaling and no frozen instances (50+ containers). Also I can recommend to use portainer for docker swarm. Moving to jetty was way more difficult with a lot of hacks around, but not critical ones. We enabled some tracers and profilers to get more insights into application. As the result, I have moved not the smallest application to docker (with no apache plugin, womonitor and wotaskd) and my life got way easier, efficient and better performing. Hope it will be useful and don't hesitate to ask more. best, Oleksii On Tue, Aug 16, 2022, 1:17 AM Paul Hoadley <pa...@logicsquad.net> wrote: > Hi Oleksii, > > On 15 Aug 2022, at 06:50, Oleksii Serhiienko via Webobjects-dev < > webobjects-dev@lists.apple.com> wrote: > > In the past, I was working with a WebObjects application which was > migrated to the Cloud. > To share more findings and experience, I have created a demo application > <https://github.com/lexxito/webobjects_docker> > You should be able to run with docker-compose and docker swarm. > I have some more explanations in the post I made > <https://medium.com/@oleksii.serhiienko_58987/deploying-webobjects-applications-in-containerized-environments-e49011d60732> > and > some helpful docker images <https://hub.docker.com/u/lexxito>. > > Hope, my experience will be helpful and feel free to ask some questions. > > > That was a great article, super-interesting. Presumably it wasn't just an > academic exercise—are you using any of these approaches in production? Can > you tell us any more about it? > > > -- > Paul Hoadley > https://logicsquad.net/ > https://www.linkedin.com/company/logic-squad/ > >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (Webobjects-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com