RFC: Multi-Tenant Support

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

RFC: Multi-Tenant Support

David E. Jones-2

I've finished an initial implementation of the support for multiple tenants in a single instance of OFBiz (with separate databases for each tenant).

For an overview and the patch itself please see:

https://issues.apache.org/jira/browse/OFBIZ-3540

While I did a fair amount of manual testing and this seems pretty complete now, while doing this I found lots of spots that keep delegator references or that get the delegator in inconsistent ways, and chances are there are more of them somewhere so there may still be issues with this patch.

I'd appreciate feedback from those who have asked about multi-tenant support, and those who have implemented it too (successfully or not). This may go into the trunk and if it does then it would be good to support a variety of needs from the start to avoid having to do too many changes to this stuff later on (there are lots of touch points to deal with).

-David


Reply | Threaded
Open this post in threaded view
|

Re: RFC: Multi-Tenant Support

Adam Heath-2
David E Jones wrote:
> I've finished an initial implementation of the support for multiple tenants in a single instance of OFBiz (with separate databases for each tenant).
>
> For an overview and the patch itself please see:
>
> https://issues.apache.org/jira/browse/OFBIZ-3540
>
> While I did a fair amount of manual testing and this seems pretty complete now, while doing this I found lots of spots that keep delegator references or that get the delegator in inconsistent ways, and chances are there are more of them somewhere so there may still be issues with this patch.
>
> I'd appreciate feedback from those who have asked about multi-tenant support, and those who have implemented it too (successfully or not). This may go into the trunk and if it does then it would be good to support a variety of needs from the start to avoid having to do too many changes to this stuff later on (there are lots of touch points to deal with).

Haven't looked at it yet, I like the idea, now you've given me a
weekend project.

Reply | Threaded
Open this post in threaded view
|

Re: RFC: Multi-Tenant Support

Adrian Crum-2
In reply to this post by David E. Jones-2
--- On Fri, 3/5/10, David E Jones <[hidden email]> wrote:
> While I did a fair amount of manual testing and this seems
> pretty complete now, while doing this I found lots of spots
> that keep delegator references or that get the delegator in
> inconsistent ways, and chances are there are more of them
> somewhere so there may still be issues with this patch.

I had the same problem in the ExecutionContext branch - too many classes hold a reference to the delegator.



     
Reply | Threaded
Open this post in threaded view
|

Re: RFC: Multi-Tenant Support

hans_bakker
In reply to this post by David E. Jones-2
This is a pretty exiting addition looking forward to use it.

On Fri, 2010-03-05 at 13:33 -0700, David E Jones wrote:

> I've finished an initial implementation of the support for multiple tenants in a single instance of OFBiz (with separate databases for each tenant).
>
> For an overview and the patch itself please see:
>
> https://issues.apache.org/jira/browse/OFBIZ-3540
>
> While I did a fair amount of manual testing and this seems pretty complete now, while doing this I found lots of spots that keep delegator references or that get the delegator in inconsistent ways, and chances are there are more of them somewhere so there may still be issues with this patch.
>
> I'd appreciate feedback from those who have asked about multi-tenant support, and those who have implemented it too (successfully or not). This may go into the trunk and if it does then it would be good to support a variety of needs from the start to avoid having to do too many changes to this stuff later on (there are lots of touch points to deal with).
>
> -David
>
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates