Efficient and scalable aggregation for large-scale data-intensive applications