Some old proof of concept: batching queue based on terracotta (http://terracotta.org/)