सभी किताबें

पेशेवर

ऐप्स परिचय Coach लॉग इन पढ़ना शुरू करें

Quantitative Finance · शब्दावली

Hot path क्या है?

Definition 1.3 Low-Latency Software · अध्याय 1 — Where Latency Comes From

The hot path of a trading system is the sequence of code executed between a triggering market event and the resulting order: the code whose duration is the tick-to-trade latency. Everything else (logging to disk, reporting, risk aggregation, configuration) runs off the hot path, on other threads or at other times.

उदाहरण

Example 1.4 (Light in fibre, bits on the wire)

A standard single-mode fibre has an effective group index of about 1.462 at a wavelength of 1 550 nm (a manufacturer’s specification sheet): light in it covers a metre in 1.462/c=4.88 ns1.462/c = 4.88\,\mathrm{n}\mathrm{s}, so the 30 metres of cable between a server and an exchange’s switch inside one data centre cost about 146 ns146\,\mathrm{n}\mathrm{s} each way. Putting a frame on the wire takes its length in bits divided by the line rate, plus 20 bytes of preamble, start delimiter and inter-frame gap: a minimal 64-byte frame occupies a 10 Gb/s link for 84×8/10=67.2 ns84 \times 8 / 10 = 67.2\,\mathrm{n}\mathrm{s} and a 25 Gb/s link for 26.9 ns26.9\,\mathrm{n}\mathrm{s}. A software path of a few microseconds is therefore dominated by computation and by the operating system, not by physics, until it is very good.

अध्याय में पढ़ें →