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.  [ 2 posts ] 
Author Message
 Post subject: Cache arcitecture solution / DB Triggers question
PostPosted: Mon Mar 03, 2008 11:05 am 
Newbie

Joined: Thu Feb 21, 2008 12:30 pm
Posts: 7
Hello ,

Im testing NHibernate for my company and have a little a problem in deciding which architecure we should follow.

We have one database server connected to several application servers.

We want to create a cache mechanizem on the application severs that will reduce the calls to the db server(so far pretty much the same as everyone else).

The problem starts when we found out that the only middleware distributed cache product for NHibernate is NCache .
Because we are dealing with several server farms (about 20 ) we do not want to invest so much money in a cache mechanizem (1500$ for 20 cpu).

So, we were thinking about deploying NHibernate itself on each of the application servers in the server farm and configuring it to work with Microsoft Cache Application Block as a local 2nd level cache.
The problem is , we arent sure what will happen if for e.g 6 NHibernates will work asynchronasly on one DB.

Can NHibernate be updated on an object state and value if it was updated by an outside application ? (In this case another NHibernate application).

Can NHibernate listen to DB triggers and events ?

Can we set an object value NHibernates holds by code (pushing an object to him) without starting a db update reaction ?

Do you know another application besides NCache that offers a distributed cache solution ? (chipper or opensource .NET(!)).

What do you think about our architecture , have better offers or suggestions ?

thank you very much for your time and help .

best regards

ishai


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 03, 2008 4:28 pm 
Regular
Regular

Joined: Wed Jan 25, 2006 1:11 am
Posts: 118
Location: Copenhagen, Denmark
I suppose you could deploy nHibernate with SysCache2 and its SQL-dependencybased cache expiration. But it depends on your requirements.

How long can you live with data being "outdated" on nodes etc.

Without knowing the details perhabs you should consider scaling the database instead to reduce the number of application server nodes, there are many ways to attack these problems but its difficult to give advice on infrastructure without more details about requirements


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.