Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant...

23
© 2014 NUS. All rights reserved © 2014 NUS. All rights reserved Service Variability in MultiTenant Engineering: A Systematic Literature Review on the State of Practice, Limitations and Prospects Ouh Eng Lieh Senior Consultant Institute of Systems Science, NUS [email protected]

Transcript of Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant...

Page 1: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved© 2014 NUS. All rights reserved

Service Variability in Multi‐Tenant Engineering: 

A Systematic Literature Review on the State of Practice, Limitations and Prospects 

Ouh Eng LiehSenior Consultant

Institute of Systems Science, [email protected]

Page 2: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Credits• Lee Chuk Munn (ISS Staff)• YungHans Irawan (ISS Staff)• Anshuman Mathur (Postgraduate Student)• Jithesh Prabhakaran (Postgraduate Student)• Samir Kumar (Postgraduate Student)• Sathish JR (Postgraduate Student)• Saurabh Saste (Postgraduate Student)• Venkatesh Dasari (Postgraduate Student)

Page 3: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

The value you can get today

Multi‐Tenancy and Service Variability

Service Architectural Choices and Models

Experience Reports

Page 4: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Page 5: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Stakeholders Concerns

Service Provider

•Market share•Cost and Revenue•Maintainability• Scalability• Share Resources

•Market share•Cost and Revenue•Maintainability• Scalability• Share Resources

Tenant

• Startup cost and time

•Maintenance cost• Isolation Level

• Startup cost and time

•Maintenance cost• Isolation Level

Page 6: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Variability in Multi‐Tenant EngineeringFunctional Quality

• Security • Privacy• Performance• Usability• Maintainability

• Look & Feel• Business Logic• Business

Workflow• Data Persistence

and Storage

Page 7: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service Variability

Sharing Isolation

Service Provider’s Concerns

Tenant’s Concerns

Page 8: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service Architectural Choices

Service Binding

Service Packaging

Service Hosting

Page 9: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service Hosting

Shared Instance

• 1 process instance for many tenants

• 1 process instance for many tenants

Dedicated Instance

• 1 process instance per tenant

• 1 process instance per tenant

Page 10: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service PackagingService Level Packaging

• Components are packaged as services to serve any tenants

• Components are packaged as services to serve any tenants

Tenant Level Packaging

• Components are packaged to serve specific tenants

• Components are packaged to serve specific tenants

Page 11: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service BindingStatic Binding

•During design, pre‐compilation  E.g. UML Design, MDA

•During compilation, linking  and assembly time E.g. #ifdef

• During design, pre‐compilation  E.g. UML Design, MDA

•During compilation, linking  and assembly time E.g. #ifdef

Dynamic Binding

•During deployment E.g. configuration files

• At runtimeE.g. dynamic libraries

• During deployment E.g. configuration files

• At runtimeE.g. dynamic libraries

Page 12: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Abstraction, Configuration & ParameterizationTemplate and ConfigurationAspect Oriented - Variants as aspects and aspect

weaver to weave aspects into the service kernelService Oriented - Formally specify business

process and interaction protocols and integrate tovariants via registry-based

Dynamic Binding

Page 13: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service Architectural Models

Fully‐Shared

• Dedicated Instance

• Tenant Level Packaging

• Static or Dynamic Binding

• Dedicated Instance

• Tenant Level Packaging

• Static or Dynamic Binding

Partially‐Shared

• Shared Instance• Both Service and Tenant Level Packaging

• Static or Dynamic Binding

• Shared Instance• Both Service and Tenant Level Packaging

• Static or Dynamic Binding

No‐Shared

• Shared Instance• Service Level Packaging

• Dynamic Binding

• Shared Instance• Service Level Packaging

• Dynamic Binding

Sharing Isolation

Page 14: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Service Architectural Models

Sharing Isolation

Page 15: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Experience Report (Multi‐Tenant Migration)

• SCRUM • Sprint 0 – Derive the feature model and baseline architecture for multi tenant content portal application

Content Portal

Catalog Management

Order Management

Party Management

Marketing and Analytics

Page 16: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

What happen…• Challenging to determine the scope of whatis configurable/sharable in the initial sprint.

• Started with fully‐shared model, ended withpartially‐shared model.

• Interface and persistence layers should betenant level packaged for better isolation,customization and maintenance.

• Business layer contains the highest sharingof resources.

Page 17: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Experience Report (Multi‐Tenant Migration)

Page 18: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Experience Report (Tenant On‐boarding)

• Key Questions focus on – Architectural model  adopted to support multi‐tenancy

– Key issues in tenant onboarding  and service evolution

Page 19: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Key Summary Points• 73% of the projects start with the fully‐shared modelwith dynamic binding based on the service orientedarchitecture.

• 55% of the projects encountered “unfit” during newtenant on‐board in a fully‐shared model especially fordomains where the requirements of new tenant varieswidely or the requirements of existing tenants arechanging often.

• Adoption of hybrids among these models are also verycommon. The tenant placement algorithm is to beextended to choose the appropriate model within thehybrid during service provisioning .

Page 20: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

One size does not fit all

Key Takeaways

Page 21: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Early provision for hybrids of architectural models

Key Takeaways

Page 22: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved

Summary

Page 23: Service Variability v1 - Carnegie Mellon University€¦ · Service Variability in Multi‐Tenant Engineering: A Systematic Literature Review on the State of Practice, Limitations

© 2014 NUS. All rights reserved