-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Horizontal scaling with database multi-tenancy
PostPosted: Thu Mar 14, 2013 5:07 pm 
Newbie

Joined: Sun Apr 25, 2010 10:23 am
Posts: 6
Hi,

What would be a current recommended Hibernate strategy database horizontal scaling (tens of terabytes of data)? My research led me to the Hibernate shards project but it seems to have stalled and no one else picked up after Google guys abandoned the project. I also read about multi-tenancy and how it is well suited for P/SaaS environments. Although I understand the original use case for multi-tenancy I wanted to ask you if it makes sense to use multi-tenancy to implement horizontal scaling instead of using shards? If database is relatively simple, denormalized, all data is centered around one main entity abstraction (say customer) and you never need cross tenant union queries then multi-tenant database approach can be used to scale out horizontally, right?

I dug a bit more and I noticed that although database multi-tenancy works with native Hibernate, it does not work well with JPA (see https://hibernate.onjira.com/browse/HHH-7312). Any updates on this?

Are there any plans to implement data partitioning on top of JPA similar to http://wiki.eclipse.org/EclipseLink/UserGuide/JPA/Advanced_JPA_Development/Data_Partitioning


All the best


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.