|
|
|
|
|
by lmm
4987 days ago
|
|
For that kind of problem I'd probably be using hadoop, which does object pooling internally with the objects it passes into your mappers/reducers. For a non-hadoop datasource you could do the same thing by hand: stream in the data from the table, turning it into objects from your pool and passing them through to your reducer function in small batches. |
|