E-book details

IBM WebSphere eXtreme Scale 6

IBM WebSphere eXtreme Scale 6

Anthony Chaves

Ebook
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.
  • IBM WebSphere eXtreme Scale 6
    • Table of Contents
    • IBM WebSphere eXtreme Scale 6
    • Credits
    • About the Author
    • About the Reviewers
    • Preface
      • What this book covers
      • What you need for this book
      • Who this book is for
      • Conventions
      • Reader feedback
      • Customer support
        • Errata
        • Piracy
        • Questions
    • 1. What is a Data Grid
      • Data grid basics
      • Getting IBM WebSphere eXtreme Scale
      • Setting up your environment
      • Hello, world!
      • Summary
    • 2. The ObjectMap API
      • Different kinds of maps
      • Get and put
      • Updating objects in the grid
        • Lock strategies
        • Lock types
      • Hash map refresher (or crash course)
      • Optimistic collisions
      • Deadlocks
      • Removing objects
      • FIFO queues
      • Unsupported methods
      • Wrapping up
      • Summary
    • 3. Entities and Queries
      • Entities
        • Defining Entities
        • Persisting Entities
        • Composition versus Inheritance
        • The Find methods
          • Entity life-cycle states
        • Merge, remove, and the detached state
      • Entity relationships
        • @OneToMany, @ManyToOne
        • schemaRoot
      • The Query API
        • Joins and aggregate functions
        • IDs and Indexes
      • Summary
    • 4. Database Integration
      • Youre going where?
      • Where does an IMDG fit?
      • JPALoader and JPAEntityLoader
        • The Loader's job
        • Performance and referential integrity
      • Removal versus eviction
      • Write-through and write-behind
      • BackingMap and Loader
        • Picking battles
        • JPALoader
      • Summary
    • 5. Handling Increased Load
      • The building blocks
        • Shards and partitions
        • Client/Server ObjectGrid
      • A basic deployment
        • Starting a container
      • Connecting to a distributed grid
      • Adding more containers
      • Partition placement
      • Capacity planning
      • Hitting the wall
      • Summary
    • 6. Keeping Data Available
      • Containers, shards, partitions, and replicas
        • The foundation
        • Shards
        • Map sets
        • Partitions
        • Replication
      • Shard placement
        • Shard start-up
        • Lost shards and failover
      • Physical location
        • Controlled data separation
      • Preferred zones
      • Summary
    • 7. The DataGrid API
      • What does DataGrid do for me?
      • Borrowing from functional programming
        • GridAgent and Entity
        • GridAgent with an unknown key set
      • Aggregate results
        • Using ephemeral objects in agents
        • Updates with agents
        • Scheduling agents
      • Summary
    • 8. Data Grid Patterns
      • XTP: Extreme Transaction Processing
        • The data model
        • Schema root
      • Reference data and object duplication
        • How do we duplicate objects?
      • Time-to-live keeps us out of trouble
        • Early eviction
      • Rely on partitions, not the entire grid
        • One transaction, one node
        • Object schema denormalization
      • Summary
    • 9. Spring Integration
      • Injecting ObjectGrid instances
      • Spring-managed eXtreme Scale configuration
      • Transaction management
        • Basic configuration
        • ObjectGrid client configuration
        • Remembering our patterns
      • Summary
    • 10. Putting It All Together
      • The bookmarks app
        • The data model
        • The service layer
        • Storing data how it is used
        • Grid/ORM hybrid
        • Preloading data
        • Improving responsiveness
      • Caching more than ORM
      • Summary
    • Index
  • Title: IBM WebSphere eXtreme Scale 6
  • Author: Anthony Chaves
  • Original title: IBM WebSphere eXtreme Scale 6.
  • ISBN: 9781847197450, 9781847197450
  • Date of issue: 2009-11-05
  • Format: Ebook
  • Item ID: e_3at3
  • Publisher: Packt Publishing