Questions tagged [multi-tenant]

A principle in software architecture where a single instance of the software runs on a server, serving multiple client organizations (tenants).

Multi-tenancy allows multiple users (tenants) to use an application which runs on the same computer. This can be done in two ways:

  • Multiple instances
  • Share instance

The multiple instances pattern runs an application instance for each user, for example by using virtual machines. The obvious downside of this is the resource requirement, as each instance requires allocated memory.

Multi-tenancy is also regarded as one of the essential attributes of Cloud Computing and Software as a Service (SaaS)

3009 questions
1
vote
2 answers

Spring Security and Multitenancy / REST -> How? Best practice? Reference app?

I have been looking for a way to secure URLs like @RequestMapping("/owners/{ownerId}/pets/new") on user (not role) level, i.e. only owner with ID {ownerId} has access. Moreover, I want to secure RESTful design incl. async access to JSON services on…
Ta Sas
  • 9,573
  • 15
  • 51
  • 73
1
vote
1 answer

orchestral/tenanti Driver not supported error?

I am trying to use the orchestral/tenanti package in my laravel 5 installation to get a multi database multi tenant architecture up and running but I am not sure how to proceed after the installation. I have followed the installation instructions…
Rohan
  • 13,308
  • 21
  • 81
  • 154
1
vote
0 answers

How to dynamically change the DB connection in Laravel?

I am working on a multi tenant multi DB application and I am working on registering tenants right now. So I am trying to register tenants right now. In the process of registering a tenant, a new record is being created in the main DB, a new DB is…
Rohan
  • 13,308
  • 21
  • 81
  • 154
1
vote
0 answers

Can Spring Security ACL support Multi-Tenant?

can I know is Spring Security ACL support Multi-Tenant? I am planning to implement web application with multi-tenant architecture (1 tenant 1 DB). If I would like to use Spring Security ACL with multi-tenant architecture, how spring security ACL…
stanicmail
  • 743
  • 7
  • 19
1
vote
1 answer

Mutli tenancy application in laravel 5?

I am trying to hack up a multi tenancy multi database application using laravel. After going through a lot of articles on the web, I now understand that there are different approaches to the database architecture. To have a single database and have…
Rohan
  • 13,308
  • 21
  • 81
  • 154
1
vote
1 answer

How to have a multi tenant database in laravel where every tenant has multiple users?

So I am trying to understand how a multi tenant database approach works but I am confused in some places. I am trying to use it in Laravel and MySQL I understand that I can have a databases for each tenant in my application so when a user logs in, I…
Rohan
  • 13,308
  • 21
  • 81
  • 154
1
vote
2 answers

Dynamic Datasources with JPA 2.1 and JTA on JBoss WildFly

I m getting mad with Jboss WildFly9 with JPA and JTA. In my project requirements i have to implement multitenancy so i have to change dynamically datasource inside my persistence.xml. Using jee approach this is not possibile so someone suggest me…
Alex
  • 1,515
  • 2
  • 22
  • 44
1
vote
1 answer

SQL Azure: How to execute a common DDL script across all schemas?

Is there a built-in way to execute a common DDL script across all schemas? I'm working on a multi-tenant application which creates a database schema for each tenant. Each schema contains the same table definitions for each tenant. For…
Trevor
  • 69
  • 1
  • 8
1
vote
1 answer

Connecting to database for Multi-Tenant application?

I am in the process of creating a Multi-Tenant asp.net application. I am deciding between separate MSSQL databases or schemas. However, I cannot find any information on how I can change the database (ideally) or user account dynamically, depending…
realtek
  • 831
  • 4
  • 16
  • 36
1
vote
1 answer

ASP.NET MVC Multi Tenant application with multiple databases

Introduction I am working on a Multi Tenant application that I am programming in ASP.NET MVC with EF6 and Sql Server. My database structure: 1 base database that holds the tenant properties ( eg Name / Subdomain / Catalogue ). (Catalogue is the…
Mivaweb
  • 5,580
  • 3
  • 27
  • 53
1
vote
0 answers

Hibernate's multi tenancy using separate schema

The problem I have an application build on Spring 4, Hibernate 5 and Spring Data JPA 1.7. I use PostgresSQL as database. I'd like to use Hibernate's support for multi tenancy, but have problem with correctly implementing…
Kejml
  • 2,114
  • 1
  • 21
  • 31
1
vote
1 answer

Can ASP Identity handle multitenancy, I have collisions in role names in ASP Identity web app

In a public facing web app multi tenant app, I'm using ASP Identity 2.x. I let 3rd party's e.g. non-profits/comps self-register, create and populate their own roles and users. The code below is fine, if its an intranet scenarios where everyone…
aggie
  • 798
  • 2
  • 8
  • 23
1
vote
0 answers

Node.js express multitenant app

We are planning a multi tenant app in node.js and express with mongodb. We would have some core functionality exposed via REST APIs. We would have customized functionality for each customer which would process some data and in turn call the REST…
Sunil
  • 919
  • 15
  • 25
1
vote
1 answer

What is the best implementation for changing the database schema at runtime using Entity Framework 4?

We are building an ASP.Net MVC 2 multi-tenant application on SQL Server using the "single database, separate schema" model discussed, among other places, here and here, where each tenant has one or more users and is split out with its own, tenant…
erg39
  • 817
  • 1
  • 6
  • 13
1
vote
3 answers

Sails.js - Postgresql Adapter multiple schemas

I've been searching a lot about Sails.js multi tenancy capabilities and I know that such a feature is not yet implemented. My initial idea was to build multi tenant app by creating one database per tenant. Since I realized that I can't do such a…
Pavarine
  • 637
  • 3
  • 15
  • 30