-->
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.  [ 3 posts ] 
Author Message
 Post subject: Shards for Multi-Tenant Architecture
PostPosted: Wed Jul 28, 2010 4:58 pm 
Newbie

Joined: Wed Jul 28, 2010 4:47 pm
Posts: 1
Is Shards a good solution to implement a Multi-Tenant architecture?

I'm using Spring3/Hibernate and trying to build a fun little web-based game. A user first logs into the web app and it shows them their saved games or allows them to create a new game. From there it launches them into their game.

I was thinking about having a "master" database that would have all the user accounts and a list of their saved games. Each game would have it's own database since they are very independent, however each game database is the same schema. I thought this might be a good way to separate the data, increase performance, and allow me to backup games individually, etc. These game databases can get very large so I thought separating them would increase performance. A user is only connected to 1 game at a time.

Is this a good design pattern? Is shards the way to implement this? Any help would be appreciated! Thanks!


Top
 Profile  
 
 Post subject: Re: Shards for Multi-Tenant Architecture
PostPosted: Fri Feb 10, 2012 2:27 pm 
Newbie

Joined: Fri Feb 10, 2012 2:25 pm
Posts: 2
Yes, I think that it is.

But it's making me wonder what would be of Shards with the multi-tenancy new feature in Hibernate 4.

https://community.jboss.org/wiki/Multi-tenancyDesign?_sscc=t


Top
 Profile  
 
 Post subject: Re: Shards for Multi-Tenant Architecture
PostPosted: Fri Feb 10, 2012 9:39 pm 
Newbie

Joined: Fri Feb 10, 2012 2:25 pm
Posts: 2
Forget. As a matter of fact, Shards seems to be the exact oposite to the multi-tenancy feature.


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

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.