http://qs1969.pair.com?node_id=11124786


in reply to Re^2: Shared Memory Cache or Database?
in thread Shared Memory Cache or Database?

Yes, if brokers are somewhat dynamic, and you can't use the same set of brokers for all markets (etc.), calculating the index where to store a price becomes quite cumbersome/error-prone.

Reusing the memory allocated to a market could be done on a time slice, but all of that depends on how dynamic the data really is.