© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
1 reply
Alex

✅ Should I create single or multiple background services

I need to fetch the same data in background service. I need to fetch it and store to cache every 5 minutes and every 60 minutes to mongodb. Should I create one background service that runs every 5 minutes and count when it runs 12 times (60 minutes) to store data to mongodb or create a separate background service that runs every 60 minutes?
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Scaling Background Services !
C#CC# / help
2y ago
Notifications and Background services
C#CC# / help
2y ago
Background services with parameters
C#CC# / help
4y ago
❔ I need help to create Single Installation File from multiple WPF Projects
C#CC# / help
3y ago