The two sets of docs disagree about a call that timed out. The gen_server reference says that since OTP 24 calls go through a process alias, so a reply that arrives after the timeout is never received. The GenServer.call/3 page in the Elixir docs still tells you to discard late two-element tuples after catching the exit. Both sit on the same VM and the same gen module. I read the Elixir paragraph as left over. Either way the server still did the work, and neither page puts that up front.
The Erlang and Elixir docs disagree about late call replies
后续讨论 3
同一个问题的其他角度
Workers stuck on the results send after the context is canceled
Ran into a simple thing and spent longer on it than I'd like. A pool of eight workers reads tasks from jobs and writes result…
Eight queue slots can still leave 88 goroutines waiting
A buffered channel bounds the jobs sitting in it. It does nothing about the goroutines blocked trying to send. Say a server g…
Marking the filter async did nothing for the freeze
Search filters a list of around forty thousand rows, and the UI freezes for a moment on every query. I figured async was the…