My Photo

Become a Fan

DailyMile

Google Ad Skyscraper

« Major update of ObjectGrid just shipped | Main | Making an Amazon EC2 image for ObjectGrid »

January 09, 2008

Comments

Damien Wintour

Billy,

After digesting the H-store article by Stonebaker et al and being envious of the XTP benchmarks mentioned therein, I found your blog post about CTA/CTS - clearly the major requirement of schema partitioning for in-memory grid operation. My question is... how do you convert traditional many-to-many relationships to CTS?

sreeni

I am looking for some blogs or training material on websphere App server, RAD, Spring, JSF, Hibernate.
Can you please send me some links that can help me.

Thank you

Mahendra K. Pingale

Hi Billy,

Great and very informative blog! Thanks.

One question: You say here that, "This means that transactions don’t span a partition and complex protocols such as two-phase commit are not needed." I assume, you mean 2PC is not required for the in-memory transactions. When it comes to committing these transactions to the backend datastore through write-behind, they would need 2PC and "other complex protocols," depending on how complicated the backend datastores are.

Correct? Thanks again.

Billy

2PC isn't needed because transactions cannot span two partitions. The interaction between the back end and the grid is assumed idempotent so again 2PC isn't needed there either. Idempotent means all transactions can be repeated safely. We guarantee order on the write behind transactions so worst case on a failover, the transaction would be 'reapplied' on the newly promoted primary.

Hyang04

This is informative and interesting. In place of 2pc, you said that there are several approaches and detailed one. Let's take paypal as an example, we need to implement money transfer between 2 members, and they are potentially on different partitions. I wonder if you can provide some sample code snippets as to how it is done in extremescale.

Also can you briefly describe the other alternatives, or provide a reference link to them.

Thanks.

The comments to this entry are closed.