Giter Site home page Giter Site logo

djkianoosh / reactive-interaction-gateway Goto Github PK

View Code? Open in Web Editor NEW

This project forked from accenture/reactive-interaction-gateway

0.0 1.0 0.0 4.89 MB

Real-time UI events through CloudEvents subscriptions. Your UI deserves an API, too!

Home Page: https://accenture.github.io/reactive-interaction-gateway

License: Apache License 2.0

Elixir 90.91% Dockerfile 1.34% Smarty 0.20% Shell 1.76% Java 2.82% JavaScript 2.89% CSS 0.07%

reactive-interaction-gateway's Introduction

Logo

RIG - Reactive Interaction Gateway

The missing link between backend and frontend -- stop polling and go real-time!

Build Status

Take a look at the documentation and get in touch with us on Slack!

What does it solve?

  • Let RIG take care of client connection state so you don't have to.
  • Send events to RIG and have them forwarded to clients based on their event subscriptions.
  • Use RIG to forward client requests to backend services.

Built on open standards, RIG is very easy to integrate – and easy to replace – which means low-cost, low-risk adoption. Unlike other solutions, RIG does not leak into your application – no libraries or SDKs required.

For more details take a look at the documentation.

Feature Summary

  • Easy to use and scalable by design:
    • Supports tens of thousands stable connections per node even on low-end machines.
    • Easy to add additional nodes.
    • Built on the battle-proven Erlang/OTP distribution model.
    • Only uses in-memory data structures - no external dependencies to configure or scale.
  • Firewall friendly and future proof using Server-Sent Events (SSE):
    • HTML5 standard.
    • Regular HTTP requests, so no issues with proxy servers or firewalls.
    • Connection multiplexing with HTTP/2 out of the box.
    • SSE implementation (browser) keeps track of connection drops and restores the connection automatically.
    • Polyfills available for older browsers.
  • WebSocket connections are supported, too.
  • Uses the upcoming CloudEvents specification.
  • Flexible event subscription model based on event types.
  • Use existing services for authentication and authorization of users and subscriptions.
  • JWT signature verification for APIs as a simple authentication check.
  • Session blacklist with immediate session invalidation.

Getting Started

Take a look at the getting-started tutorial.

API Documentation

RIG exposes its API documentation on its API endpoint under /swagger-ui. For integration into an existing swagger UI, the related JSON document can either be retrieved at runtime or found on disk after compiling RIG at least once.

Metrics

RIG exposes Metrics in Prometheus format on its API endpoint under /metrics

Contribute

  • Use issues for everything.
  • For a small change, just send a PR.
  • For bigger changes open an issue for discussion before sending a PR.
  • PR should have:
    • Test case
    • Documentation (e.g., moduledoc, developer's guide, operator's guide)
    • Changelog entry
  • You can also contribute by:
    • Reporting issues
    • Suggesting new features or enhancements
    • Improve/fix documentation

See the developer's guide and CONTRIBUTING.md for details.

License

The Reactive Interaction Gateway (patent: granted) is licensed under the Apache License 2.0 - see LICENSE for details.

Acknowledgments

The Reactive Interaction Gateway is sponsored and maintained by Accenture.

Kudos to these awesome projects:

  • Elixir
  • Erlang/OTP
  • Phoenix Framework
  • Brod
  • Distillery

.

reactive-interaction-gateway's People

Contributors

kevinbader avatar mmacai avatar jakobwgnr avatar lofim avatar pavestru avatar gonzochic avatar ionelaluncanuaccenture avatar kramos avatar urnamma avatar arthurjordao avatar igorlacik avatar skariyania avatar johnrkriter avatar

Watchers

James Cloos 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.