nuget / webbackgrounder Goto Github PK
View Code? Open in Web Editor NEWProof of concept of a web based background task manager that deals well with web farms/app shutdowns
License: Apache License 2.0
Proof of concept of a web based background task manager that deals well with web farms/app shutdowns
License: Apache License 2.0
Currently there's no license set in the root of this repo. I assume it should be Apache 2.0 since it's a NuGet project but it'd be helpful if it actually said that.
Any thoughts on adding events to the job class or something else, to be able to get progress or complete notifications? I have a job framework integrated w/ SignalR to notify the front end of progress and completion but I'm trying to swap it for this one to support a web farm environment.
I can put a pull together if interested.
Hi,
Thanks for the nifty library.
I am trying to implement this. My issue is that the timer doesn't start until there is a page request. In other words, if the application is restarted, the timer won't tick off unless a user hits the site.
Is there a way around this?
startMode="AlwaysRunning" is not an option for me as this is being run in a hosted environment.
Where is this 'WebActivator' dependency? I looked in nuget and found WebActivatorEx, but that's not the one used by the sample.
I have downloaded nuget to my project and it seems to work fine, but there is a warning, that there is no supported version for my project version.
Can you somehow make revision and make it .Net Core 3.x ready?
Thanks
We've seen a lot of errors showing up in our logs like this.
System.InvalidOperationException: The connection was not closed.
at System.Data.EntityClient.EntityConnection.Open()
at WebBackgrounder.EntityWorkItemRepository.RunInTransaction(Action query)
at WebBackgrounder.WebFarmJobCoordinator.ReserveWork(String workerId, IJob job)
at WebBackgrounder.WebFarmJobCoordinator.GetWork(IJob job)
at WebBackgrounder.JobManager.DoNextJob()
at WebBackgrounder.JobManager.OnTimerElapsed(Object sender)
If a task gets in a state where it's marked as active, but nothing is working on it, it'll effectively block anyone from working on it.
We need to detect this case and log an error. Also consider auto restarting such tasks based on past average task elapsed times.
This is a great package, but it's severely lacking in even the most basic level of documentation.
Yeah, the code is self-documenting for the standard use case, kind-of, but what about the non standard cases? What are the interval values? Can they be zero for single run background tasks? What's the timeout value? What should it be set to generally? Does it depend on the kind of task being run?
Don't make people dig through your code to understand how it works.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.