22
Leveraging Liferay’s Multitenant Architecture to Achieve Economies of Scale Nitu Saksena Lead Consultant, CIGNEX Datamatics

Leveraging Liferay’s Multitenant Architecture to Achieve Economies of Scale

Embed Size (px)

Citation preview

Leveraging Liferay’s Multitenant

Architecture to Achieve Economies of

Scale Nitu Saksena

Lead Consultant, CIGNEX Datamatics

Agenda

• Understanding Multitenancy

• Multitenancy in Liferay

• Example Case Studies

• About CIGNEX Datamatics

What is Multitenancy?

• Multitenancy is a reference to the mode of operation of software where multiple

independent instances of one or multiple applications operate in a shared environment.

• The instances (tenants) are logically isolated, with single JVM. The degree of logical

isolation must be complete, but the degree of physical integration will vary.

Single vs. Multitenant

Database

Instance1 Instance2 Instance3 Instance4

Single Tenant

Portal (Single Instance)

Multitenant

DB1 DB2 DB3 DB4 DB1 DB2 DB3 DB4

Advantages of Multitenancy

Operational Efficiency

from Shared Code

Low System Requirements –

Shared Servers Easier to Upgrade

Limitations of Multitenancy

Demands attention to

achieve Performance Risk of Hardware Failure

Applications of Multitenancy

SaaS

On Demand Software Thinking Global Acting

Local Country specific

applications

Business Platform as a

Service (BPaaS) G2B, G2C, G2G

Multitenancy in Liferay

Why Liferay for Multitenancy?

• Liferay enables us to have multiple virtual hosts on a

single instance

• Each instance has its own set of Groups, Users

• Each instance has its own set of Communities, Pages

• Each User group has its own set of pages

• Each user has its own pages

• Groups can inherit from one another

• Portal Instance with a unique company-id

• Liferay's database architecture allows every record to be

identified uniquely on the basis of portal instance

Implementations Methods

Organization level

Multitenancy

Community level

Multitenancy Portal Instances

Database

Independent database,

independent instances

(IDII)

Independent tables,

shared database

instances (ITSI) Shared tables, shared

database instances

(STSI)

Tenant 1 ….. Tenant 5 Tenant N ….. Database

Tenant 1 Tenant 5

Tenant N

Source: Microsoft Developer Network:

Multi-tenant Data Architecture

1

2

3

Domain 1

Virtual Hosting

Domain 2

Domain 3

Link Theme Config Link Theme Config Link Theme Config

Multitenancy via Communities and Organizations

Highest Degree Middle Degree Lowest Degree

PaaS IaaS

SaaS

Multitenant Multitenant

Single tenant

PaaS IaaS

Small SaaS

clusters

SaaS

Multitenant

Single tenant

PaaS IaaS

SaaS

Example Case Studies

Increasing Client Satisfaction at Reduced Cost

Amazon S3 PostgreSQL GIT

Shared Environment

Learning Center Portal CSR Website

Future Enhancements Waste Management

Portal

Case 1

Achieving Multitenancy for Various Use Cases

Learning Center Portal Waste Management Portal CSR based Education

Website

Client A Client B Client N

Roles &

Permissions

..

Roles &

Permissions

Roles &

Permissions

Virtual Hosting based Multitenancy

Community based Multitenancy

Case 1

Increasing Client Satisfaction at Reduced Cost

MySQL

Active

Directory

Shared Environment

Product Portal

Future Enhancements

Case 2

Event Site for

Customers

SVN LDAP

Demo

Key Takeaways

• Multitenancy is a fantastic methodology to better utilize your resources and Liferay is an

ideal platform for multitenancy

• The decision for adoption of multitenancy has to be made on the onset of designing your

architecture. And this should include the depth of multitenancy based on your business

case

• The depth of your architecture can also be determined by analyzing the physical

hardware/cloud capacity

8 #1

14

Open Source

Products

Open Source

Consultants

Pure Play Open

Source Services

Company

Open Source

Implementations

Global

Offices

Open Source

Community

Contributions

Open Source

Books Authored

Business Engagement

Platforms 13+ 5+

5000+ 500+ 500+

Portals, Content &

Collaboration Portals

Enterprise Integration

Identity Relationship

Management

Enterprise Content Document & Web Content Management

Learning/Knowledge Management

Imaging and Scanning - OCR/Digitization

Enterprise & NLP Search

BPM/Workflow

E-Commerce B2B

B2C

Big Data Analytics Data Integration

Legacy Modernization

Real Time

Analytics/Modeling

Open Source Consulting

Application Modernization

OpeRA™ - Open Source Readiness Assessment

Managed Application & Platform Services

Business Engagement Platforms

Digital Employee Engagement Platform – DEEP™

Reputation Management Platform – RMP™

Franchise Management Platform – FMP™

Big Data Platform – Panoramyx™

IoT Platform – Vitalstatistyx™

Concept 5k – The PoC Lab

About CIGNEX Datamatics

Internet of Things (IoT) IoT Reference Architecture - Vitalstatistyx™

Thank You