So, yesterday was the first (unofficial) day of Liferay DevCon. It was the day of the Unconference. The Liferay community came together one day before the big event to discuss several topics. Topics, that they proposed to talk about. Our DevOps Freark and Alwyn and
Performance Monitoring/Analysis
This talk was sparked by a user who was experiencing OOM (Out Of Memory) exceptions in various environments. Quite a few people joined who were interested in ways to trace issues like these, as well as performance tips and tricks.
Core tools such as
The –
NewRelic is a very decent tool, but – according to some participants – lack the granularity Dynatrace and AppDynamics provide. Dynatrace also comes with excellent live-monitoring and alerting. With this fine granularity, AppDynamics comes with
In short: NewRelic is great monitoring but lacks true live info and granularity, Dynatrace has all this but costs a buck. JavaMelody is a more simple, free and open source tool to monitor the entire java process: usage, requests, threads, caches, etc.
We moved on from analysis and monitoring to enhancements. DXP startup times can be very very long. Most solutions were relatively simple: disable LPKG validation, – note you cannot do this on acceptance or production – disable all the startup properties and filters you don’t need in portal-ext.properties.
One interesting way to prevent slower startup times after clearing
Another thing mentioned was that there is something in development at Liferay with which you can disable/blacklist the loading of individual
Security
This talk seemed to be a bit low on actual content… The usual was discussed: firewalling, logging, and rights management.
A recurring topic was that the Liferay administrator account should not be used. Instead, specific roles with rights should be created: the administrator should not have access to edit sites. Editors should not have access to most of the control panel.
A funny topic came up that Liferay’s privacy policy still states that they use “industry standard” encryption algorithms such as “MD5, DES and RSA”. Whoops.
Configuration migration management
Geert van der Ploeg from Finalist has been working on a tool with which you can create easily reproducible environments with custom fields, pages, users…
He took inspiration from the way Flyway handles this.
The idea is that you test changes – be it in content, structure, or configuration – in your local development environment, write (code) them down as a migration using a DSL (domain-specific language) for this tool, and then you can test the migration on a fresh test environment.
This way, you can quickly set up copies of environments without worrying about forgetting some specific setting or making typos.
Running production workloads with DXP led by Brett Swaim
Log Analysis: howto and best practices led by Freark van der Bos (Firelay )
Performance issues (+Development best practices + CI + upgrading to DXP) led by “Alex”
Why managed Liferay hosting?
Discover how Firelay boosts your Liferay in our extended features document.