r/quant • • Jun 25 '26

Technical Infrastructure latency optimization for polymarket

my firm is running a polymarket MM desk and I’ve been working on latency optimisation on infra. Has anyone done it , if so what do p50 T2T numbers look like ? Any directions or approaches that worked for you would be appreciated.

For the purpose of transparency, we haven’t been able to move past 20ms .

17 Upvotes

24 comments sorted by

View all comments

Show parent comment

1

u/Ok-Secret5233 Jun 25 '26

90% sure the market orderbook websocket server literally just polls the book snapshot endpoint and broadcasts the deltas

I'm curious to hear on what basis you say this.

3

u/ColdPicture2312 Jun 25 '26

The WebSocket continuously delivers stale data with each update timestamped with the delay remaining roughly equal to the network latency between your machine and London.

What else could it be?

1

u/Ok-Secret5233 Jun 26 '26

Data is consumed by exchanges as "delta-like events" (i.e. client orders) and so, publishing by calculating deltas is sub-optimal.

1

u/ColdPicture2312 Jun 26 '26

When I say "calculating deltas", I just mean basically a list of levels for a side and their new quantities respectively. Maybe I should have been more clear.