O'Reilly logo

IBM WebSphere eXtreme Scale 6 by Anthony Chaves

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Rely on partitions, not the entire grid

Working with a data grid is different than working with a database because our objects are distributed. The centralized nature of data in a database has bred some bad habits that work against us when building scalable software.

When we query a database table, we query a complete set of data. That query runs in the database query engine and returns matching rows. One query runs against one database instance. An IMDG presents many partitions on many boxes.

Our goal in running a distributed system is workload isolation. Based on object key, we know which partition holds a particular object. We get that object directly with an ObjectMap#get(key) or EntityManager#find(class, id) call. This is analogous to querying ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required