售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
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
You're 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
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜