Liste des Groupes | Revenir à cl c |
On Wed, 1 May 2024 22:20:47 -0700, Chris M. Thomasson wrote:Why? Believe it or not, there are ways to create _highly_ scalable thread synchronization schemes. Using a global lock is not one of them... :^)
On 5/1/2024 1:34 PM, Lawrence D'Oliveiro wrote:Another reason to avoid threads.
>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.
So long as your async tasks have an awaitasync tasks are using threads... No? Also, what type of synchronization schemes are they using under the covers? I would hope they are using some efficient lock and/or wait free algorithms. I have a lot of experience in this area.
call somewhere in their main loops, that should be sufficient to avoid
most bottlenecks.
Les messages affichés proviennent d'usenet.