But then if you had 10G you wouldn't be running full rate of the line so you'd need to switch to an array of SSDs but then you wouldn't be running full rate of the line so you'd need to switch to 100G ethernet but then you would be limited by CPU/RAM performance so you'd need to buy a xeon/epyc but then...
Or just buy a modern NAS, which will already have multiple NVMe drives, arrays of SSDs, and a decent number of spinny drives. outside of low end consumer kit, saturating 10G is easy with any modern equipment. Even 5G is easy with my 8 year old NAS.