Liste des Groupes | Revenir à cl c |
On 5/1/2024 10:39 PM, Lawrence D'Oliveiro wrote:>
On Wed, 1 May 2024 22:20:47 -0700, Chris M. Thomasson wrote:
On 5/1/2024 1:34 PM, Lawrence D'Oliveiro wrote:
>Remember, we’re talking about maximizing I/O throughput here, so CPU>
is not the bottleneck.
It can be if your thread synchronization scheme is sub par.
Another reason to avoid threads.
Why? Believe it or not, there are ways to create _highly_ scalable
thread synchronization schemes.
So long as your async tasks have an await call somewhere in their main
loops, that should be sufficient to avoid most bottlenecks.
async tasks are using threads... No?
Les messages affichés proviennent d'usenet.