Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Will SSD drive make maven builds faster?

Good post here says speed better with SSD drive for Eclipse work.

But my slow part is mostly for maven builds. I have project with 1600+ classes. It take 2-3 min for a clean build with maven. I wonder if SSD drive will make it faster? Because SSD drive is big improvement on reads, but smaller improvement on writes as I understand.

I wonder if anyone has experimented with this?

like image 700
Blazej Kowalski Avatar asked Oct 21 '22 07:10

Blazej Kowalski


1 Answers

SSD write speed is slower than read speed but you don't have dsk access latency to pay, so will nearly always be faster than HDD, especially for Maven builds which spit out lots of small files (ie very random access)

Read this reasonable summary of the SSD vs HDD performance differences but I am confident that for every Maven build you will find it is access latency and not write throughput that affects your build speed.

TL;DR go for the SSD

like image 199
Stephen Connolly Avatar answered Nov 15 '22 06:11

Stephen Connolly