...
Testing shows there was no increase or decrease in performance after batching was implemented.
Advantage: Solution is easy to understand
This code is largely self-documenting, as the 32K limit is clearly seen in the code.
Batching on repository methods versus API methods
This solution could also should work equally well if batching at the public API methods instead of each repository method.
...