Synchronise using Queues or Semaphores?

preview_player
Показать описание
Never used Queue's for synchronisation? would you like to know when to use one over a Semaphore?

#csharp #asynchronous #synchronization
Рекомендации по теме
Комментарии
Автор

And... 25+ years later, we're right back around to semaphores.

Wil_Bloodworth
Автор

You nailed the question though! I recently read about the term "Temporal coupling", I think that's a fantastic metaphor that applies here. If you don't use the awaitable message TCS shortcut, you essentially either fire and forget the message from your producer and put the message to the consumer, causing pressure on consumer side, or you suspend the execution flow on producer side and cause producer pressure, piling the processing on that side. Either you get temporal coupling according to the logical control flow, or you omit it.

allinvanguard
Автор

these videos are perfect, wonderful video and content. thanks a lot for sharing your knowledge.

parsalotfy
Автор

I was disappointed that you did not discuss synchronization using distributed queues! It is a topic that I am really looking for to see you discuss. However, all-in-all great and informative video, kudos!

salehdanbous
Автор

yoooh, bro you've got mad knowledge on these topics

johnnm
Автор

What the hell is that example setting haha, I love it!

allinvanguard
Автор

That's some good computer science there

JonWoo
Автор

Very nice demo and explanation! As a patreon subscriber, I couldn't find the source code.

ishtilkind
visit shbcf.ru