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

pros and cons of multi-tenancy through mutliple deployments and separate schemas

I am trying to create a java web application using Spring mvc. The purpose of this application is to serve different groups of users from different business units in the enterprise. So, for instance, if you think of it as a shopping experience kind…
Jay
  • 2,394
  • 11
  • 54
  • 98
1
vote
0 answers

Azure AD Multi-tennat Error: Sorry, but we’re having trouble signing you in. We received a bad request

I created an MVC5 app with Visual Studio 2015 specifying Work/School accounts and multi-tennant. The code is unchanged from what the VS2015 template created. I am able to login as a user of the primary domain/tennant. As a test I created a new AAD…
PilotBob
  • 3,107
  • 7
  • 35
  • 52
1
vote
2 answers

Schema multitenancy in Dropwizard

Is there a way to implement schema multi tenancy in dropwizard? The only solution I've found so far is https://github.com/flipkart-incubator/dropwizard-multitenancy but that is using descriminator multi tenancy.
Torben Pi Jensen
  • 850
  • 9
  • 27
1
vote
1 answer

PostgreSQL using search_path for multi tenancy

I am developing a multi-tenancy web application using PostgreSQL as database, because of its support for schemas in one database instance. But I am stuck on a problem, setting up the search_path for a tenant. I am using JavaEE 7 with Wildfly 8.2.0.…
Georg Leber
  • 3,470
  • 5
  • 40
  • 63
1
vote
1 answer

How do I connect to different databases at run time?

I am making a multi-tenant multi-database app that has one central database and many sub-databases. The app creates an instance of an organisation in the central database, and to each organisation it creates a sub-database with different tables. To…
Hamza Ouaghad
  • 79
  • 1
  • 8
1
vote
1 answer

Mongoose and Node.js multi tenant architecture

I am building an app that uses a multi tenant architecture as follows User architecture tenant_name: Name of the user tenant_id: ObjectID Multi tenant DB mongoose schema widget: Data for widget Area: location for widget Tenant_identifier:…
Uma Maheshwaraa
  • 563
  • 2
  • 9
  • 17
1
vote
1 answer

Multi-tenant using Aspnet Identity

I am trying to create a MVC5 multi-tenant application using Aspnet Identity. I have done some research and found other answers, How to implement Multi-tenant User Login using ASP.NET Identity, that provides a nuget package for implementation. Than…
Jeff
  • 73
  • 6
1
vote
1 answer

How to implement customer subdomain in Spring framework

In many of the SaaS web applications (ex, Atlassian JIRA), a user can have dedicated subdomain. For example, if my user name is helloworld, then after I log in to the web application, I am redirected to helloworld.atlassian.net How to implement this…
1
vote
0 answers

EclipseLink @Multitenant EntityManager/Transaction handling

I create a web application with the requirement of multi tenancy(single-table). The @Multitenant feature looks very interesting, but I don't know how to handle it correctly. I use the following components: WildFly 8.2 Final EclipseLink v2.6 Apache…
Lorenz
  • 11
  • 3
1
vote
1 answer

Seeding data with Apartment gem for new schemas?

How can I seed a new tenant in a multi-tenant app that uses the Apartment gem for scoping? I added the following to seeds.rb but it doesn't seem to work with apartment: tenants = Tenant.create([ { name: 'User1', domain: 'user1' }, { name:…
Jacob
  • 6,317
  • 10
  • 40
  • 58
1
vote
3 answers

How do subdomains work?

I have a set up an ASP.net MVC application in my IIS at port 80. The website resolves for any subdomain. Like dev.localhost,test.localhost etc. No I have not set up any of these sub domain on my machine. I have no host file entries except the…
InsaneKarma
  • 75
  • 1
  • 8
1
vote
1 answer

Multiple certificates - Multitenant apps in IIS 8.5

The context: I currently have a multitenant site (sub1.maindomain.com) and I am working on adding several other sites. Some of the new sites (sub2.maindomain.com, secdomain.com, ...) will probably also be multitenant. I have certificates for each…
Alioza
  • 1,690
  • 12
  • 14
1
vote
2 answers

Opaque tenant identification with SQL Server & NHibernate

We're developing a nowadays-fashionable multi-tenanted SaaS app (shared database, shared schema), and there's one thing I don't like about it: public class Domain : BusinessObject { public virtual long TenantID { get; set; } public…
Anton Gogolev
  • 113,561
  • 39
  • 200
  • 288
1
vote
0 answers

Is there a configuration to Hibernate Multi tenancy update all databases?

I'm using Hibernate with multi tenancy and I find problems when the classes are changed, e.g new attributes, when I start up my Wildfly server only the default database is updated, Is threre a way to configure hibernate to update all databases?…
DAM
  • 25
  • 6
1
vote
1 answer

ASP.NET Membership on .NET 4.0 Multi-Tenant app. Default or Custom?

This is my first attempt, trying to integrate Membership on an existing shop already in production. I'm not quite sure, based on my scenario, if I should use the build-in aspnet-providers or custom implementations of them in order to integrate…
Pantelis
  • 2,060
  • 3
  • 25
  • 40
1 2 3
99
100