Code Monkey home page Code Monkey logo

postman's People

Contributors

rgamba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

hadokencode

postman's Issues

Add async http requests

Add a feature where an http request that doesn't need immediate response gets the response back via a webhook.
We need to add a parameter webhook_url to the request message or something. Maybe via a request header or a get parameter?

Health check fwd_host

Health check the fwd host. Add the following parameters to the config file:

[http.forward]
host = "" # fwd_host instead of fwd_host

[http.forward.health_check]
interval = 5 # Interval in seconds
url = "/" # Relative to host
threshold = 3 # Consecutive healthy/unhealthy checks to flag the host as active/inactive
max_execution_time = 5 # Above this response time (in seconds), we'll consider it a failed check

If an instance is unhealthy, we need to either:

  1. Stop consuming new messages from the service request queue, or
  2. When a new request gets routed our way, we'll:
    IF the AMQP header unhealthy_count exists and it is >= 3, THEN we'll return a no_available_instances error to the response_queue
    ELSE, create or increment the unhealthy_count AMQP header by 1 and put the message back in the request queue so other instances can process it.

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.