IBM WebSphere eXtreme Scale 6

Build scalable, high-performance software with IBM's WebSphere eXtreme Scale 6 data grid with this book and eBook

IBM WebSphere eXtreme Scale 6

Starting
Anthony Chaves

Build scalable, high-performance software with IBM's WebSphere eXtreme Scale 6 data grid with this book and eBook
$35.99
$59.99
RRP $35.99
RRP $59.99
eBook
Print + eBook
$12.99 p/month

Want this title & more? Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.
Code Files
+ Collection
Free Sample

Book Details

ISBN 139781847197443
Paperback292 pages

About This Book

  • Get hands-on experience with eXtreme Scale APIs, and understand the different approaches to using data grids
  • Introduction to new design patterns for both eXtreme Scale and data grids in general
  • Tutorial-style guide through the major data grid features and libraries
  • Start working with a data grid through code samples and clear walkthroughs

Who This Book Is For

This book is aimed at intermediate-level JavaEE Developers who want to build applications that handle larger data sets with massive scalability requirements. No previous experience of WebSphere eXtreme Scale is required.

Table of Contents

Chapter 1: What is a Data Grid
Data grid basics
Getting IBM WebSphere eXtreme Scale
Setting up your environment
Hello, world!
Summary
Chapter 2: 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
Chapter 3: Entities and Queries
Entities
Entity relationships
The Query API
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Keeping Data Available
Containers, shards, partitions, and replicas
Shard placement
Physical location
Preferred zones
Summary
Chapter 7: The DataGrid API
What does DataGrid do for me?
Borrowing from functional programming
Aggregate results
Summary
Chapter 8: 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
Chapter 9: Spring Integration
Injecting ObjectGrid instances
Spring-managed eXtreme Scale configuration
Transaction management
Summary
Chapter 10: Putting It All Together
The bookmarks app
Caching more than ORM
Summary

What You Will Learn

  • Explore different ways of interacting with data in the grid
  • Configure eXtreme Scale instances programmatically and via XML configuration files
  • Achieve extreme performance by using grid agents
  • Explore practical data grid usage patterns
  • Integrate a data grid and a database
  • Configure eXtreme Scale for long-term deployments through educated capacity planning
  • Configure an eXtreme Scale client application using Spring
  • Give your database a shock-absorber by putting a data grid in front of it
  • Support thousands of concurrent clients by adding capacity to the grid and scale out linearly
  • Protect your data by keeping it on multiple server racks and in multiple data centers
  • Explore the features of WebSphere eXtreme Scale by expanding the Entity and Query repertoire

In Detail

A data grid is a means of combining computing resources. Data grids provide a way to distribute object storage and add capacity on demand in the form of CPU, memory, and network resources from additional servers. All three resource types play an important role in how fast data can be processed, and how much data can be processed at once. WebSphere eXtreme Scale provides a solution to scalability issues through caching and grid technology. Working with a data grid requires new approaches to writing highly scalable software; this book covers both the practical eXtreme Scale libraries and design patterns that will help you build scalable software.

Starting with a blank slate, this book assumes you don't have experience with IBM WebSphere eXtreme Scale. It is a tutorial-style guide detailing the installation of WebSphere eXtreme Scale right through to using the developer libraries. It covers installation and configuration, and discusses the reasons why a data grid is a viable middleware layer. It also covers many different ways of interacting with objects in eXtreme Scale. It will also show you how to use eXtreme Scale in new projects, and integrate it with relational databases and existing applications.

This book covers the ObjectMap, Entity, and Query APIs for interacting with objects in the grid. It shows client/server configurations and interactions, as well as the powerful DataGrid API. DataGrid allows us to send code into the grid, which can be run where the data lives. Equally important are the design patterns that go alongside using a data grid. This book covers the major concepts you need to know that prevent your client application from becoming a performance bottleneck. By the end of the book, you'll be able to write software using the eXtreme Scale APIs, and take advantage of a linearly scalable middleware layer.

Authors

Table of Contents

Chapter 1: What is a Data Grid
Data grid basics
Getting IBM WebSphere eXtreme Scale
Setting up your environment
Hello, world!
Summary
Chapter 2: 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
Chapter 3: Entities and Queries
Entities
Entity relationships
The Query API
Summary
Chapter 4: 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
Chapter 5: 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
Chapter 6: Keeping Data Available
Containers, shards, partitions, and replicas
Shard placement
Physical location
Preferred zones
Summary
Chapter 7: The DataGrid API
What does DataGrid do for me?
Borrowing from functional programming
Aggregate results
Summary
Chapter 8: 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
Chapter 9: Spring Integration
Injecting ObjectGrid instances
Spring-managed eXtreme Scale configuration
Transaction management
Summary
Chapter 10: Putting It All Together
The bookmarks app
Caching more than ORM
Summary

Book Details

ISBN 139781847197443
Paperback292 pages
Read More

Recommended for You