Tactics for Building Background Services in .NET - Kevin Griffin - NDC London 2023
ฝัง
- เผยแพร่เมื่อ 20 ส.ค. 2024
- 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...
ndclondon.com/
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.
Really enjoyed the talk my friend and real insight on the background workflow.
@@ebrahimmansur9815 I appreciate it! Thank you so much.
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 ?
Hey Kevin, I enjoyed the talk. Can you please share a blogpost about how you DDOSed yourself?
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.
Bringing that pumped up dev energy to a sleepy London conference room. That intro kept me thinking “sheesh, rough crowd”
Really liked the topic and the way you've presented it! Many useful approaches put side to side for good comparison
Thanks! That was my hope!
Can I start/stop a background service from Blazor Server app? If so, how?
One more to the mix - K8 jobs / cronjobs.
yeah! good one! I'm allergic to K8s though. 🤧🤧
@@ConsultWithGriff why so?
Hangfire is better than Quartz IMHO
Great video!
Where can we find the resources? code?
Thank you!
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.
Humor is not a bad thing.
Guess it's a good thing you can fast-forward?
@@alexisfibonacci And I'm hilarious!
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.
@@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.