Skip to content

What are the trackers when placing orders #3

Answered by ffhan
ceddybi asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @ceddybi ,

It's not a dumb question - trackers are designed for two purposes: 1) smaller memory footprint and 2) hot path optimization.

  1. orders can hold a lot of data about customers, precise quantities, prices etc. which are heavy to move around when handling huge amounts of traffic - trackers handle only a small subset of relevant information, while still being able to locate the full order (e.g. by ID). In short they are a way of copying, using and allocating less memory when we can get away with it.

  2. your hot path is probably going to be a bottleneck for a lot of things, but you still have to be precise when matching orders. Trackers use data types which are less precise but enab…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ceddybi
Comment options

@ffhan
Comment options

@ceddybi
Comment options

Answer selected by ffhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants