Posts

Showing posts from June, 2019

nice

Image
\

Workflow Context Variables

https://portal.liferay.dev/docs/6-2/tutorials/-/knowledge_base/t/leveraging-template-editors-for-notifications

Liferay Portlet Filter

https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/jsp-overrides-using-portlet-filters

AWS Web App 3-tier Architecture

Image
1. A user will query Route 53 for an alias record. 2. Using the alias record, the user will go straight to Elastic Load Balancer which is in the public subnet as it has to be accessible from the World Wide Web(WWW). 3. Behind the ELB, There is the Auto Scaling Group. In order for the ASG to be highly available, it is split between two Availability Zones. The ASG spins up EC2 instances (4 instances and two in each AZ in the diagram). 4. The ELB spreads out the load onto each instance. Instances can be added as scale-out or removed as scale-in which allows the ASG to be responding to high traffic or low traffic. 5. The instances usually talk directly to RDS (Relational Database Service) database to do some operations. For resilience to failure, RDS master has RDS slave (standby replica) using cross-AZ replication. If the master RDS db fails, the application automatically fall over to RDS slave. 6. ElastiCache cluster (mainly Redis) allow the application to read stuff o

Liferay Fixpack

Image
You can install the new fixpack on the top of the previous vesions. leave it as zip file and run a command. patching-tool info patching-tool setup patching-tool auto-discovery patching-tool install

Liferay CleanUp

osgi/state liferay workspace/work tomcat/temp tomcat/work