Srinath Perera discusses multi-tenancy and why it is crucial for implementing a Platform as a Service (PaaS). He outlines four levels of multi-tenancy maturity and how WSO2's Carbon platform achieves tenant isolation through separate security domains, databases, and execution contexts while maintaining performance and scalability. Implementing multi-tenancy requires balancing tenant isolation with efficient resource sharing and introduces challenges around data security, tenant migration, and scaling to large numbers of tenants.
14. No need for capacity planning, start small and grow as needed.
15. Outsource and enabling specialization. photo by LoopZilla on Flickr, http://www.flickr.com/photos/loopzilla/2328231843/sizes/m/in/photostream/, Licensed under CC
24. Now sharing happens in the application level as oppose to sharing at OS level for multiple processes and sharing at HW level with VMs.
25. That can bring greater savings “There is no delight in owning anything unshared.” Seneca (Roman philosopher, mid-1st century AD) photo by Ben Gray on Flickr, http://www.flickr.com/photos/ben_grey/4582294721/, Licensed under CC
26.
27. We cannot allocate runtime resource per account (disk may be ok, as it is cheap). For example, we cannot run a VM per account.
28. By sharing the same server with many users, Multi-tenancy provides much reduced runtime cost per server. Flexibility
29.
30. Say there are 100k accounts, but 10k active users at a time. VM based model needs 100k VMs, which means there is a cost incurred per account.
31. With Multi-tenancy one server can handle many accounts, and by mixing and matching heavy and light users, Multi-tenancy can operate with much less number of servers. photo by hans s on Flickr, http://www.flickr.com/photos/archeon/2359334908/
36. Idea is to let scientists visually compose workflows and run them.
37. There are many gateways that do this. Enable multiple science gateways to share the same infrastructure thus reducing the maintenance cost and resource sharing . Same would work for most e-Gov stuff and for most organizations. photo by Image Editor on Flickr, http://www.flickr.com/photos/11304375@N07/2769519295/, Licensed under CC
38. How Good is this Multi-Tenancy implementation?
39.
40. (F. Chong and G. Carraro, “Architecture strategies for catching the long tail,” MSDN Library, Microsoft Corporation, 2006.)
41. Provide a way to understand Multi-tenant implementations.
47. It is about trading off Isolation vs. Sharing As often the case in research, implementing Multi-tenancy is a tradeoff photo by Todd Anderson on Flickr, http://www.flickr.com/photos/toddography/12034661/, Licensed under CC
74. We currently relay on monitoring and auditing where we can kill CPU hogging processes
75. We are exploring the possibility of changing the priority of CPU hogging processes in the work queues (e.g. workflow engine, ESB etc.). photo Fortes by on Flickr, http://www.fotopedia.com/items/flickr-3193056200
86. Workflow Performance Setup Multi-tenant and non-multi-tenant versions Run 200 workflows from each client Overhead is minimal MT supports only add few additional lookups and checks Java Security does not come in to play as we do not run user provided code.
87.
88. AfkhamAzeez, Srinath Perera, DimuthuGamage, Ruwan Linton, PrabathSiriwardana, DimuthuLeelaratne, SanjivaWeerawarana, Paul Fremantle, "Multi-Tenant SOA Middleware for Cloud Computing" 3rd International Conference on Cloud Computing, Florida, 2010