Code Monkey home page Code Monkey logo

junglebus's People

Contributors

rfleming71 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

junglebus's Issues

Support configuring the retry settings

Currently the code is hard coded to 5 retries per message and uses the default retry interval of 30 seconds. Both of these settings need to have support for configuration.

Support Exponential backoff on empty recieve

When the bus returns 0 messages, we should delay for a given amount of time before checking again. Right now the long polling returns every 14 seconds. This should reduce the number of empty sqs hits.

SQS can receive multiple messages

The SqsQueue is configured to receive up to 10 messages at a time. This can cause issues with the visibility timeout for the messages. If the first few messages take longer than the timeout, the later messages will re-enter the queue and be double processed.
For now the easy solution to to change the max receive to 1.

Update to use JungleQueue

The queuing portion of the bus has been forked off into the JungleQueue project. JungleBus should be updated to rely on the JungleQueue package.

Support configuring SQS queue retention time

Currently both the input queue and dead letter queue are hard coded to have a message retention period of 14 days. This should be split out into settings that can be configured.

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.