X-Stream: edge-centric graph processing using streaming partitions