Giter Site home page Giter Site logo

marosvolgyiz / sn-taskmanagement Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sensenet/sn-taskmanagement

0.0 1.0 0.0 397 KB

A standalone .Net component for managing long-running background tasks in any application.

License: GNU General Public License v2.0

C# 60.85% CSS 0.08% TSQL 1.58% ASP 0.04% JavaScript 37.33% HTML 0.12%

sn-taskmanagement's Introduction

sensenet ECM Task Management

Join the chat at https://gitter.im/SenseNet/sn-taskmanagement NuGet

Task Management is a .Net component for managing long-running background tasks in any application. It is a robust and scalable solution that is extendable with 3rd party task executors designed for solving atomic background tasks (e.g. extracting a compressed file or generating preview images for a document).

  • Takes off the load from web servers (because they are for serving client requests, not for performing resource-heavy tasks).
  • Prevents the web process from crushing in case of 3rd party plugins (e.g. an out of memory issue with a text extractor tool should not kill the web process).
  • Fully scalable, as you can deploy any number of agent machines to be able to perform more tasks at the samwe time.
  • It is able to provide rich progress information about running tasks.

This project was developed as a supporting component for sensenet ECM, but can be used in conjunction with any application!

Overview

Task Management consists of the following subcomponents:

  1. Task Management web application: this is the central hub for registering tasks and performing callbacks when the execution is finished. When a task arrives, the web app notifies the agents (via SignalR) and lets one of them (the winner) take the new task.
  2. Agent: this is the process that will start the appropriate task executor plugin for a certain task.
  3. Executor: this is the command line tool that actually performs the task - e.g. checks a document for viruses. This is the main extensibility point: you can create a custom executor, deploy it into the appropriate folder and you can start registering your tasks right away.
  4. Service: a Windows service that keeps the configured number of agents (3 by default) alive. You can deploy any number of agent machines with this service, agent and executors installed.

Task Management architecture

Task Management does not contain any built-in task executors. It is only the framework that provides the environment for your custom task executors.

For details and extensibility points please visit the following articles.

sn-taskmanagement's People

Contributors

gitter-badger avatar herflis avatar marosvolgyiz avatar tusmester avatar vargajoe avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.