Coder Social home page Coder Social logo

nearest-prime's Introduction

Application Interconnect Multi-Site Load Balancing Demonstration

Overview

This project demonstrates how Red Hat Application Interconnect (RHAI) can be used to integrate databases and client applications with globally distributed services. The demonstration highlights some important characteristics of RHAI such as:

  1. Integration of VM or bare metal-hosted databases with Kubernetes-based applications.
  2. Simplified multi-site application integration.
  3. Geolocation hosting flexibility
  4. Global cost-based routing

Note: Red Hat Application Interconnect is based on the updstream opensource project Skupper.

The project deploys a database on to a bare metal serer (your laptop), and a front end that is globally distributed across two OpenShift clusters. The final component is a work scheduler/load generator that you will run manually on your laptop. (Note: You could easily extend this to use a second VM.) The load generator is controlled via curl requests.

The load generator requests the front end to calculate a nearest prime number to the number that is supplied. The front end then updates the on-premises database with the result. Prime numbers were chosen because the calculation can vary from very fast to being very computationally intensive. This introduces some randomness in the front-end's response time and thus demonstrates some important load balancing features of RHAI.

drawing

REVISIT: Update diagram

Table of Contents

Overview of this project

Database Setup

Demo script

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.