WebSphere eXtreme Scale Programming Guide > Access data in WebSphere eXtreme Scale
Data Grid API
The DataGrid API provides a simple programming interface to run business logic over all or a subset of the ObjectGrid in parallel with where the data is located.
- DataGrid APIs and partitioning
With the DataGrid APIs, a client can send requests to one partition, a subset of partitions, or all the partitions in a grid. The client can specify a list of keys, and WebSphere eXtreme Scale determines the set of partitions that are hosting the keys. The request is then sent to all the partitions in the set in parallel and the client waits for the results. The client can also send requests without specifying keys, therefore, requests are sent to all partitions.- DataGrid agents and entity-based Maps
A map contains key objects and value objects. The key object is a generated tuple as is the value. An agent is normally provided with the application specified key objects.- DataGrid API example
The DataGrid APIs support two common grid programming patterns: parallel map and parallel reduce.
Parent topic
Access data in WebSphere eXtreme Scale