multi-tenant

Multi-Tenant Rails 3 App on Heroku using PostgreSQL

痴心易碎 提交于 2019-12-20 14:39:55
问题 I have a multi-tenant app on Heroku (multiple Accounts that know nothing about each other), and I'm unsure as how to best architect my database. Postgres's schemas look awesome, but heroku doesn't handle large numbers of them well. Now, my Rails app is mainly serving JSON, as most of the templates are rendering client-side (using Backbone.js). So I'm considering moving to MongoDB because 1) each tenant could get one top level 'account' document, and everything could be nested below and 2) its

Building a multi-tenant app for SharePoint Online O365

自古美人都是妖i 提交于 2019-12-20 11:12:28
问题 I am attempting to build a multi-tenant application for Office 365 which focuses on SharePoint Online and authenticates through Azure using OAuth2. The problem is specific to SharePoint access via the Azure login, but is only found when using this API to authenticate using OAuth2. Many of the mechanics of registering the application properly and setting up users in Azure and Office, while somewhat complex, are conquerable with the right about of time investment. Even the basic OAuth2 protocol

Building a multi-tenant app for SharePoint Online O365

限于喜欢 提交于 2019-12-20 11:12:06
问题 I am attempting to build a multi-tenant application for Office 365 which focuses on SharePoint Online and authenticates through Azure using OAuth2. The problem is specific to SharePoint access via the Azure login, but is only found when using this API to authenticate using OAuth2. Many of the mechanics of registering the application properly and setting up users in Azure and Office, while somewhat complex, are conquerable with the right about of time investment. Even the basic OAuth2 protocol

Multitenant Architecture in Ruby on Rails [closed]

爷,独闯天下 提交于 2019-12-20 11:09:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Please let me know the best books available for Implementing Multitenant Architecture in Ruby on Rails. Is there any gem or framework available for same? 回答1: There are no books just yet, but there's an interesting talk on the subject http://aac2009.confreaks.com/06-feb-2009-14-30-writing-multi-tenant

Solutions for a simple multi tenant web application with entity framework

戏子无情 提交于 2019-12-20 10:54:18
问题 I'm developing a multi-tenant web app (stack: MVC 4 + Entity framework 4.3). My requirements are pretty simple: each tenant has the same UI and CodeBase. In my database I have some tables with a TenantId field (and other tables without). I have set up a very simple generic repository: public class GenericRepository<TEntity> where TEntity : class { internal Database.CRMEntities context; internal DbSet<TEntity> dbSet; internal int tenantId; public GenericRepository(Database.CRMEntities context)

spring add datasource at runtime

怎甘沉沦 提交于 2019-12-20 10:46:12
问题 I am working on a spring boot multi-tenant application with database per tenant strategy. Requirement is that to add new databases at runtime which means I have to create new datasource objects dynamically. I also looked upon Spring's AbstractRoutingDataSource but in needs pre-defined datasources. So I just want to know how to add/remove datasource without restarting application server. Thanks in advance. 回答1: I finally managed to get things working straight. For someone having same issue,

Multi tenancy or multi instance? [closed]

守給你的承諾、 提交于 2019-12-20 10:43:17
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 years ago . I'm trying to build a web-based SaaS solution, and I hit a road where I'm not sure to use multi tenancy or multi instance. I will try to describe what I'm trying to achieve, and each approach advantages and disadvantages (my opinion, according to what I read). Please include

To Multi-Tenant, or Not To Multi-tenant

廉价感情. 提交于 2019-12-20 09:55:39
问题 I have a difficult database design decision to make regarding multi-tenancy for the growing number of branches of my client's web-based CRM, which I actively maintain. I made the decision early on to use separate applications with separate databases for each branch, because it was the simplest way to cater for three different branches with disparate data and code requirements. I also wanted to avoid managing Tenant IDs in every query, like I had to with the legacy Classic ASP ( cringe )

Laravel 5 Multi-Tenancy App with separate databases - users have access to multiple installations

£可爱£侵袭症+ 提交于 2019-12-20 09:48:40
问题 Over the past couple of years I have developed a very customised PHP/MySQL application that is used for a number of clients. I have been creating a new database and new installation for each client up to this point. The first obvious problem here is keeping multiple installations up to date with any code changes; a second problem is that each installation has a large amount of users; and for most clients; some of these users are the same - and they have to have a number of seperate user

Rails migrations for postgreSQL schemas

倖福魔咒の 提交于 2019-12-20 09:19:27
问题 I'm working on a multi-tenant rails application using PostgreSQL schemas for different clients. Rails migrations don't work with multiple schemas out of the box, so I made the following rake task to migrate all schemas and it seems to work. My question is if others have implemented better and more elegant solutions. I would also be really happy with a good tutorial including rails code examples for PostgreSQL using multiple schemas. So far I have only found a good presentation on the subject