Building Multi-tenant Applications with Actian PSQL

Similar documents
Actian PSQL Licensing For SaaS

Building SaaSApplications on Microsoft Azure. November 2011

How To Create A Replica In A Database On A Microsoft Powerbook (Ahem) On A Linux Server (A.K.A.A)

PAINLESS MULTI-DBMS STRATEGY For Magic Developers

Elasticity in Multitenant Databases Through Virtual Tenants

SaaS Implementation for Technology & Business software companies

How To Make Money From Cloud Computing

Cloud application services (SaaS) Multi-Tenant Data Architecture Shailesh Paliwal Infosys Technologies Limited

Building a SaaS Application. ReddyRaja Annareddy CTO and Founder

Reference Model for Cloud Applications CONSIDERATIONS FOR SW VENDORS BUILDING A SAAS SOLUTION

Third Party Cloud Services Its Adoption in the New Age

IBM Cognos TM1 on Cloud Solution scalability with rapid time to value

Azure Scalability Prescriptive Architecture using the Enzo Multitenant Framework

The IBM Cognos Platform

Enabling Database-as-a-Service (DBaaS) within Enterprises or Cloud Offerings

Multi-Tenancy on Private Cloud. F e b r u a r y

Decoding the Big Data Deluge a Virtual Approach. Dan Luongo, Global Lead, Field Solution Engineering Data Virtualization Business Unit, Cisco

Using Actian PSQL as a Data Store with VMware vfabric SQLFire. Actian PSQL White Paper May 2013

WHITE PAPER. Permabit Albireo Data Optimization Software. Benefits of Albireo for Virtual Servers. January Permabit Technology Corporation

Picasso Recommendation

Comparing Microsoft SQL Server 2005 Replication and DataXtend Remote Edition for Mobile and Distributed Applications

Multi-Tenancy in SharePoint DD105 Spencer Harbar Enterprise Architect harbar.net

An Oracle White Paper September Oracle Database and the Oracle Database Cloud

Microsoft Azure for IT Professionals 55065A; 3 days

Ernesto Ongaro BI Consultant February 19, The 5 Levels of Embedded BI

Making HR Simpler. A Guide to HR Software in the Cloud

Hitachi Cloud Services Delivered by Hitachi Data Systems for Telco Markets

Object Storage: A Growing Opportunity for Service Providers. White Paper. Prepared for: 2012 Neovise, LLC. All Rights Reserved.

Mirjam van Olst. Best Practices & Considerations for Designing Your SharePoint Logical Architecture

BUILDING SAAS APPLICATIONS ON WINDOWS AZURE

Datamation. 3 Ways to Move Application Development to the Cloud. Executive Brief. In This Paper

10231B: Designing a Microsoft SharePoint 2010 Infrastructure

Izenda & SQL Server Reporting Services

Tableau Online Security in the Cloud

All Clouds Are Not Created Equal THE NEED FOR HIGH AVAILABILITY AND UPTIME

SQL 2016 and SQL Azure

Increasing Sales Through Adoption of the Applied Educational Systems Software as a Service (SaaS) Model

SaaS A Product Perspective

SaaS, PaaS & TaaS. By: Raza Usmani

Computer Visions Course Outline

PaaS Cloud Migration Migration Process, Architecture Problems and Solutions. Claus Pahl and Huanhuan Xiong

SQL Databases Course. by Applied Technology Research Center. This course provides training for MySQL, Oracle, SQL Server and PostgreSQL databases.

Eat As Much As You Like : A Service Management Perspective on Software On-Demand

Herve Roggero 3/3/2015

Navigating The World of Cloud Computing

Cloud Courses Description

Windows Server 2003 Migration Guide: Nutanix Webscale Converged Infrastructure Eases Migration

THE QUEST FOR A CLOUD INTEGRATION STRATEGY

ITSM Software: Is SaaS the Model for You?

Changing the Equation on Big Data Spending

Commercial Software Licensing

Cloud Computing. Bringing the Cloud into Focus

How To Compare Cloud Computing To Cloud Platforms And Cloud Computing

Implementing a Data Warehouse with Microsoft SQL Server 2012

Course Outline. Module 1: Introduction to Data Warehousing

Designing a Microsoft SQL Server 2005 Infrastructure

Best Practices for Implementing Autodesk Vault

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

SQL Azure vs. SQL Server

Implementing a Microsoft SQL Server 2005 Database

Nimble Storage Replication

SQL Server Training Course Content

TRANSFORMING DATA PROTECTION

The Hybrid Cloud Approach: CA ARCserve D2D On Demand

Copyright 1

Scalability and Performance Report - Analyzer 2007

Convert your web application to a Multi tenant SaaS solution using "SaaS-Tenant " Framework

Intermedia s Dedicated Exchange

How To Understand The Benefits Of Cloud Computing

Cloud Security. Peter Jopling IBM UK Ltd Software Group Hursley Labs. peterjopling IBM Corporation

5 Reasons CIOs are Adopting Cloud Computing in 2010 Application Development that s 5 Times Faster at 1/2 the Cost

Software-Defined Networks Powered by VellOS

Transporter from Connected Data Date: February 2015 Author: Kerry Dolan, Lab Analyst and Vinny Choinski, Sr. Lab Analyst

Effective End-to-End Cloud Security

EMC DATA DOMAIN OPERATING SYSTEM

Making the Transition. From ISV to SaaS. with Xterity Wholesale Cloud

MS 10978A Introduction to Azure for Developers

<Insert Picture Here> Java EE 7. Linda DeMichiel Java EE Platform Lead

Migration from SharePoint 2007 to SharePoint 2010

Cloud Computing Security Issues And Methods to Overcome

CLOUD BASED SCADA. Removing Implementation and Deployment Barriers. Liam Kearns Open Systems International, Inc.

5 Reasons CIOs are Adopting Cloud Computing in 2009 Application Development that s 5 Times Faster at 1/2 the Cost

Transcription:

Building Multi-tenant Applications with Actian PSQL Actian PSQL White Paper May 2013

This white paper is the first in a series of papers designed to show how easily Actian PSQL can provide all the requirements for Software-as-a-Service. Other papers will explore SaaS subscription license delivery and the use of cache engine and VMware SQLFire to horizontally scale PSQL. The entire series is available on the Actian PSQL website. Multi-tenancy and Actian PSQL: A Perfect Fit The components of cloud computing and its subtype, Software-as-a-Service (SaaS) vary depending on the analyst, but in all cases, multi-tenancy is on the list. Multi-tenancy refers to software architecture in which a single instance of software runs on a server, but multiple tenants are accommodated by that instance. It is similar to a boarding house in which each room houses a different resident, and although all residents share common facilities, each resident has privacy. Because multi-tenancy is a relatively new concept, database software companies are scrambling to establish the best way to share an application between tenants while isolating each tenant s data. PSQL is uniquely constructed to provide multi-tenancy without the re-architecting required by other databases. Moreover, because multi-tenancy has always been part of PSQL s architecture, ensuring data isolation is not the costly undertaking with PSQL that it is with other databases. PSQL can make preparing for SaaS both less expensive and easier than you anticipated. Common Approaches to Multi-tenancy For Software-as-a-Service, approaches to multi-tenancy fall into two general categories: a reliance on dedicated resources within a shared infrastructure and the use of metadata to maneuver within a shared schema. While PSQL supports both of these approaches, it also provides methods that avoid several of their drawbacks. Dedicated Resources The dedicated resource approach is the use of separate databases, physical or virtual, one per tenant. This limits the access of each tenant to only specific resources. While tenants share computing resources and application code, each tenant s data is logically isolated and connected to the tenant through metadata. Limitations include higher hardware costs, because each server can support only a given number of tenants. There are also higher costs for maintenance and backup. Shared Schema The shared schema approach, on the other hand, uses a single database for all tenants. There are several varieties of this method. Each tenant can be assigned a discrete set of tables in the same database schema, or all tenants can share the same tables. In the latter case, the tables require an 2

additional column to identify the owner of each record. The shared schema method, with its reliance on tables, is obviously a product of the relational database model, and for database engines that rely on that model, it can be the most cost-effective approach because it keeps hardware costs low. However, it requires re-architecting the application from single-tenancy to multi-tenancy. It also reduces data isolation and security and introduces maintenance complexities: in the event of a failure, a process to restore only some tables or only some records can be time consuming and complicated. The shared schema method can be deployed in different ways, depending on the number of tenants and the size of each tenant s data. One database can be insufficient to support all tenants, leading to the replication of the schema on additional databases. A logical extension to replication on additional databases is individual configuration of individual databases, moving toward a middle ground between the shared schema method and the dedicated resource method. Methods of Multi-tenancy The PSQL Approach to Multi-tenancy PSQL provides other options because it makes available interfaces not just to a relational database but also to a transactional, NoSQL storage engine, the MicroKernel Database Engine (MKDE). The architecture of the MKDE uniquely equips it for multi-tenancy without sacrificing data isolation or incurring increased hardware costs, even for application developers who prefer to work in a relational database. The MKDE organizes data into files, which are stored in a directory on the server. Accommodating multiple tenants requires multiple directories rather than either multiple tables or multiple tenant identifications in the same tables. The file record layout in the initial directory can be duplicated and placed within a different directory for each additional tenant. Application developers who prefer accessing data through SQL rather than through the Btrieve API can construct individual secure relational databases for each tenant. 3

This approach provides the following advantages: Avoids any cost for re-architecting the application. Each tenant uses the original record layout. Ensures data isolation. Each tenant s data resides in a separate directory rather than a shared schema. Guarantees privacy for each tenant either through the assignment of a unique Btrieve owner name and files stamped with that name or through the establishment of database security on a relational level. Simplifies backup and restoration processes. Each directory can be backed up and restored individually and completely, without any effect on other tenants data or operations. Provides application developers using the Btrieve API with the faster and more direct data manipulation provided by direct access to Btrieve. PSQL Approach to Multi-tenancy: Transactional 4

As the preceding graphic illustrates, the data for tenant 1 resides on the server in the form of a directory of data files. Each data file is stamped with the unique Btrieve name for tenant 1. When tenant 1 accesses and uses the SaaS provider s software application, it manipulates the data in the tenant1 directory. When tenant 2 subscribes to the same application, the provider establishes a separate directory for tenant 2 s data. Tenant 2 is assigned a unique Btrieve name, and the data files in tenant 2 s directory are stamped with tenant 2 s unique Btrieve name. The process continues as succeeding tenants subscribe to the same service. Each tenant is assigned a separate directory and a unique Btrieve name, which is stamped on all files in that tenant s directory. For application developers who prefer accessing data through SQL, the following graphic illustrates that process. PSQL Approach to Multi-tenancy: Relational 5

When tenant 1 accesses and uses the SaaS provider s software application, it manipulates the data in the tenant1 database. A secure login process ensures that the entire database is accessible only by tenant 1. Tenant 2 is provided with a separate database, also locked at the database level. The process continues for each additional tenant. Conclusion For ISVs and OEMs eager to profit from the SaaS movement but hesitant because of either the cost of re-architecting their software or their client need for data isolation, PSQL provides a solution that is both economical and secure. If your application segregates data for different divisions or locations of a company, it probably already provides multi-tenancy making you more ready for SaaS than you thought. Because it offers access to the storage engine level of its architecture, it bypasses the problems of sharing a relational schema. Because of its inherent directory structure, it ensure data isolation without incurring the costs involved with providing and maintaining multiple databases or re-architecting the record layout. 6