hate to hi-jack this thread, but what sort of performance/services are you running as stock trader?
I am playing with the concept of starting a very tiny datacenter. and while I do not plan on targeting stock traders as a target market, but still curious as to the requirements.
I personally just use a provider and do the work on my computer with nothing fancy(just stop losses and other various trading settings) if my internet goes down(which is rare) or traveling/vacation I just use my phone since it’s all on there too.
Could you give us some more information about the programs that you are running? Are you sure they are CPU limited? It is possible that your performance is held back by storage, or not using hardware acceleration. It is not really possible to help you without some more information. More cores could be better if this is a CPU limited scenario, but you might not get 5x performance.
Let’s start with something very basic. What is your data flow or more precisely what are your inputs and outputs? After that, describe how this data is moved back and forth, as something of the nature you are describing requires networking. After that, we can get into the hardware side of a computer or computers.
Spec a VPS with better storage. What’s the IOPS and peak storage bandwidth on that host? The reply saying NVMe is right in that it would be better than SSD, but it’s rarely clear what’s actually connected to a cloud-hosted server.
You also don’t list the size of your backtesting dataset, or if you’ve profiled the code doing the calculations to find the bottleneck. “Throw more money/hardware at it” is one solution, but more threads/cache/RAM bandwidth (feeding data to the calculation) won’t help if your data is on a slow disk and has to come from disk because it’s too large to fit into RAM. Faster storage won’t help if you’ve got an inefficient implementation of the algorithm used for your backtesting calcs.
Note carefully: performance optimisation needs to consider the system as a whole.