Giter Site home page Giter Site logo

queue-are-you's Introduction

Objectives

  1. -Manage connections & channels across queues-
  2. -standardise on async/await, try/catch-
  3. make routing configuration easy
  4. message handlers should be small functions
    1. should receive a message
    2. return void
    3. they should raise on failure to process messages - this should terminate the message flow
    4. hooks to forward new messages to one or more queues
      1. the configuration should be external to the handler function
  5. assert exchanges / queues exist and are configured
  6. pub / sub not rpc
  7. testable
  8. readable
  9. observable

Use cases

  1. filter a general queue and push valid messages on to a work queue // <- simplest usecase
  2. from work queue route to handler queues for different types of events (e.g. reponse / error from 3rd party) // config heavy
  3. delay and reprocess // config light

queue-are-you's People

Contributors

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