Tactics for Building Background Services in .NET - Kevin Griffin - NDC London 2023
Ғылым және технология
Mature applications often find themselves in the predicament of having to do work "behind the scenes." Frequently this could be simple tasks such as sending emails or updating statistics. Or it could be something more complicated, like processing incoming files or building reports. These tasks should not impede the user experience because they can be done in the background.
But in modern .NET applications, what's the best way to implement background services? There isn't necessarily a right or wrong way, but there are ways that are "easy to write" and methods that are "easy to scale."
This talk aims to take you on a journey through several processes that allow you to do work in the background. We'll cover the pros and cons of different approaches and leave you with actionable advice to take back to your projects.
Check out our new channel:
NDC Clips:
@ndcclips
Check out more of our featured speakers and talks at
ndcconferences.com/
ndclondon.com/
Пікірлер: 28
Thanks, NDC, for hosting me! It was a lot of fun to present this topic. I'm happy to answer any questions you all have.
@ebrahimmansur9815
Жыл бұрын
Really enjoyed the talk my friend and real insight on the background workflow.
@ConsultWithGriff
Жыл бұрын
@@ebrahimmansur9815 I appreciate it! Thank you so much.
@jekyv1523
11 ай бұрын
What approach works better with compute/memory intensive jobs which are running for several hours, with ability to scale job servers based on the load and potentially compatible with k8s ?
@PankajNikam
5 ай бұрын
Hey Kevin, I enjoyed the talk. Can you please share a blogpost about how you DDOSed yourself?
Bringing that pumped up dev energy to a sleepy London conference room. That intro kept me thinking “sheesh, rough crowd”
For Azure Functions part: it's worth noting that you can now run Azure Functions in container, so you don't have to be in Azure, especially for background jobs.
Can I start/stop a background service from Blazor Server app? If so, how?
Really liked the topic and the way you've presented it! Many useful approaches put side to side for good comparison
@ConsultWithGriff
Жыл бұрын
Thanks! That was my hope!
Great video! Where can we find the resources? code? Thank you!
One more to the mix - K8 jobs / cronjobs.
@ConsultWithGriff
Жыл бұрын
yeah! good one! I'm allergic to K8s though. 🤧🤧
@_dyats
6 ай бұрын
@@ConsultWithGriff why so?
Hangfire is better than Quartz IMHO
i feel bad for the people who attended this 'comedy' skit. unprofessional and unfunny.
Why does every NDC presenter need to be a comedian/clown? Just present the info and get off the stage.
@alexisfibonacci
Жыл бұрын
Humor is not a bad thing.
@ConsultWithGriff
Жыл бұрын
Guess it's a good thing you can fast-forward?
@ConsultWithGriff
Жыл бұрын
@@alexisfibonacci And I'm hilarious!
@dmakogon
Жыл бұрын
I'm all-in on humor in talks - who wants to sit through a mundane presentation with no personality, no levity, no energy? But you do you: feel free to give a talk yourself, where you just present the info and get off the stage.
@dmakogon
Жыл бұрын
@@mythbuster6126 And what Devs *don't* need is insults and gaslighting about how they should deliver their own content (such as the commenter I was replying to). And to be clear here, since you brought up know-hows and experience: Kevin has a ton of hands-on experience, as well as significant community support/outreach, and this talk has significant learnings from his experience. The comment about being a comedian/clown was completely out-of-line.