Scalable near-data processing systems for data-intensive applications