% "Should You Upload or Ship Big Data to the Cloud?", Sachin Date, CACM, July 2016. % missing equation (1) provided by Ryan Hermsmeyer: % TimeTransit_hours = 16; TimeOverhead = 48; SpeedIn_MB = 160; SpeedOut_MB = 160; % VolumeContent_TB = [0:200:1000]'; VolumeContent_TB = [0:0.5:5]'; VolumeContent_MB = VolumeContent_TB * 1024 * 1024; TransferTime_hours = VolumeContent_MB / (3600 * SpeedIn_MB) + ... TimeTransit_hours + VolumeContent_MB / (3600 * SpeedOut_MB) + ... TimeOverhead; % upload @ 100 Mbps % UploadTime_hours = VolumeContent_MB / (3600 * (100/8)); Table = [VolumeContent_TB, UploadTime_hours, TransferTime_hours] plot( VolumeContent_TB, UploadTime_hours, 'b', ... VolumeContent_TB, TransferTime_hours, 'r'); xlabel 'Data Size (Terabytes)' ylabel 'Time (Hours)' legend( 'Upload It', 'Ship It', 'Location', 'NorthWest'); print -dpng ship.png