4 ms·
>Could the entire stock market fit in a single hashmap in memory? I don't see why not. You also don't have to put the entire market onto one machine - you can
by gruez 11y ago
>Could the entire stock market fit in a single hashmap in memory?
I don't see why not. You also don't have to put the entire market onto one machine - you can shard the market across multiple servers, with one server handling each symbol.
- bluejekyll 11y ago> shard the market across multiple servers Sure, but now you've added a router, consistent hash or the like, to the picture, which is either another hop or a custom physical rack instead of a traditional ToR. It's not impossible at all, it's just impressive that they do all of this in 1ms!
- deleted 11y ago[deleted]
- deleted 11y ago[deleted]
- gruez 11y ago>Sure, but now you've added a router, consistent hash or the like, to the picture not necessarily. If the HFT companies are using some sort of secret internal API (very possible as they like to shave milliseconds off their execution time), it's possible that they are talking directly to relevant server, bypassing any loadbalancers or routers.
- omgtehlion 11y agoOn a regulated exchages you cannot bypass official gateway. Though you do not need to. The only thing you want is to be faster than other traders.
- JumpCrisscross 11y agoWe'd burn logic to chips once a week. That was back in 2011, however.
- sabarn01 11y agoIt wouldn't surprise me we were using fpgas to do fix decoding and we were relatively naive.