Coder Social home page Coder Social logo

nframework.taskhandler's Introduction

NFramework.TaskHandler

基于消息队列的任务处理框架(待完成)

背景

ERP:

  • 大数据量
  • 批量操作
  • 特定组织之间无关联,操作无影响
  • 同一组织机构操作需顺序执行,以保证结果的正确性

基于此背景开发此任务处理框架(或者叫消息处理框架)

框架时序图

框架时序图

架构图

框架架构图

框架特点

  • 可水平扩展
  • 单队列无并发
  • 开发方便,不需要线程知识也能开发多线程处理程序
  • 无特定依赖(目前只强依赖log4net,后面解耦)
  • 提供Redis队列实现
  • 路由机制(可自定义路由规则)

ToDO

  • log4net解耦
  • TaskQueueCount、TaskQueueType以及RedisAppName 整合为Setting,每个单独任务 有单独的Setting
  • 文档整理

nframework.taskhandler's People

Contributors

hzy19860111 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.