Therefore, general advice on avoiding premature * micro * optimizations should probably apply here. Think about it first to make sure that you are using the PaaS architecture appropriately, and configure the settings as soon as you have the data. Repeat the more specific question (as Gareth said).
But I have one specific optimization, as you asked: add ramdisk to your Linux machines so that the temporary files do not touch the storage:
echo "none /tmp/ tmpfs defaults 0 0" >>/etc/fstab
and use vmstat -Sm 5to see how much IO is running.
source
share