Affects Version/s: None
Fix Version/s: None
This story aims to delegate the storage and service of Audience Targeting analytics data to a third-party system (LCS). This has several benefits for Audience Targeting users:
- Avoids overloading Liferay DB with analytics data.
- Allows collecting more data for longer periods of time.
- Information is exposed to other services.
Audience Targeting analytics are currently stored in Liferay DB. The first step of this story is to store this data in the third-party system.
The next step in this move towards having a higher independence from Liferay's database is to be able to segment users using data stored on LCS (or other third-party data storage service).
Finally, reports will be generated using data stored on LCS (or other third-party data storage service).
After this story is finished, Audience Targeting Analytics should be fully functional without using Liferay's database, with the benefits it'll bring to the server performance. We need to make sure we do performance tests, as this solution should be faster than current solution.
Steps to test this story:
- Enable remote storage
- Create users, segments and campaigns.
- Generate web traffic.
- Make sure everything works as expected.
- All automatic tests should pass.
It's important to avoid any performance regression in those rules that use analytics data (such as visited content or score points).