Giter Site home page Giter Site logo

gerty's Introduction

Gerty

An asynchronous, non-blocking, redis-powered queue worker written in C#.

About

Gerty is a library that asynchronously consumes a job queue hosted on redis, dispatching work items to custom handlers that you supply.

Goals

I had a few goals in mind when I set out to create Gerty:

  • Mono and Linux compatibile
  • Asynchronous, non-blocking and performant like node.js
  • Unlike node.js however, cleaner and more explicit code
  • Reentrant when individual jobs fail
  • Stable and clear handling of error conditions
  • Simple to integrate with other systems, no AMQP
  • Low operational and maintenance overhead
  • Reasonable duplicate work detection

Technical

Gerty leverages Redis' single threaded nature along with C# async/await mechanics to complete jobs as quickly as it can. Based on your architecture (multi-machine, multi-core), multiple instances of Gerty are also able to be pointed at the same namespace to handle more jobs at once.

I've chosen what I feel are the most pervasive tools for each concern, as a result Gerty depends on the following libraries:

If you feel like any of these can or should be abstracted away or has a superior alternative, feel free to let me know or send a pull request!

Using

I am in the process of getting Gerty set up as a NuGet package; Currently there is a known issue with creating packages from Linux which I would like to see addressed. This shouldn't however prevent you from checking out the code and building it yourself in the meantime, and once the nuget package is published, adding it to your project.

I also encourage you to vote for that issue and leave a comment until it is resolved.

Meta

License

This project is available under the Apache 2.0 license.

Contributing

If you're interested in making contributions to this project, feel free to send me a pull request. Don't forget to add yourself to the contributors.md file!

Credits

Like what you see? Have a question or suggestion? Feel free to get in touch, either via github or my profile.

Gerty is created by Alexander Trauzzi

gerty's People

Contributors

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