My concept of hot path is simply anything we can expect to be called frequently enough in normal operation that it might show up in a profiler. If it’s a library method then it’s reasonable to assume it should be able to be used in a hot path unless clearly labelled otherwise. In my view this includes things that might normally be masked by caching but under supported workloads may not be - such as query preparation. In fact, I’d say the default assumption should probably be that a method is “in a hot path” unless there’s good argument they aren’t - such as that the operation is likely to be run at some low frequency and the slow part is not part of any loop. Repair setup messages perhaps aren’t a hot path for instance (unless many of them are sent per repair), but validation compaction or merkle tree construction definitely is. I think it’s fine to not have perfect agreement about edge cases, but if anyone in a discussion thinks something is a hot path then it should be treated as one IMO. On 30 May 2024, at 18:39, David Capwell <dcapw...@apple.com> wrote:
|
- [DISCUSS] The way we log Štefan Miklošovič
- Re: [DISCUSS] The way we log David Capwell
- Re: [DISCUSS] The way we log Benedict
- Re: [DISCUSS] The way we log Mick Semb Wever
- Re: [DISCUSS] The way we log Štefan Miklošovič
- [DISCUSS] Stream Pipelines on hot path... Benedict
- Re: [DISCUSS] Stream Pipelines on ... David Capwell
- Re: [DISCUSS] Stream Pipeline... Benedict
- Re: [DISCUSS] Stream Pipe... Berenguer Blasi
- Re: [DISCUSS] Stream ... David Capwell
- Re: [DISCUSS] Stream ... Benjamin Lerer
- Re: [DISCUSS] Stream ... Jacek Lewandowski
- Re: [DISCUSS] Stream ... Benedict Elliott Smith
- Re: [DISCUSS] Stream ... Abe Ratnofsky
- Re: [DISCUSS] Stream ... Brandon Williams
- Re: [DISCUSS] Stream ... David Capwell
- Re: [DISCUSS] Stream ... Jacek Lewandowski
- Re: [DISCUSS] Stream ... shailajakoppu