GithubHelp home page GithubHelp logo

rush's Introduction

Rush Build Status Dependency Status

  • Would you like to make effortless Async HTTP request?
  • Do yo want to track the state of your relayed requests?
  • Add automatic retransmissions/retries of your request?
  • Do you need callbacks when your request is finished?
  • Keep an historic record of custom information related to the request?

Rush implements an scalable mechanism to provide such functionality, with minor client impact (Header stamping HTTP API).

Rush has been developed using:

WebStorm

Ask us for your OpenSource License

Still interested?, visit our WIKI and DOCS section.

rush's People

Contributors

copitux avatar davidbr91 avatar dmoranj avatar fgodino avatar

Stargazers

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

Watchers

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

rush's Issues

Enable GRE-Tunneling

Rush should be configured with a list of avaliable tunnels, and a dispatching mechanism based on TOPIC Header F(topic)->tunnel

Odd behaviour when MongoDB is not running

When MongoDB is not running if a listener and a consumer are launched, they don't die but request are not processed. Request are only processed when MongoDB is up when the consumer and the listener are being launched even though MongoDB dies later.

add file header

//
// Copyright (c) Telefonica I+D. All rights reserved.
//
//

at least

Inconsistent 'resultOk'

When a petition is completed, the type of "resultOk" is different depending on the policy specified. resultOk is a "string" ("true" or "false") when a persistence policy is specified. resultOk is a boolean (true or false) when a callback policy is specified.
Exactly the same happens with the field "statusCode". It's a number when a callback policy is specified but a string when a persistence policy is specified.

Demo for TechReview

Think about some demo:

Command line demo || UseCase Demo || Performance Demo

We must show "software"

Inconsistent header field

The header field has a different type depending on the applied policy. If HTTPCallback policy is applied, the header field is an object while if persistence policy is applied, the header field is a string. Example:
HTTPCallBack: "headers":{"content-type":"application/json","personal-header-1":"TEST1","personal-header-2":"TEST2","host":"localhost:8014","connection":"keep-alive","transfer-encoding":"chunked"}
Persistence: {"headers":"{"content-type":"application/json","personal-header-1":"TEST1","personal-header-2":"TEST2","host":"localhost:8014","connection":"keep-alive","transfer-encoding":"chunked"}

Add retry policy support

RETRY a Relay

Options

X-Relayer-retry=4 (consecutives retries)
X-Relayer-retry=[2,10,5000,5002](retry in ms)

Multicast policy

Basic Flavour

Extended Multicast may require a new worker type

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.