[hibernate-dev] Does hibernate multi-tenancy lead to reduced heap usage

Steve Ebersole steve at hibernate.org
Fri Oct 2 10:34:42 EDT 2015


That is the idea...


On Sun, Sep 27, 2015 at 12:30 AM amit shah <amits.84 at gmail.com> wrote:

> Including the dev mailing group to get a few suggestions on my question.
>
> Thanks!
>
> On Wed, Sep 23, 2015 at 4:54 PM, amit shah <amits.84 at gmail.com> wrote:
>
> > We are planning to integrate hibernate 4 multi-tenancy feature into our
> > application. With this feature I assume we would have only one session
> > factory instance irrespective of the number of tenants. (right?). If so,
> > would it lead to reduced heap usage or would the single session factory
> > instance occupy the same amount of memory as multiple instances did
> before?
> > Are there any other performance benefits with this integration?
> >
> > I wanted to get an understanding on this before starting with the actual
> > implementation since it involves considerable code changes.
> >
> > Thanks!
> >
> _______________________________________________
> hibernate-dev mailing list
> hibernate-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hibernate-dev
>


More information about the hibernate-dev mailing list