PacktLib: IBM WebSphere eXtreme Scale 6

IBM WebSphere eXtreme Scale 6

Credits

About the Author

About the Reviewers

Preface

What is a Data Grid

Data grid basics

Getting IBM WebSphere eXtreme Scale

Setting up your environment

Hello, world!

Summary

The ObjectMap API

Different kinds of maps

Get and put

Updating objects in the grid

Hash map refresher (or crash course)

Optimistic collisions

Deadlocks

Removing objects

FIFO queues

Unsupported methods

Wrapping up

Summary

Entities and Queries

Entities

Entity relationships

The Query API

Summary

Database Integration

You're going where?

Where does an IMDG fit?

JPALoader and JPAEntityLoader

Removal versus eviction

Write-through and write-behind

BackingMap and Loader

Summary

Handling Increased Load

The building blocks

A basic deployment

Connecting to a distributed grid

Adding more containers

Partition placement

Capacity planning

Hitting the wall

Summary

Keeping Data Available

Containers, shards, partitions, and replicas

Shard placement

Physical location

Preferred zones

Summary

The DataGrid API

What does DataGrid do for me?

Borrowing from functional programming

Aggregate results

Summary

Data Grid Patterns

XTP: Extreme Transaction Processing

Reference data and object duplication

Time-to-live keeps us out of trouble

Rely on partitions, not the entire grid

Summary

Spring Integration

Injecting ObjectGrid instances

Spring-managed eXtreme Scale configuration

Transaction management

Summary

Putting It All Together

The bookmarks app

Caching more than ORM

Summary