exchange-core / exchange-core

Ultra-fast matching engine written in Java based on LMAX Disruptor, Eclipse Collections, Real Logic Agrona, OpenHFT, LZ4 Java, and Adaptive Radix Trees.
Apache License 2.0
2.08k stars 807 forks source link

Support for UUID instead of int #89

Open martianatwork opened 3 years ago

martianatwork commented 3 years ago

I just started with this project so im not aware about the performance paneities of using string for identifiers in orderbook, trades and currencies but I'd prefer to use UUID.

mzheravin commented 3 years ago

UUID is just 2 longs, so no dramatic perfromance impact is expected.

martianatwork commented 3 years ago

So can we move order ids and user ids to uuid or string?

I can create a PR.