Welcome to Radio Liferay, a peek into what is going on in Liferay from the people doing it themselves.
Radio Liferay Episode 60: Performance and Permissions with Preston Crary
An episode on the "Per" things: Performance and Permissions. I spoke to Preston Crary, who amazingly was not mad at me for losing an earlier recording.
- We open with the attention to detail that's required for working on performance tuning and some short conversation about this topic.
- Sadly, there's not often a single silver bullet, but many areas of dust.
- Sometimes the fastest code is not the most optimal
- Continuing with Preston's work on Permissions:
- ResourceBlock is deprecated, and there's an easy migration path
- an example upgrade path for bookmarks
- The usecase for Resources, ResourcePermission, and ResourceBlocks (as they're not at all visible on the UI)
- Preston's way through Liferay from Support to working on the topics that he's now working on
- The new API for Permissions - and the documentation is also done already (as of me writing this article, not yet published, but available on github - should be a matter of days or hours)
- Should you implement your own permission system? (and how the answer to this question might change in 7.1)
- Upgrades are being performance tuned. I smell a future episode coming up. Paging the team that is working on this area
- The remarkable memory savings that refactoring the UserBag introduced
- What happend during login
- Passwords are PBKDF2WithHmacSHA1/160/128000 hashed, a deliberately expensive password hashing algorithm.
- LPS-75747 and an update to my hardball question: Document Library's default.xml is still in core, can't be updated through a module, just through an ext.
You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to http://feeds.feedburner.com/RadioLiferay. You can also subscribe on itunes.: Just search for "Radio Liferay" or just "Liferay" in the podcast directory. Make sure to write a review for the podcast directory of your choice - or find everything about Radio Liferay on radioliferay.com.
Or just download the MP3 here:
Radio Liferay Episode 34: Ray Auge, Miguel Pastor on Modularity and OSGi
At Devcon 2013 I met with Miguel Pastor and Ray Auge, both Engineers and Core Developers at Liferay. They both have been involved in the latest modularization efforts, resulting in OSGi being now on the Feature List for Liferay 6.2.
We recorded this session in the break area of the conference, during one of the sessions in order to find some quiet time. Unfortunately, as you'll hear in this recording, we picked the time when Lunch was prepared, so the catering staff is setting up stacks of plates, heaps of cutlery and other noisy stuff. This episode might be the one with the most background noise we ever had on this podcast, but after all, it's in the background and I hope it doesn't distract too much. Be assured, the lunch was really nice.
- Middleware and Appservers that support OSGi
- 6.2 is the first release to officially be supporting OSGi
- Goal is to shrink Liferay's footprint
- The current state of OSGi in Liferay - is there anything left to do? (guess what - the answer is "yes")
- Extending Liferay with plugins without depending on the Appserver. Liferay can be extended through plugins in an Appserver - in future this should be a lot easier just extending with OSGi bundles. The current mechanism is extremely dependent on the Appserver we're running on.
- Deploying an OSGi plugin to Liferay completely decouples Liferay from the mechanisms of the Appserver,
- What will happen to the existing plugin types - namely "ext"?
- OSGi will make a difference for plugins that extend plugins - this works today, but is not straightforward.
- This way of modularization will help lowering the learning curve for developing plugins - making extensions easier to write with the classic Java knowledge background.
- Feature Bleed and Interdependencies between different unrelated parts of Liferay - as they exist today and will hopefully change in future
You'll find this episode - and make sure that you don't miss any of the future episodes - by subscribing to http://feeds.feedburner.com/RadioLiferay. You can also subscribe on itunes.: Just search for "Radio Liferay" or just "Liferay" in the podcast directory.